Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.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.Love1998Light2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2") translateModel(Buildings.Occupants.Office.Lighting.Validation.Love1998Light2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00078/0.0007803, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.00522/0.00522, allocations: 169.7 kB / 16.27 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.48/1.48, allocations: 205.4 MB / 222.5 MB, free: 5.559 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.513/1.513, allocations: 252 MB / 0.5105 GB, free: 4.695 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.0005171/0.0005172, allocations: 16 kB / 0.6249 GB, free: 0.7109 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5392/0.5398, allocations: 106.3 MB / 0.7287 GB, free: 11.26 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Love1998Light2): time 0.001692/0.5415, allocations: 1.23 MB / 0.7299 GB, free: 10.02 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001319/0.5429, allocations: 0.7915 MB / 0.7307 GB, free: 9.215 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.195e-05/0.5429, allocations: 3.938 kB / 0.7307 GB, free: 9.211 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.336e-05/0.5429, allocations: 7.922 kB / 0.7307 GB, free: 9.203 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 9.023e-05/0.543, allocations: 7.938 kB / 0.7307 GB, free: 9.195 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004515/0.5435, allocations: 99.77 kB / 0.7308 GB, free: 9.098 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001201/0.5436, allocations: 87.77 kB / 0.7309 GB, free: 9.012 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 9.642e-05/0.5437, allocations: 7.984 kB / 0.7309 GB, free: 9.004 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 9.951e-05/0.5438, allocations: 39.8 kB / 0.7309 GB, free: 8.965 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 6.972e-05/0.5439, allocations: 39.81 kB / 0.731 GB, free: 8.926 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.852e-05/0.5439, allocations: 4 kB / 0.731 GB, free: 8.922 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001783/0.5441, allocations: 91.84 kB / 0.7311 GB, free: 8.832 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.475e-05/0.5442, allocations: 11.98 kB / 0.7311 GB, free: 8.82 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 5.851e-05/0.5442, allocations: 57.5 kB / 0.7311 GB, free: 8.758 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002097/0.5445, allocations: 141.6 kB / 0.7313 GB, free: 8.621 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.738e-06/0.5445, allocations: 0 / 0.7313 GB, free: 8.621 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.903e-06/0.5445, allocations: 0 / 0.7313 GB, free: 8.621 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.238e-06/0.5445, allocations: 4 kB / 0.7313 GB, free: 8.617 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.0006479/0.5451, allocations: 454.6 kB / 0.7317 GB, free: 8.113 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.972e-05/0.5452, allocations: 12.03 kB / 0.7317 GB, free: 8.102 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.86e-05/0.5452, allocations: 8.938 kB / 0.7317 GB, free: 8.094 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001452/0.5454, allocations: 184.1 kB / 0.7319 GB, free: 7.875 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.034e-05/0.5454, allocations: 8.312 kB / 0.7319 GB, free: 7.867 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.026e-05/0.5454, allocations: 12.3 kB / 0.7319 GB, free: 7.855 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000186/0.5456, allocations: 77.97 kB / 0.732 GB, free: 7.773 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.732e-06/0.5456, allocations: 3.938 kB / 0.732 GB, free: 7.77 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.388e-05/0.5457, allocations: 0 / 0.732 GB, free: 7.77 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.96e-06/0.5457, allocations: 0 / 0.732 GB, free: 7.77 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001369/0.5458, allocations: 51.97 kB / 0.732 GB, free: 7.719 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005173/0.5463, allocations: 320.7 kB / 0.7324 GB, free: 7.355 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001499/0.5465, allocations: 66.55 kB / 0.7324 GB, free: 7.281 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.145e-05/0.5466, allocations: 36.84 kB / 0.7325 GB, free: 7.242 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.186e-05/0.5466, allocations: 0 / 0.7325 GB, free: 7.242 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002299/0.5469, allocations: 95.39 kB / 0.7325 GB, free: 7.137 MB / 0.545 GB Notification: Performance of pre-optimization done (n=10): time 1.403e-06/0.5469, allocations: 0 / 0.7325 GB, free: 7.137 MB / 0.545 GB Notification: Performance of matching and sorting (n=10): time 0.0003955/0.5473, allocations: 169.5 kB / 0.7327 GB, free: 6.965 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.99e-05/0.5473, allocations: 51.41 kB / 0.7328 GB, free: 6.902 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001029/0.5474, allocations: 133.7 kB / 0.7329 GB, free: 6.762 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.835e-05/0.5475, allocations: 25.7 kB / 0.7329 GB, free: 6.73 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.219e-05/0.5475, allocations: 92.53 kB / 0.733 GB, free: 6.637 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.801e-05/0.5476, allocations: 31.62 kB / 0.733 GB, free: 6.605 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.181e-05/0.5476, allocations: 21.72 kB / 0.733 GB, free: 6.578 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001065/0.5477, allocations: 326.8 kB / 0.7334 GB, free: 6.25 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.513e-05/0.5478, allocations: 27.98 kB / 0.7334 GB, free: 6.223 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.913e-05/0.5479, allocations: 65.12 kB / 0.7334 GB, free: 6.141 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001701/0.5481, allocations: 105.4 kB / 0.7335 GB, free: 6.02 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.5481, allocations: 0 / 0.7335 GB, free: 6.02 MB / 0.545 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002435/0.5483, allocations: 141.4 kB / 0.7337 GB, free: 5.875 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.672e-05/0.5484, allocations: 5.719 kB / 0.7337 GB, free: 5.871 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.5484, allocations: 3.938 kB / 0.7337 GB, free: 5.867 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.379e-05/0.5484, allocations: 4 kB / 0.7337 GB, free: 5.863 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001079/0.5485, allocations: 19.98 kB / 0.7337 GB, free: 5.844 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.957e-06/0.5485, allocations: 0 / 0.7337 GB, free: 5.844 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001083/0.5486, allocations: 24.05 kB / 0.7337 GB, free: 5.82 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.42e-05/0.5487, allocations: 8 kB / 0.7337 GB, free: 5.812 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 (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 9.494e-05/0.5488, allocations: 121.7 kB / 0.7339 GB, free: 5.684 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.803e-05/0.5488, allocations: 11.89 kB / 0.7339 GB, free: 5.672 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003111/0.5491, allocations: 153.8 kB / 0.734 GB, free: 5.516 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.602e-06/0.5491, allocations: 12.08 kB / 0.734 GB, free: 5.504 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.748e-06/0.5491, allocations: 0 / 0.734 GB, free: 5.504 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.718e-06/0.5491, allocations: 3.984 kB / 0.734 GB, free: 5.5 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000538/0.5497, allocations: 434.3 kB / 0.7344 GB, free: 5.02 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.5497, allocations: 0 / 0.7344 GB, free: 5.02 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.506e-05/0.5498, allocations: 19.92 kB / 0.7345 GB, free: 5 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.5498, allocations: 0 / 0.7345 GB, free: 5 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.366e-05/0.5498, allocations: 4 kB / 0.7345 GB, free: 4.996 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.5498, allocations: 0 / 0.7345 GB, free: 4.996 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.897e-06/0.5498, allocations: 3.938 kB / 0.7345 GB, free: 4.992 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000275/0.5501, allocations: 227.4 kB / 0.7347 GB, free: 4.754 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.045e-05/0.5501, allocations: 89.02 kB / 0.7348 GB, free: 4.648 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.129e-05/0.5502, allocations: 0 / 0.7348 GB, free: 4.648 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001192/0.5503, allocations: 11.98 kB / 0.7348 GB, free: 4.637 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.656e-05/0.5504, allocations: 19.86 kB / 0.7348 GB, free: 4.617 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.637e-05/0.5504, allocations: 4 kB / 0.7348 GB, free: 4.613 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.823e-05/0.5504, allocations: 98.02 kB / 0.7349 GB, free: 4.52 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.61e-07/0.5504, allocations: 3.938 kB / 0.7349 GB, free: 4.516 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003319/0.5508, allocations: 43.98 kB / 0.7349 GB, free: 4.473 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 (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.000363/0.5512, allocations: 165.8 kB / 0.7351 GB, free: 4.316 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002385/0.5514, allocations: 83.89 kB / 0.7352 GB, free: 4.234 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.5514, allocations: 8.25 kB / 0.7352 GB, free: 4.227 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001041/0.5515, allocations: 47.92 kB / 0.7352 GB, free: 4.18 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002933/0.5518, allocations: 15.98 kB / 0.7353 GB, free: 4.164 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004283/0.5523, allocations: 243 kB / 0.7355 GB, free: 3.898 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002082/0.5525, allocations: 0.6926 MB / 0.7362 GB, free: 3.18 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 4.53e-05/0.5525, allocations: 8.422 kB / 0.7362 GB, free: 3.168 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.299e-05/0.5526, allocations: 19.44 kB / 0.7362 GB, free: 3.152 MB / 0.545 GB Notification: Performance of SimCode: time 3.2e-07/0.5526, allocations: 4 kB / 0.7362 GB, free: 3.148 MB / 0.545 GB Notification: Performance of Templates: time 0.004331/0.5569, allocations: 1.661 MB / 0.7378 GB, free: 1.496 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.sim & ./Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe 2>&1) Environment - environmentSimulation: