Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Occupants.Office.Lighting.Validation.Love1998Light1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1") translateModel(Buildings.Occupants.Office.Lighting.Validation.Love1998Light1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001093/0.001093, allocations: 99.94 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001021/0.001022, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.668/1.668, allocations: 205.4 MB / 222.1 MB, free: 5.668 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.7/1.7, allocations: 251.9 MB / 0.51 GB, free: 4.848 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005883/0.0005884, allocations: 12 kB / 0.6241 GB, free: 1.207 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6951/0.6957, allocations: 106.3 MB / 0.728 GB, free: 11.48 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Love1998Light1): time 0.001827/0.6976, allocations: 1.199 MB / 0.7291 GB, free: 10.27 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001283/0.6989, allocations: 0.7567 MB / 0.7299 GB, free: 9.504 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.661e-05/0.6989, allocations: 0 / 0.7299 GB, free: 9.504 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.267e-05/0.699, allocations: 3.984 kB / 0.7299 GB, free: 9.5 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001067/0.6991, allocations: 15.91 kB / 0.7299 GB, free: 9.484 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004942/0.6996, allocations: 91.77 kB / 0.73 GB, free: 9.395 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001058/0.6997, allocations: 55.86 kB / 0.73 GB, free: 9.34 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 9.516e-05/0.6998, allocations: 11.98 kB / 0.7301 GB, free: 9.328 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001042/0.6999, allocations: 35.91 kB / 0.7301 GB, free: 9.293 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 6.81e-05/0.7, allocations: 35.84 kB / 0.7301 GB, free: 9.258 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.772e-05/0.7, allocations: 4 kB / 0.7301 GB, free: 9.254 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000151/0.7002, allocations: 67.86 kB / 0.7302 GB, free: 9.188 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.288e-05/0.7002, allocations: 15.92 kB / 0.7302 GB, free: 9.172 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 4.776e-05/0.7003, allocations: 41.64 kB / 0.7302 GB, free: 9.125 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001854/0.7005, allocations: 97.78 kB / 0.7303 GB, free: 9.031 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.7005, allocations: 0 / 0.7303 GB, free: 9.031 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.354e-06/0.7005, allocations: 0 / 0.7303 GB, free: 9.031 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.839e-06/0.7005, allocations: 8 kB / 0.7303 GB, free: 9.023 MB / 0.545 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.000859/0.7014, allocations: 450.4 kB / 0.7308 GB, free: 8.523 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.197e-05/0.7014, allocations: 12.03 kB / 0.7308 GB, free: 8.512 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.153e-05/0.7015, allocations: 7.984 kB / 0.7308 GB, free: 8.504 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001514/0.7016, allocations: 182.8 kB / 0.731 GB, free: 8.285 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.993e-05/0.7016, allocations: 3.938 kB / 0.731 GB, free: 8.281 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.871e-05/0.7017, allocations: 12 kB / 0.731 GB, free: 8.27 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001856/0.7019, allocations: 81.58 kB / 0.7311 GB, free: 8.184 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.708e-06/0.7019, allocations: 0 / 0.7311 GB, free: 8.184 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.338e-05/0.7019, allocations: 0 / 0.7311 GB, free: 8.184 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.17e-06/0.7019, allocations: 0 / 0.7311 GB, free: 8.184 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001324/0.7021, allocations: 43.97 kB / 0.7311 GB, free: 8.141 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005614/0.7026, allocations: 332.8 kB / 0.7314 GB, free: 7.766 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001472/0.7028, allocations: 66.48 kB / 0.7315 GB, free: 7.691 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.194e-05/0.7028, allocations: 0 / 0.7315 GB, free: 7.691 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002381/0.7031, allocations: 95.36 kB / 0.7316 GB, free: 7.586 MB / 0.545 GB Notification: Performance of pre-optimization done (n=10): time 1.313e-06/0.7031, allocations: 0 / 0.7316 GB, free: 7.586 MB / 0.545 GB Notification: Performance of matching and sorting (n=10): time 0.0004187/0.7035, allocations: 161.5 kB / 0.7317 GB, free: 7.422 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.068e-05/0.7035, allocations: 67.3 kB / 0.7318 GB, free: 7.344 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001169/0.7037, allocations: 132.6 kB / 0.7319 GB, free: 7.207 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.627e-05/0.7037, allocations: 29.7 kB / 0.7319 GB, free: 7.172 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.412e-05/0.7038, allocations: 92.36 kB / 0.732 GB, free: 7.078 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.422e-05/0.7038, allocations: 23.66 kB / 0.7321 GB, free: 7.055 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.634e-06/0.7038, allocations: 4 kB / 0.7321 GB, free: 7.051 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001283/0.7039, allocations: 322.8 kB / 0.7324 GB, free: 6.727 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.608e-05/0.704, allocations: 27.98 kB / 0.7324 GB, free: 6.699 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.269e-05/0.7041, allocations: 69.12 kB / 0.7325 GB, free: 6.613 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.578e-05/0.7042, allocations: 28.38 kB / 0.7325 GB, free: 6.586 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.7042, allocations: 0 / 0.7325 GB, free: 6.586 MB / 0.545 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000229/0.7045, allocations: 137.4 kB / 0.7326 GB, free: 6.445 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.447e-05/0.7045, allocations: 6.188 kB / 0.7326 GB, free: 6.441 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/0.7045, allocations: 7.938 kB / 0.7326 GB, free: 6.434 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.356e-05/0.7045, allocations: 0 / 0.7326 GB, free: 6.434 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001059/0.7046, allocations: 19.92 kB / 0.7327 GB, free: 6.414 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.156e-05/0.7046, allocations: 7.953 kB / 0.7327 GB, free: 6.406 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001034/0.7048, allocations: 24.02 kB / 0.7327 GB, free: 6.383 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.239e-05/0.7048, allocations: 4 kB / 0.7327 GB, free: 6.379 MB / 0.545 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 ($PRE.lig.curSeed,lig.curSeed,$PRE.lig.on,lig.on,$whenCondition3,$whenCondition2,lig.sampleTrigger,$whenCondition1,occ.y,$PRE.occ.pulseStart,occ.pulseStart) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001042/0.7049, allocations: 128.5 kB / 0.7328 GB, free: 6.246 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.089e-05/0.7049, allocations: 7.906 kB / 0.7328 GB, free: 6.238 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003082/0.7052, allocations: 153.9 kB / 0.733 GB, free: 6.082 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.398e-06/0.7052, allocations: 3.984 kB / 0.733 GB, free: 6.078 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.715e-06/0.7052, allocations: 0 / 0.733 GB, free: 6.078 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.732e-06/0.7053, allocations: 3.953 kB / 0.733 GB, free: 6.074 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005288/0.7058, allocations: 434.5 kB / 0.7334 GB, free: 5.594 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.7058, allocations: 4 kB / 0.7334 GB, free: 5.59 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.542e-05/0.7059, allocations: 11.98 kB / 0.7334 GB, free: 5.578 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.7059, allocations: 0 / 0.7334 GB, free: 5.578 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.061e-05/0.7059, allocations: 4 kB / 0.7334 GB, free: 5.574 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.985e-06/0.7059, allocations: 3.953 kB / 0.7334 GB, free: 5.57 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.522e-06/0.7059, allocations: 0 / 0.7334 GB, free: 5.57 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000298/0.7062, allocations: 239.4 kB / 0.7336 GB, free: 5.32 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.558e-05/0.7063, allocations: 88.95 kB / 0.7337 GB, free: 5.215 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.572e-05/0.7063, allocations: 4 kB / 0.7337 GB, free: 5.211 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001122/0.7064, allocations: 11.98 kB / 0.7337 GB, free: 5.199 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.65e-05/0.7065, allocations: 15.94 kB / 0.7338 GB, free: 5.184 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.705e-05/0.7065, allocations: 4 kB / 0.7338 GB, free: 5.18 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.733e-05/0.7066, allocations: 95.27 kB / 0.7338 GB, free: 5.086 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7066, allocations: 0 / 0.7338 GB, free: 5.086 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0004758/0.7071, allocations: 51.98 kB / 0.7339 GB, free: 5.035 MB / 0.545 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005072/0.7076, allocations: 159.5 kB / 0.734 GB, free: 4.883 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.000344/0.7079, allocations: 99.95 kB / 0.7341 GB, free: 4.785 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.708, allocations: 0 / 0.7341 GB, free: 4.785 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001459/0.7081, allocations: 43.98 kB / 0.7342 GB, free: 4.742 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002972/0.7084, allocations: 18.55 kB / 0.7342 GB, free: 4.727 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006054/0.709, allocations: 231.1 kB / 0.7344 GB, free: 4.473 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003514/0.7094, allocations: 0.6965 MB / 0.7351 GB, free: 3.75 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 6.565e-05/0.7095, allocations: 12.42 kB / 0.7351 GB, free: 3.734 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.902e-05/0.7095, allocations: 11.44 kB / 0.7351 GB, free: 3.727 MB / 0.545 GB Notification: Performance of SimCode: time 3.8e-07/0.7095, allocations: 4 kB / 0.7351 GB, free: 3.723 MB / 0.545 GB Notification: Performance of Templates: time 0.006135/0.7157, allocations: 1.611 MB / 0.7367 GB, free: 2.117 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.sim & ./Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe 2>&1) Environment - environmentSimulation: