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.001898/0.001898, allocations: 117.1 kB / 17.16 MB, free: 5.895 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.002247/0.002247, allocations: 215 kB / 20.13 MB, free: 2.949 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.513/1.513, allocations: 230.6 MB / 253.5 MB, free: 15.1 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.845/2.845, allocations: 476.7 MB / 0.7678 GB, free: 9.379 MB / 0.6075 GB " [Timeout remaining time 176] 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.002389/0.002389, allocations: 63.91 kB / 1.113 GB, free: 15.9 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9898/0.9922, allocations: 169.9 MB / 1.279 GB, free: 11.75 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light): time 0.002881/0.995, allocations: 1.574 MB / 1.28 GB, free: 10.65 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001604/0.9966, allocations: 0.8677 MB / 1.281 GB, free: 10.06 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.875e-05/0.9967, allocations: 1.125 kB / 1.281 GB, free: 10.06 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.322e-05/0.9967, allocations: 9.141 kB / 1.281 GB, free: 10.05 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001049/0.9968, allocations: 20.11 kB / 1.281 GB, free: 10.04 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005723/0.9974, allocations: 149.4 kB / 1.281 GB, free: 9.965 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001557/0.9976, allocations: 100.2 kB / 1.282 GB, free: 9.918 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.932e-05/0.9977, allocations: 15.83 kB / 1.282 GB, free: 9.91 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001477/0.9978, allocations: 47.94 kB / 1.282 GB, free: 9.891 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 9.956e-05/0.9979, allocations: 53.34 kB / 1.282 GB, free: 9.863 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.905e-05/0.9979, allocations: 11.78 kB / 1.282 GB, free: 9.859 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002828/0.9982, allocations: 114.1 kB / 1.282 GB, free: 9.828 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 3.622e-05/0.9982, allocations: 17.36 kB / 1.282 GB, free: 9.82 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 8.038e-05/0.9983, allocations: 47.31 kB / 1.282 GB, free: 9.789 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003623/0.9987, allocations: 183.8 kB / 1.282 GB, free: 9.719 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.9987, allocations: 0.5 kB / 1.282 GB, free: 9.719 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.124e-06/0.9987, allocations: 0.5 kB / 1.282 GB, free: 9.719 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.012e-06/0.9987, allocations: 3.938 kB / 1.282 GB, free: 9.715 MB / 0.9981 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.000893/0.9996, allocations: 0.5066 MB / 1.283 GB, free: 9.211 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.543e-05/0.9996, allocations: 9 kB / 1.283 GB, free: 9.211 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.467e-05/0.9996, allocations: 2.156 kB / 1.283 GB, free: 9.211 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.89e-05/0.9997, allocations: 42.67 kB / 1.283 GB, free: 9.164 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003063/1, allocations: 31.91 kB / 1.283 GB, free: 9.16 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002652/1, allocations: 196.4 kB / 1.283 GB, free: 8.949 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.6e-05/1, allocations: 14.41 kB / 1.283 GB, free: 8.938 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.375e-05/1, allocations: 4.562 kB / 1.283 GB, free: 8.938 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000207/1.001, allocations: 81.81 kB / 1.283 GB, free: 8.891 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.216e-06/1.001, allocations: 0 / 1.283 GB, free: 8.891 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.627e-05/1.001, allocations: 4.75 kB / 1.283 GB, free: 8.887 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.209e-06/1.001, allocations: 1.469 kB / 1.283 GB, free: 8.887 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000162/1.001, allocations: 46.58 kB / 1.283 GB, free: 8.875 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006082/1.001, allocations: 340.6 kB / 1.283 GB, free: 8.566 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002244/1.002, allocations: 76.92 kB / 1.283 GB, free: 8.523 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.703e-05/1.002, allocations: 32.86 kB / 1.283 GB, free: 8.508 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.784e-05/1.002, allocations: 1.312 kB / 1.283 GB, free: 8.508 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002077/1.002, allocations: 105 kB / 1.283 GB, free: 8.438 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=11): time 1.503e-06/1.002, allocations: 0 / 1.283 GB, free: 8.438 MB / 0.9981 GB Notification: Performance of matching and sorting (n=11): time 0.0004978/1.002, allocations: 175.5 kB / 1.284 GB, free: 8.359 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.348e-05/1.002, allocations: 58.28 kB / 1.284 GB, free: 8.293 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001406/1.003, allocations: 143.7 kB / 1.284 GB, free: 8.18 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.304e-05/1.003, allocations: 32.17 kB / 1.284 GB, free: 8.145 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 7.303e-05/1.003, allocations: 101.9 kB / 1.284 GB, free: 8.047 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.468e-05/1.003, allocations: 33.84 kB / 1.284 GB, free: 8.02 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.31e-05/1.003, allocations: 32.62 kB / 1.284 GB, free: 7.996 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001766/1.003, allocations: 329.8 kB / 1.284 GB, free: 7.672 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.938e-05/1.003, allocations: 32.66 kB / 1.284 GB, free: 7.66 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001264/1.003, allocations: 68.14 kB / 1.284 GB, free: 7.602 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001979/1.003, allocations: 110.7 kB / 1.285 GB, free: 7.52 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/1.003, allocations: 1 kB / 1.285 GB, free: 7.52 MB / 0.9981 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002831/1.004, allocations: 136.2 kB / 1.285 GB, free: 7.453 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.517e-05/1.004, allocations: 8.906 kB / 1.285 GB, free: 7.449 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.091e-06/1.004, allocations: 2.562 kB / 1.285 GB, free: 7.449 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.53e-05/1.004, allocations: 3.125 kB / 1.285 GB, free: 7.449 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001149/1.004, allocations: 27.36 kB / 1.285 GB, free: 7.438 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.634e-06/1.004, allocations: 3.297 kB / 1.285 GB, free: 7.438 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001088/1.004, allocations: 16.91 kB / 1.285 GB, free: 7.43 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.757e-05/1.004, allocations: 9.688 kB / 1.285 GB, free: 7.426 MB / 0.9981 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.0001124/1.004, allocations: 119 kB / 1.285 GB, free: 7.309 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.574e-05/1.004, allocations: 13.3 kB / 1.285 GB, free: 7.301 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003972/1.004, allocations: 172.3 kB / 1.285 GB, free: 7.215 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.953e-06/1.004, allocations: 5.281 kB / 1.285 GB, free: 7.211 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.509e-06/1.004, allocations: 2.453 kB / 1.285 GB, free: 7.211 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/1.004, allocations: 4.547 kB / 1.285 GB, free: 7.207 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006895/1.005, allocations: 464 kB / 1.285 GB, free: 6.844 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/1.005, allocations: 7.938 kB / 1.285 GB, free: 6.836 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.524e-05/1.005, allocations: 14.89 kB / 1.286 GB, free: 6.836 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/1.005, allocations: 0 / 1.286 GB, free: 6.836 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.492e-05/1.005, allocations: 3.875 kB / 1.286 GB, free: 6.836 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.442e-06/1.005, allocations: 0 / 1.286 GB, free: 6.836 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.345e-06/1.005, allocations: 1.797 kB / 1.286 GB, free: 6.836 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003805/1.006, allocations: 251 kB / 1.286 GB, free: 6.66 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.697e-05/1.006, allocations: 88.83 kB / 1.286 GB, free: 6.559 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.556e-05/1.006, allocations: 5.859 kB / 1.286 GB, free: 6.555 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001403/1.006, allocations: 12.56 kB / 1.286 GB, free: 6.551 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.983e-05/1.006, allocations: 9 kB / 1.286 GB, free: 6.551 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.95e-05/1.006, allocations: 6.375 kB / 1.286 GB, free: 6.551 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 9.284e-05/1.006, allocations: 108.1 kB / 1.286 GB, free: 6.469 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/1.006, allocations: 0 / 1.286 GB, free: 6.469 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003548/1.006, allocations: 49.09 kB / 1.286 GB, free: 6.457 MB / 0.9981 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.0009765/1.007, allocations: 0.8612 MB / 1.287 GB, free: 5.719 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002738/1.008, allocations: 95.23 kB / 1.287 GB, free: 5.691 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/1.008, allocations: 0 / 1.287 GB, free: 5.691 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001259/1.008, allocations: 47.34 kB / 1.287 GB, free: 5.68 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000321/1.008, allocations: 21.88 kB / 1.287 GB, free: 5.672 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002075/1.01, allocations: 1.698 MB / 1.289 GB, free: 4.23 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003506/1.011, allocations: 0.7027 MB / 1.289 GB, free: 3.531 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 5.291e-05/1.011, allocations: 10.25 kB / 1.289 GB, free: 3.531 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.906e-05/1.011, allocations: 35.61 kB / 1.289 GB, free: 3.508 MB / 0.9981 GB Notification: Performance of SimCode: time 3.01e-07/1.011, allocations: 0 / 1.289 GB, free: 3.508 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02193/1.033, allocations: 3.561 MB / 1.293 GB, free: 2.93 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.905/9.938, allocations: 19.3 kB / 1.293 GB, free: 2.918 MB / 0.9981 GB " [Timeout remaining time 290] (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: 16.183270331006497] Failed to read output from testmodel.py, exit status != 0: 10.069888007012196 10.088094552 9.086094516 Calling exit ...