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.001064/0.001064, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001061/0.001061, allocations: 199.1 kB / 16.14 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.455/1.455, allocations: 205.1 MB / 222 MB, free: 4.75 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.577/1.577, allocations: 251.6 MB / 0.5088 GB, free: 3.395 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.001161/0.001161, allocations: 67.91 kB / 0.6216 GB, free: 1.977 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4941/0.4953, allocations: 104.7 MB / 0.7238 GB, free: 13.14 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Love1998Light1): time 0.002314/0.4976, allocations: 1.572 MB / 0.7253 GB, free: 11.56 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001115/0.4988, allocations: 0.8263 MB / 0.7261 GB, free: 10.72 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.778e-05/0.4988, allocations: 0 / 0.7261 GB, free: 10.72 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.854e-05/0.4988, allocations: 0 / 0.7261 GB, free: 10.72 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 5.139e-05/0.4989, allocations: 11.86 kB / 0.7261 GB, free: 10.71 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003241/0.4992, allocations: 103.8 kB / 0.7262 GB, free: 10.61 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 8.792e-05/0.4993, allocations: 75.77 kB / 0.7263 GB, free: 10.54 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 8.205e-05/0.4994, allocations: 16 kB / 0.7263 GB, free: 10.52 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 8.44e-05/0.4995, allocations: 39.84 kB / 0.7264 GB, free: 10.48 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 5.816e-05/0.4996, allocations: 35.83 kB / 0.7264 GB, free: 10.45 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.655e-05/0.4996, allocations: 11.88 kB / 0.7264 GB, free: 10.43 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001506/0.4998, allocations: 87.91 kB / 0.7265 GB, free: 10.35 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.411e-05/0.4998, allocations: 11.98 kB / 0.7265 GB, free: 10.34 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 4.264e-05/0.4998, allocations: 35.78 kB / 0.7265 GB, free: 10.3 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001844/0.5, allocations: 149.6 kB / 0.7267 GB, free: 10.16 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.5, allocations: 0 / 0.7267 GB, free: 10.16 MB / 0.545 GB Notification: Performance of FrontEnd: time 8.32e-07/0.5, allocations: 0 / 0.7267 GB, free: 10.16 MB / 0.545 GB Notification: Performance of Transformations before backend: time 3.336e-06/0.5001, allocations: 4 kB / 0.7267 GB, free: 10.15 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.0007271/0.5008, allocations: 462.6 kB / 0.7271 GB, free: 9.641 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.042e-05/0.5008, allocations: 8.031 kB / 0.7271 GB, free: 9.633 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.281e-05/0.5009, allocations: 12.83 kB / 0.7272 GB, free: 9.621 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001266/0.501, allocations: 176.2 kB / 0.7273 GB, free: 9.41 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.062e-05/0.501, allocations: 4.312 kB / 0.7273 GB, free: 9.406 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.824e-05/0.5011, allocations: 8.375 kB / 0.7273 GB, free: 9.398 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001635/0.5012, allocations: 81.89 kB / 0.7274 GB, free: 9.312 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.731e-06/0.5012, allocations: 0 / 0.7274 GB, free: 9.312 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.519e-05/0.5013, allocations: 4 kB / 0.7274 GB, free: 9.309 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.5013, allocations: 7.984 kB / 0.7274 GB, free: 9.301 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001279/0.5014, allocations: 35.97 kB / 0.7275 GB, free: 9.266 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005066/0.5019, allocations: 328.7 kB / 0.7278 GB, free: 8.895 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001371/0.5021, allocations: 58.59 kB / 0.7278 GB, free: 8.828 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.731e-05/0.5022, allocations: 36.84 kB / 0.7279 GB, free: 8.789 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.771e-05/0.5022, allocations: 4.141 kB / 0.7279 GB, free: 8.785 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002471/0.5024, allocations: 91.34 kB / 0.728 GB, free: 8.684 MB / 0.545 GB Notification: Performance of pre-optimization done (n=10): time 1.493e-06/0.5024, allocations: 4 kB / 0.728 GB, free: 8.68 MB / 0.545 GB Notification: Performance of matching and sorting (n=10): time 0.0003947/0.5028, allocations: 161.7 kB / 0.7281 GB, free: 8.516 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.929e-05/0.5029, allocations: 51.41 kB / 0.7282 GB, free: 8.453 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.845e-05/0.503, allocations: 129.8 kB / 0.7283 GB, free: 8.316 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.504e-05/0.503, allocations: 29.64 kB / 0.7283 GB, free: 8.281 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.032e-05/0.5031, allocations: 96.36 kB / 0.7284 GB, free: 8.184 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.718e-05/0.5031, allocations: 23.66 kB / 0.7284 GB, free: 8.16 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.045e-05/0.5032, allocations: 29.7 kB / 0.7285 GB, free: 8.125 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001239/0.5033, allocations: 330.8 kB / 0.7288 GB, free: 7.793 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.323e-05/0.5034, allocations: 19.98 kB / 0.7288 GB, free: 7.773 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.35e-05/0.5035, allocations: 69.12 kB / 0.7289 GB, free: 7.688 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001764/0.5037, allocations: 97.08 kB / 0.729 GB, free: 7.574 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.5037, allocations: 0 / 0.729 GB, free: 7.574 MB / 0.545 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002333/0.5039, allocations: 129.4 kB / 0.7291 GB, free: 7.441 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.286e-05/0.5039, allocations: 4 kB / 0.7291 GB, free: 7.438 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.504, allocations: 8.125 kB / 0.7291 GB, free: 7.43 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.103e-05/0.504, allocations: 0 / 0.7291 GB, free: 7.43 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001187/0.5041, allocations: 23.92 kB / 0.7291 GB, free: 7.406 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/0.5041, allocations: 4 kB / 0.7291 GB, free: 7.402 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001028/0.5042, allocations: 11.89 kB / 0.7291 GB, free: 7.391 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.266e-05/0.5042, allocations: 4 kB / 0.7291 GB, free: 7.387 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 0.0001099/0.5044, allocations: 133.7 kB / 0.7293 GB, free: 7.246 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.358e-05/0.5044, allocations: 11.89 kB / 0.7293 GB, free: 7.234 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003675/0.5048, allocations: 149.9 kB / 0.7294 GB, free: 7.082 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.5048, allocations: 0 / 0.7294 GB, free: 7.082 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.5048, allocations: 0 / 0.7294 GB, free: 7.082 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.304e-06/0.5048, allocations: 0 / 0.7294 GB, free: 7.082 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005577/0.5054, allocations: 430.2 kB / 0.7298 GB, free: 6.605 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.5054, allocations: 0 / 0.7298 GB, free: 6.605 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.17e-05/0.5054, allocations: 15.98 kB / 0.7298 GB, free: 6.59 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.5055, allocations: 96 / 0.7298 GB, free: 6.59 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.804e-05/0.5055, allocations: 11.98 kB / 0.7298 GB, free: 6.578 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.5055, allocations: 0 / 0.7298 GB, free: 6.578 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.5055, allocations: 3.938 kB / 0.7299 GB, free: 6.574 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002958/0.5058, allocations: 227.3 kB / 0.7301 GB, free: 6.336 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.716e-05/0.5059, allocations: 84.95 kB / 0.7301 GB, free: 6.234 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.767e-05/0.5059, allocations: 12 kB / 0.7302 GB, free: 6.223 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001169/0.506, allocations: 7.984 kB / 0.7302 GB, free: 6.215 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.348e-05/0.5061, allocations: 11.92 kB / 0.7302 GB, free: 6.203 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.655e-05/0.5061, allocations: 7.984 kB / 0.7302 GB, free: 6.195 MB / 0.545 GB Notification: Performance of sorting global known variables: time 6.934e-05/0.5062, allocations: 102.3 kB / 0.7303 GB, free: 6.098 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5062, allocations: 0 / 0.7303 GB, free: 6.098 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003325/0.5065, allocations: 40 kB / 0.7303 GB, free: 6.059 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.0003372/0.5069, allocations: 169.5 kB / 0.7305 GB, free: 5.902 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002328/0.5071, allocations: 83.83 kB / 0.7306 GB, free: 5.82 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.5071, allocations: 0 / 0.7306 GB, free: 5.82 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001079/0.5072, allocations: 43.98 kB / 0.7306 GB, free: 5.777 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003008/0.5075, allocations: 24.17 kB / 0.7306 GB, free: 5.754 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004854/0.508, allocations: 225.4 kB / 0.7308 GB, free: 5.508 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004881/0.5085, allocations: 0.6965 MB / 0.7315 GB, free: 4.785 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 5.395e-05/0.5086, allocations: 8.438 kB / 0.7315 GB, free: 4.773 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.706e-05/0.5086, allocations: 15.42 kB / 0.7315 GB, free: 4.762 MB / 0.545 GB Notification: Performance of SimCode: time 2.7e-07/0.5086, allocations: 0 / 0.7315 GB, free: 4.762 MB / 0.545 GB Notification: Performance of Templates: time 0.004444/0.5131, allocations: 1.681 MB / 0.7332 GB, free: 3.086 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.makefile (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)