Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_1.6_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1") translateModel(Buildings.Occupants.Office.Lighting.Validation.Love1998Light1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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.0008629/0.0008629, allocations: 91.22 kB / 15.36 MB, free: 0.7383 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.005501/0.005501, allocations: 172.9 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.421/1.421, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.952/2.952, allocations: 473.4 MB / 0.7469 GB, free: 6.094 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004087/0.0004083, allocations: 7.312 kB / 0.9158 GB, free: 33.07 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3945/0.395, allocations: 162.2 MB / 1.074 GB, free: 7.547 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Love1998Light1): time 0.002147/0.3972, allocations: 1.219 MB / 1.075 GB, free: 6.32 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001755/0.399, allocations: 0.7479 MB / 1.076 GB, free: 5.566 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.395e-05/0.3991, allocations: 4 kB / 1.076 GB, free: 5.562 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.172e-05/0.3991, allocations: 3.984 kB / 1.076 GB, free: 5.559 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001439/0.3993, allocations: 7.875 kB / 1.076 GB, free: 5.551 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008298/0.4001, allocations: 111.8 kB / 1.076 GB, free: 5.441 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001898/0.4004, allocations: 83.69 kB / 1.076 GB, free: 5.359 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001453/0.4005, allocations: 11.98 kB / 1.076 GB, free: 5.348 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001756/0.4007, allocations: 31.86 kB / 1.076 GB, free: 5.316 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001079/0.4008, allocations: 43.81 kB / 1.076 GB, free: 5.273 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.386e-05/0.4009, allocations: 4 kB / 1.076 GB, free: 5.27 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002866/0.4012, allocations: 83.91 kB / 1.076 GB, free: 5.188 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 4.838e-05/0.4012, allocations: 19.92 kB / 1.076 GB, free: 5.168 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 8.792e-05/0.4013, allocations: 57.56 kB / 1.076 GB, free: 5.105 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0003474/0.4017, allocations: 151.8 kB / 1.077 GB, free: 4.957 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.763e-06/0.4017, allocations: 0 / 1.077 GB, free: 4.957 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.805e-06/0.4017, allocations: 0 / 1.077 GB, free: 4.957 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 9.448e-06/0.4017, allocations: 0 / 1.077 GB, free: 4.957 MB / 0.8262 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.000875/0.4026, allocations: 450.7 kB / 1.077 GB, free: 4.457 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.837e-05/0.4027, allocations: 12.03 kB / 1.077 GB, free: 4.445 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.325e-05/0.4027, allocations: 8.844 kB / 1.077 GB, free: 4.438 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001775/0.4029, allocations: 180.2 kB / 1.077 GB, free: 4.223 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.956e-05/0.4029, allocations: 4.375 kB / 1.077 GB, free: 4.219 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.244e-05/0.403, allocations: 4.375 kB / 1.077 GB, free: 4.215 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002291/0.4032, allocations: 81.84 kB / 1.077 GB, free: 4.129 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.212e-05/0.4032, allocations: 0 / 1.077 GB, free: 4.129 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.957e-05/0.4032, allocations: 3.984 kB / 1.077 GB, free: 4.125 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.087e-06/0.4033, allocations: 8 kB / 1.077 GB, free: 4.117 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001563/0.4034, allocations: 43.97 kB / 1.077 GB, free: 4.074 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007059/0.4041, allocations: 320.6 kB / 1.078 GB, free: 3.711 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001891/0.4044, allocations: 74.58 kB / 1.078 GB, free: 3.629 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.744e-05/0.4045, allocations: 32.84 kB / 1.078 GB, free: 3.594 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.091e-05/0.4045, allocations: 4 kB / 1.078 GB, free: 3.59 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002854/0.4048, allocations: 95.5 kB / 1.078 GB, free: 3.484 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=10): time 2.715e-06/0.4048, allocations: 0 / 1.078 GB, free: 3.484 MB / 0.8262 GB Notification: Performance of matching and sorting (n=10): time 0.0004651/0.4053, allocations: 165.5 kB / 1.078 GB, free: 3.316 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.639e-05/0.4054, allocations: 63.34 kB / 1.078 GB, free: 3.242 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001435/0.4055, allocations: 121.8 kB / 1.078 GB, free: 3.113 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.941e-05/0.4055, allocations: 29.7 kB / 1.078 GB, free: 3.078 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 7.941e-05/0.4056, allocations: 92.38 kB / 1.078 GB, free: 2.98 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.419e-05/0.4057, allocations: 23.7 kB / 1.078 GB, free: 2.957 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.085e-05/0.4057, allocations: 17.72 kB / 1.078 GB, free: 2.934 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001682/0.4059, allocations: 326.8 kB / 1.079 GB, free: 2.605 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.052e-05/0.406, allocations: 27.98 kB / 1.079 GB, free: 2.578 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001092/0.4061, allocations: 73.12 kB / 1.079 GB, free: 2.488 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001912/0.4063, allocations: 97.08 kB / 1.079 GB, free: 2.375 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.989e-06/0.4063, allocations: 4 kB / 1.079 GB, free: 2.371 MB / 0.8262 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002859/0.4066, allocations: 141.3 kB / 1.079 GB, free: 2.227 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.399e-05/0.4066, allocations: 4 kB / 1.079 GB, free: 2.223 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.275e-05/0.4067, allocations: 8 kB / 1.079 GB, free: 2.215 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.068e-05/0.4067, allocations: 384 / 1.079 GB, free: 2.215 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001201/0.4068, allocations: 19.92 kB / 1.079 GB, free: 2.195 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.176e-05/0.4068, allocations: 4.125 kB / 1.079 GB, free: 2.191 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001247/0.407, allocations: 27.83 kB / 1.079 GB, free: 2.164 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.553e-05/0.407, allocations: 7.938 kB / 1.079 GB, free: 2.156 MB / 0.8262 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.0001361/0.4071, allocations: 127.4 kB / 1.079 GB, free: 2.023 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.375e-05/0.4072, allocations: 11.89 kB / 1.079 GB, free: 2.012 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003459/0.4075, allocations: 150 kB / 1.079 GB, free: 1.859 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.906e-06/0.4075, allocations: 0 / 1.079 GB, free: 1.859 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.223e-06/0.4075, allocations: 0 / 1.079 GB, free: 1.859 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.488e-06/0.4076, allocations: 0 / 1.079 GB, free: 1.859 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006392/0.4082, allocations: 438.4 kB / 1.08 GB, free: 1.375 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.317e-06/0.4082, allocations: 4 kB / 1.08 GB, free: 1.371 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.615e-05/0.4083, allocations: 11.98 kB / 1.08 GB, free: 1.359 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.507e-06/0.4083, allocations: 4 kB / 1.08 GB, free: 1.355 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.29e-05/0.4083, allocations: 0 / 1.08 GB, free: 1.355 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.834e-06/0.4083, allocations: 0 / 1.08 GB, free: 1.355 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.458e-06/0.4083, allocations: 3.938 kB / 1.08 GB, free: 1.352 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002956/0.4086, allocations: 247.2 kB / 1.08 GB, free: 1.094 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.051e-05/0.4087, allocations: 84.95 kB / 1.08 GB, free: 0.9922 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.962e-05/0.4087, allocations: 4 kB / 1.08 GB, free: 0.9883 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000116/0.4088, allocations: 11.98 kB / 1.08 GB, free: 0.9766 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.053e-05/0.4089, allocations: 15.92 kB / 1.08 GB, free: 0.9609 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.869e-05/0.4089, allocations: 7.984 kB / 1.08 GB, free: 0.9531 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.793e-05/0.409, allocations: 98.89 kB / 1.08 GB, free: 0.8594 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.41e-07/0.409, allocations: 8 kB / 1.08 GB, free: 0.8516 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003235/0.4093, allocations: 36 kB / 1.08 GB, free: 0.8164 MB / 0.8262 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.0003878/0.4097, allocations: 163.5 kB / 1.08 GB, free: 0.6602 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002571/0.41, allocations: 99.83 kB / 1.081 GB, free: 0.5625 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.41, allocations: 0 / 1.081 GB, free: 0.5625 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001094/0.4101, allocations: 39.98 kB / 1.081 GB, free: 0.5234 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003009/0.4104, allocations: 15.98 kB / 1.081 GB, free: 0.5078 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004736/0.4109, allocations: 242 kB / 1.081 GB, free: 248 kB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002716/0.4112, allocations: 0.6965 MB / 1.082 GB, free: 15.52 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 4.698e-05/0.4112, allocations: 8.438 kB / 1.082 GB, free: 15.51 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.638e-05/0.4113, allocations: 15.44 kB / 1.082 GB, free: 15.5 MB / 0.8419 GB Notification: Performance of SimCode: time 4.51e-07/0.4113, allocations: 0 / 1.082 GB, free: 15.5 MB / 0.8419 GB Notification: Performance of Templates: time 0.004884/0.4162, allocations: 1.651 MB / 1.083 GB, free: 13.85 MB / 0.8419 GB make -j1 -f Buildings_1.6_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.makefile (rm -f Buildings_1.6_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe ; mkfifo Buildings_1.6_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe >> ../files/Buildings_1.6_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.sim & ./Buildings_1.6_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe 2>&1)