Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001781/0.001781, allocations: 101.5 kB / 19.73 MB, free: 2.23 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002269/0.002269, allocations: 217.5 kB / 23.04 MB, free: 5.074 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.494/1.494, allocations: 230.6 MB / 256.8 MB, free: 7.992 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.746/2.746, allocations: 476.7 MB / 0.7714 GB, free: 4.297 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Lighting_Validation_Reinhart2003Light",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Lighting_Validation_Reinhart2003Light",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002026/0.002026, allocations: 64.94 kB / 1.118 GB, free: 39.82 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3267/0.3288, allocations: 170 MB / 1.284 GB, free: 11.64 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light): time 0.004543/0.3333, allocations: 1.581 MB / 1.286 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002837/0.3361, allocations: 0.8664 MB / 1.287 GB, free: 9.176 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.286e-05/0.3362, allocations: 3.938 kB / 1.287 GB, free: 9.172 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 4.34e-05/0.3363, allocations: 3.938 kB / 1.287 GB, free: 9.168 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.000138/0.3364, allocations: 19.81 kB / 1.287 GB, free: 9.148 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001106/0.3375, allocations: 163.5 kB / 1.287 GB, free: 8.988 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002465/0.3378, allocations: 103.6 kB / 1.287 GB, free: 8.887 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001154/0.3379, allocations: 11.94 kB / 1.287 GB, free: 8.875 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00023/0.3381, allocations: 51.77 kB / 1.287 GB, free: 8.824 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001523/0.3383, allocations: 55.75 kB / 1.287 GB, free: 8.77 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.56e-05/0.3383, allocations: 8 kB / 1.287 GB, free: 8.762 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000513/0.3388, allocations: 143.8 kB / 1.287 GB, free: 8.621 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 5.953e-05/0.3389, allocations: 23.92 kB / 1.287 GB, free: 8.598 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001043/0.339, allocations: 51.77 kB / 1.287 GB, free: 8.547 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0004748/0.3394, allocations: 183.7 kB / 1.287 GB, free: 8.371 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.3395, allocations: 0 / 1.287 GB, free: 8.371 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.522e-06/0.3395, allocations: 0 / 1.287 GB, free: 8.371 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.624e-06/0.3395, allocations: 0 / 1.287 GB, free: 8.371 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.001294/0.3408, allocations: 440.8 kB / 1.288 GB, free: 7.895 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.757e-05/0.3408, allocations: 8.031 kB / 1.288 GB, free: 7.887 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.304e-05/0.3408, allocations: 192 / 1.288 GB, free: 7.887 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.076e-05/0.3409, allocations: 46.73 kB / 1.288 GB, free: 7.832 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005119/0.3414, allocations: 32.86 kB / 1.288 GB, free: 7.801 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003696/0.3418, allocations: 140.9 kB / 1.288 GB, free: 7.641 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.627e-05/0.3418, allocations: 8.125 kB / 1.288 GB, free: 7.633 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.148e-05/0.3418, allocations: 7.984 kB / 1.288 GB, free: 7.625 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002933/0.3421, allocations: 77.64 kB / 1.288 GB, free: 7.543 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.116e-05/0.3421, allocations: 0 / 1.288 GB, free: 7.543 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.708e-05/0.3421, allocations: 0 / 1.288 GB, free: 7.543 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.48e-06/0.3422, allocations: 4 kB / 1.288 GB, free: 7.539 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002301/0.3424, allocations: 55.91 kB / 1.288 GB, free: 7.484 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008383/0.3432, allocations: 307.7 kB / 1.288 GB, free: 7.141 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003685/0.3436, allocations: 86.69 kB / 1.288 GB, free: 7.047 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001556/0.3437, allocations: 40.83 kB / 1.288 GB, free: 7.004 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.256e-05/0.3438, allocations: 0 / 1.288 GB, free: 7.004 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003554/0.3441, allocations: 95.36 kB / 1.289 GB, free: 6.898 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=11): time 2.225e-06/0.3441, allocations: 0 / 1.289 GB, free: 6.898 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11): time 0.0007756/0.3449, allocations: 169.5 kB / 1.289 GB, free: 6.727 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.852e-05/0.345, allocations: 67.33 kB / 1.289 GB, free: 6.648 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002249/0.3452, allocations: 156.7 kB / 1.289 GB, free: 6.488 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.714e-05/0.3452, allocations: 29.7 kB / 1.289 GB, free: 6.453 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 9.703e-05/0.3453, allocations: 96.12 kB / 1.289 GB, free: 6.355 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 6.024e-05/0.3454, allocations: 35.67 kB / 1.289 GB, free: 6.32 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.729e-05/0.3455, allocations: 29.7 kB / 1.289 GB, free: 6.285 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0002194/0.3457, allocations: 326.8 kB / 1.289 GB, free: 5.957 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000143/0.3459, allocations: 27.97 kB / 1.289 GB, free: 5.93 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001998/0.3461, allocations: 69.14 kB / 1.29 GB, free: 5.844 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003718/0.3464, allocations: 109.1 kB / 1.29 GB, free: 5.719 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.3464, allocations: 0 / 1.29 GB, free: 5.719 MB / 0.9825 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005543/0.347, allocations: 133.5 kB / 1.29 GB, free: 5.582 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.292e-05/0.347, allocations: 8 kB / 1.29 GB, free: 5.574 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.097e-05/0.347, allocations: 3.984 kB / 1.29 GB, free: 5.57 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.27e-05/0.347, allocations: 7.938 kB / 1.29 GB, free: 5.562 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002039/0.3472, allocations: 27.86 kB / 1.29 GB, free: 5.535 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.335e-05/0.3473, allocations: 3.984 kB / 1.29 GB, free: 5.531 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001847/0.3474, allocations: 16.05 kB / 1.29 GB, free: 5.516 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.892e-05/0.3475, allocations: 7.984 kB / 1.29 GB, free: 5.508 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 11 (lig.curSeed,$PRE.lig.curSeed,lig.on,$PRE.lig.on,$whenCondition3,lig.sampleTrigger,$whenCondition2,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,booleanPulse.y,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001872/0.3477, allocations: 129.7 kB / 1.29 GB, free: 5.371 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.43e-05/0.3477, allocations: 7.953 kB / 1.29 GB, free: 5.363 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006635/0.3484, allocations: 170.2 kB / 1.29 GB, free: 5.191 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.635e-06/0.3484, allocations: 4.078 kB / 1.29 GB, free: 5.188 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.398e-06/0.3484, allocations: 3.984 kB / 1.29 GB, free: 5.184 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.127e-06/0.3484, allocations: 8 kB / 1.29 GB, free: 5.176 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001127/0.3495, allocations: 425.5 kB / 1.291 GB, free: 4.711 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.023e-06/0.3495, allocations: 3.938 kB / 1.291 GB, free: 4.707 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001515/0.3497, allocations: 15.98 kB / 1.291 GB, free: 4.691 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 5e-06/0.3497, allocations: 0 / 1.291 GB, free: 4.691 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.552e-05/0.3497, allocations: 4 kB / 1.291 GB, free: 4.688 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.543e-06/0.3497, allocations: 3.938 kB / 1.291 GB, free: 4.684 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.3497, allocations: 0 / 1.291 GB, free: 4.684 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006414/0.3504, allocations: 247.4 kB / 1.291 GB, free: 4.426 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.565e-05/0.3504, allocations: 19.88 kB / 1.291 GB, free: 4.406 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.073e-05/0.3504, allocations: 0 / 1.291 GB, free: 4.406 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002257/0.3507, allocations: 7.984 kB / 1.291 GB, free: 4.398 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.097e-05/0.3507, allocations: 15.98 kB / 1.291 GB, free: 4.383 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.049e-05/0.3508, allocations: 4 kB / 1.291 GB, free: 4.379 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001311/0.3509, allocations: 111.2 kB / 1.291 GB, free: 4.27 MB / 0.9825 GB Notification: Performance of sort global known variables: time 2e-07/0.3509, allocations: 0 / 1.291 GB, free: 4.27 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0006099/0.3515, allocations: 47.88 kB / 1.291 GB, free: 4.223 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 8 (booleanPulse.y,lig.sampleTrigger,$whenCondition3,$whenCondition2,$whenCondition1,lig.on,lig.curSeed,booleanPulse.pulseStart) * Number of discrete states: 1 (lig.on) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001664/0.3532, allocations: 0.86 MB / 1.292 GB, free: 3.355 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004467/0.3536, allocations: 91.89 kB / 1.292 GB, free: 3.266 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.3536, allocations: 0 / 1.292 GB, free: 3.266 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.000223/0.3538, allocations: 47.91 kB / 1.292 GB, free: 3.219 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005633/0.3544, allocations: 26.8 kB / 1.292 GB, free: 3.195 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00327/0.3577, allocations: 1.687 MB / 1.294 GB, free: 1.398 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004721/0.3582, allocations: 0.708 MB / 1.294 GB, free: 0.6641 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 8.097e-05/0.3582, allocations: 8.484 kB / 1.294 GB, free: 0.6562 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001166/0.3583, allocations: 43.42 kB / 1.294 GB, free: 0.6172 MB / 0.9825 GB Notification: Performance of SimCode: time 7.32e-07/0.3583, allocations: 0 / 1.294 GB, free: 0.6172 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03125/0.3896, allocations: 3.706 MB / 1.298 GB, free: 13.07 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.43/11.82, allocations: 12.67 kB / 1.298 GB, free: 13.06 MB / 0.9981 GB " [Timeout remaining time 287] (rm -f Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light_res.mat --tempDir=temp_Buildings_11_Buildings_Occupants_Office_Lighting_Validation_Reinhart2003Light_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Occupants_Office_Lighting_Validation_Reinhart2003Light.fmu > Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 18.488432334037498] Failed to read output from testmodel.py, exit status != 0: 12.507325113983825 11.997569659 11.654415202000001 Calling exit ...