Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.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.001658/0.001658, allocations: 116.1 kB / 17.17 MB, free: 6 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.001753/0.001753, allocations: 209.6 kB / 20.13 MB, free: 3.055 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.545/1.545, allocations: 230.6 MB / 253.5 MB, free: 15.11 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.948/2.948, allocations: 476.7 MB / 0.7678 GB, free: 9.375 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.Love1998Light1,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Lighting_Validation_Love1998Light1",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Lighting.Validation.Love1998Light1,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Lighting_Validation_Love1998Light1",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.002061/0.002061, allocations: 71.89 kB / 1.113 GB, free: 15.88 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9586/0.9606, allocations: 169.9 MB / 1.279 GB, free: 11.75 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Love1998Light1): time 0.003172/0.9638, allocations: 1.536 MB / 1.28 GB, free: 10.68 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001771/0.9656, allocations: 0.857 MB / 1.281 GB, free: 10.09 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.188e-05/0.9657, allocations: 1.125 kB / 1.281 GB, free: 10.09 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.478e-05/0.9657, allocations: 9.422 kB / 1.281 GB, free: 10.09 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001049/0.9658, allocations: 15.44 kB / 1.281 GB, free: 10.07 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006461/0.9664, allocations: 141.6 kB / 1.281 GB, free: 10 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001667/0.9666, allocations: 90.78 kB / 1.281 GB, free: 9.961 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.37e-05/0.9667, allocations: 14.14 kB / 1.282 GB, free: 9.953 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001526/0.9668, allocations: 40.94 kB / 1.282 GB, free: 9.938 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 8.555e-05/0.9669, allocations: 45.33 kB / 1.282 GB, free: 9.914 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.618e-05/0.967, allocations: 6.281 kB / 1.282 GB, free: 9.914 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002964/0.9673, allocations: 117 kB / 1.282 GB, free: 9.879 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 3.835e-05/0.9673, allocations: 24.58 kB / 1.282 GB, free: 9.863 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 6.377e-05/0.9674, allocations: 32.64 kB / 1.282 GB, free: 9.844 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003778/0.9677, allocations: 158.4 kB / 1.282 GB, free: 9.789 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.9677, allocations: 0.5625 kB / 1.282 GB, free: 9.789 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.533e-06/0.9677, allocations: 0.5 kB / 1.282 GB, free: 9.789 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 7.023e-06/0.9677, allocations: 4.609 kB / 1.282 GB, free: 9.785 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0008767/0.9686, allocations: 473.6 kB / 1.282 GB, free: 9.32 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.03e-05/0.9687, allocations: 10.53 kB / 1.282 GB, free: 9.32 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.84e-05/0.9687, allocations: 1.188 kB / 1.282 GB, free: 9.32 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.449e-05/0.9687, allocations: 41.52 kB / 1.282 GB, free: 9.273 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003125/0.9691, allocations: 28.62 kB / 1.282 GB, free: 9.27 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000284/0.9693, allocations: 193.7 kB / 1.283 GB, free: 9.059 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.522e-05/0.9694, allocations: 2.719 kB / 1.283 GB, free: 9.059 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.979e-05/0.9694, allocations: 9.875 kB / 1.283 GB, free: 9.055 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002007/0.9696, allocations: 71.08 kB / 1.283 GB, free: 9.012 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.718e-06/0.9696, allocations: 0 / 1.283 GB, free: 9.012 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.581e-05/0.9696, allocations: 6.062 kB / 1.283 GB, free: 9.008 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.409e-06/0.9696, allocations: 5.188 kB / 1.283 GB, free: 9.004 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001397/0.9697, allocations: 37.52 kB / 1.283 GB, free: 8.996 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007697/0.9705, allocations: 327.6 kB / 1.283 GB, free: 8.691 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002078/0.9707, allocations: 60.41 kB / 1.283 GB, free: 8.652 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.573e-05/0.9708, allocations: 30.86 kB / 1.283 GB, free: 8.637 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.075e-05/0.9708, allocations: 5.422 kB / 1.283 GB, free: 8.633 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002044/0.971, allocations: 96.62 kB / 1.283 GB, free: 8.566 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=10): time 1.573e-06/0.971, allocations: 0 / 1.283 GB, free: 8.566 MB / 0.9981 GB Notification: Performance of matching and sorting (n=10): time 0.0004397/0.9715, allocations: 157.3 kB / 1.283 GB, free: 8.496 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.394e-05/0.9715, allocations: 54.44 kB / 1.283 GB, free: 8.434 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000134/0.9717, allocations: 132.8 kB / 1.284 GB, free: 8.32 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.512e-05/0.9717, allocations: 27.7 kB / 1.284 GB, free: 8.289 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 6.896e-05/0.9718, allocations: 100.8 kB / 1.284 GB, free: 8.188 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.191e-05/0.9718, allocations: 21.59 kB / 1.284 GB, free: 8.172 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.871e-05/0.9719, allocations: 31.83 kB / 1.284 GB, free: 8.148 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001457/0.972, allocations: 324.8 kB / 1.284 GB, free: 7.828 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.481e-05/0.9721, allocations: 30.23 kB / 1.284 GB, free: 7.816 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001127/0.9722, allocations: 70.58 kB / 1.284 GB, free: 7.758 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001877/0.9724, allocations: 104.1 kB / 1.284 GB, free: 7.68 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.9724, allocations: 1.312 kB / 1.284 GB, free: 7.68 MB / 0.9981 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002634/0.9727, allocations: 136.6 kB / 1.284 GB, free: 7.605 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.431e-05/0.9727, allocations: 7.078 kB / 1.284 GB, free: 7.605 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.9727, allocations: 1.094 kB / 1.284 GB, free: 7.605 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.644e-05/0.9727, allocations: 2.469 kB / 1.284 GB, free: 7.605 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001157/0.9728, allocations: 19.22 kB / 1.284 GB, free: 7.602 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.915e-06/0.9728, allocations: 2.141 kB / 1.284 GB, free: 7.602 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001109/0.9729, allocations: 21.28 kB / 1.284 GB, free: 7.59 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.843e-05/0.9729, allocations: 9.188 kB / 1.284 GB, free: 7.586 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,occ.pulseStart,$PRE.occ.pulseStart,occ.y,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0001101/0.9731, allocations: 127.9 kB / 1.285 GB, free: 7.461 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.35e-05/0.9731, allocations: 8.828 kB / 1.285 GB, free: 7.457 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003417/0.9734, allocations: 145.5 kB / 1.285 GB, free: 7.383 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/0.9734, allocations: 1.406 kB / 1.285 GB, free: 7.383 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.9734, allocations: 1.312 kB / 1.285 GB, free: 7.383 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.202e-06/0.9734, allocations: 1.219 kB / 1.285 GB, free: 7.383 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006713/0.9741, allocations: 439.3 kB / 1.285 GB, free: 7.02 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.9741, allocations: 1.406 kB / 1.285 GB, free: 7.02 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.747e-05/0.9742, allocations: 9.906 kB / 1.285 GB, free: 7.02 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.9742, allocations: 1.312 kB / 1.285 GB, free: 7.02 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.295e-05/0.9742, allocations: 2.719 kB / 1.285 GB, free: 7.02 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.851e-06/0.9742, allocations: 6.266 kB / 1.285 GB, free: 7.016 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.9742, allocations: 3.938 kB / 1.285 GB, free: 7.012 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003472/0.9745, allocations: 238.4 kB / 1.285 GB, free: 6.836 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.291e-05/0.9746, allocations: 84.36 kB / 1.285 GB, free: 6.738 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.313e-05/0.9746, allocations: 2.219 kB / 1.285 GB, free: 6.738 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000123/0.9747, allocations: 12.06 kB / 1.285 GB, free: 6.734 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.253e-05/0.9748, allocations: 13.62 kB / 1.286 GB, free: 6.73 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.804e-05/0.9748, allocations: 5.047 kB / 1.286 GB, free: 6.73 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 7.228e-05/0.9749, allocations: 102.3 kB / 1.286 GB, free: 6.648 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/0.9749, allocations: 0 / 1.286 GB, free: 6.648 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.000344/0.9752, allocations: 41.06 kB / 1.286 GB, free: 6.641 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 (occ.y,lig.sampleTrigger,$whenCondition3,$whenCondition2,$whenCondition1,lig.on,lig.curSeed,occ.pulseStart) * Number of discrete states: 1 (lig.on) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 9 * 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.0009558/0.9762, allocations: 0.8241 MB / 1.286 GB, free: 5.926 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002534/0.9764, allocations: 81.41 kB / 1.287 GB, free: 5.902 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.9764, allocations: 1.5 kB / 1.287 GB, free: 5.902 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001132/0.9766, allocations: 42.23 kB / 1.287 GB, free: 5.891 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003693/0.9769, allocations: 21.72 kB / 1.287 GB, free: 5.879 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002802/0.9797, allocations: 1.61 MB / 1.288 GB, free: 4.473 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004428/0.9802, allocations: 0.6956 MB / 1.289 GB, free: 3.777 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 7.155e-05/0.9802, allocations: 8.062 kB / 1.289 GB, free: 3.777 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.553e-05/0.9803, allocations: 28.55 kB / 1.289 GB, free: 3.758 MB / 0.9981 GB Notification: Performance of SimCode: time 4.81e-07/0.9803, allocations: 0 / 1.289 GB, free: 3.758 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0277/1.008, allocations: 3.197 MB / 1.292 GB, free: 3.195 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.874/9.882, allocations: 9.266 kB / 1.292 GB, free: 3.191 MB / 0.9981 GB " [Timeout remaining time 290] (rm -f Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1_res.mat --tempDir=temp_Buildings_11_Buildings_Occupants_Office_Lighting_Validation_Love1998Light1_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Occupants_Office_Lighting_Validation_Love1998Light1.fmu > Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 16.23541045503225] Failed to read output from testmodel.py, exit status != 0: 10.010880886984523 10.032550305000001 9.060777546 Calling exit ...