Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.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.Reinhart2003Light,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light") translateModel(Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001409/0.001409, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001714/0.001714, allocations: 189.6 kB / 16.14 MB, free: 6.703 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.413/1.413, allocations: 205.1 MB / 222 MB, free: 5 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.545/1.545, allocations: 251.7 MB / 0.5088 GB, free: 3.332 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.001356/0.001356, allocations: 67.91 kB / 0.6216 GB, free: 2.02 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5347/0.536, allocations: 104.7 MB / 0.7238 GB, free: 13.16 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light): time 0.002958/0.539, allocations: 1.604 MB / 0.7254 GB, free: 11.54 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001505/0.5406, allocations: 0.8263 MB / 0.7262 GB, free: 10.7 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.554e-05/0.5406, allocations: 0 / 0.7262 GB, free: 10.7 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 3.948e-05/0.5407, allocations: 0 / 0.7262 GB, free: 10.7 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 9.14e-05/0.5408, allocations: 19.8 kB / 0.7262 GB, free: 10.68 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004818/0.5413, allocations: 111.8 kB / 0.7263 GB, free: 10.57 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001173/0.5414, allocations: 91.7 kB / 0.7264 GB, free: 10.48 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 8.252e-05/0.5415, allocations: 12 kB / 0.7264 GB, free: 10.47 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001/0.5416, allocations: 51.77 kB / 0.7264 GB, free: 10.42 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 7.523e-05/0.5417, allocations: 43.83 kB / 0.7265 GB, free: 10.38 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.865e-05/0.5417, allocations: 4 kB / 0.7265 GB, free: 10.38 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001687/0.5419, allocations: 83.91 kB / 0.7266 GB, free: 10.29 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 4.212e-05/0.542, allocations: 31.84 kB / 0.7266 GB, free: 10.26 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 5.28e-05/0.542, allocations: 35.8 kB / 0.7266 GB, free: 10.23 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002239/0.5423, allocations: 153.5 kB / 0.7268 GB, free: 10.08 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.5423, allocations: 0 / 0.7268 GB, free: 10.08 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.072e-06/0.5423, allocations: 0 / 0.7268 GB, free: 10.08 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.648e-06/0.5423, allocations: 4 kB / 0.7268 GB, free: 10.07 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.000895/0.5432, allocations: 0.5079 MB / 0.7273 GB, free: 9.5 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.417e-05/0.5432, allocations: 16.03 kB / 0.7273 GB, free: 9.484 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.283e-05/0.5433, allocations: 12.84 kB / 0.7273 GB, free: 9.473 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001947/0.5435, allocations: 180.1 kB / 0.7275 GB, free: 9.258 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.729e-05/0.5435, allocations: 384 / 0.7275 GB, free: 9.258 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.396e-05/0.5436, allocations: 12.36 kB / 0.7275 GB, free: 9.246 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002179/0.5438, allocations: 85.89 kB / 0.7276 GB, free: 9.156 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.02e-05/0.5438, allocations: 3.938 kB / 0.7276 GB, free: 9.152 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.758e-05/0.5438, allocations: 0 / 0.7276 GB, free: 9.152 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.822e-06/0.5439, allocations: 0 / 0.7276 GB, free: 9.152 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001609/0.544, allocations: 55.97 kB / 0.7276 GB, free: 9.098 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007956/0.5448, allocations: 332.6 kB / 0.7279 GB, free: 8.723 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00028/0.5451, allocations: 78.67 kB / 0.728 GB, free: 8.637 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001089/0.5452, allocations: 44.83 kB / 0.7281 GB, free: 8.59 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.133e-05/0.5453, allocations: 7.984 kB / 0.7281 GB, free: 8.582 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002741/0.5455, allocations: 99.33 kB / 0.7282 GB, free: 8.473 MB / 0.545 GB Notification: Performance of pre-optimization done (n=11): time 1.543e-06/0.5456, allocations: 0 / 0.7282 GB, free: 8.473 MB / 0.545 GB Notification: Performance of matching and sorting (n=11): time 0.0004422/0.546, allocations: 173.5 kB / 0.7283 GB, free: 8.297 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.237e-05/0.5461, allocations: 55.39 kB / 0.7284 GB, free: 8.23 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000129/0.5462, allocations: 152.4 kB / 0.7285 GB, free: 8.074 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.873e-05/0.5462, allocations: 25.7 kB / 0.7286 GB, free: 8.043 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.342e-05/0.5463, allocations: 104 kB / 0.7287 GB, free: 7.938 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.964e-05/0.5463, allocations: 23.66 kB / 0.7287 GB, free: 7.914 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.64e-05/0.5464, allocations: 33.7 kB / 0.7287 GB, free: 7.875 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001235/0.5465, allocations: 322.8 kB / 0.729 GB, free: 7.551 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.056e-05/0.5466, allocations: 27.98 kB / 0.729 GB, free: 7.523 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001212/0.5467, allocations: 77.06 kB / 0.7291 GB, free: 7.43 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001697/0.5469, allocations: 105 kB / 0.7292 GB, free: 7.309 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.5469, allocations: 4 kB / 0.7292 GB, free: 7.305 MB / 0.545 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002538/0.5472, allocations: 137.4 kB / 0.7294 GB, free: 7.164 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.614e-05/0.5472, allocations: 4 kB / 0.7294 GB, free: 7.16 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.101e-06/0.5472, allocations: 0 / 0.7294 GB, free: 7.16 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.646e-05/0.5472, allocations: 4 kB / 0.7294 GB, free: 7.156 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001167/0.5474, allocations: 19.92 kB / 0.7294 GB, free: 7.137 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.819e-06/0.5474, allocations: 3.984 kB / 0.7294 GB, free: 7.133 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001067/0.5475, allocations: 19.84 kB / 0.7294 GB, free: 7.113 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.289e-05/0.5475, allocations: 8.094 kB / 0.7294 GB, free: 7.105 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,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,booleanPulse.y,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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.0001182/0.5476, allocations: 132.4 kB / 0.7295 GB, free: 6.969 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.108e-05/0.5477, allocations: 7.906 kB / 0.7295 GB, free: 6.961 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003815/0.5481, allocations: 170.3 kB / 0.7297 GB, free: 6.789 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.469e-06/0.5481, allocations: 0 / 0.7297 GB, free: 6.789 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.5481, allocations: 3.938 kB / 0.7297 GB, free: 6.785 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.5481, allocations: 0 / 0.7297 GB, free: 6.785 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000623/0.5487, allocations: 466.2 kB / 0.7302 GB, free: 6.273 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.5487, allocations: 0 / 0.7302 GB, free: 6.273 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.317e-05/0.5488, allocations: 15.98 kB / 0.7302 GB, free: 6.258 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.5488, allocations: 0 / 0.7302 GB, free: 6.258 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.588e-05/0.5489, allocations: 8 kB / 0.7302 GB, free: 6.25 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.005e-06/0.5489, allocations: 7.938 kB / 0.7302 GB, free: 6.242 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.235e-06/0.5489, allocations: 3.938 kB / 0.7302 GB, free: 6.238 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003519/0.5492, allocations: 259 kB / 0.7304 GB, free: 5.973 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.622e-05/0.5493, allocations: 88.86 kB / 0.7305 GB, free: 5.867 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.687e-05/0.5493, allocations: 4 kB / 0.7305 GB, free: 5.863 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001284/0.5495, allocations: 11.98 kB / 0.7305 GB, free: 5.852 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.908e-05/0.5495, allocations: 15.92 kB / 0.7306 GB, free: 5.836 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.947e-05/0.5495, allocations: 4 kB / 0.7306 GB, free: 5.832 MB / 0.545 GB Notification: Performance of sorting global known variables: time 7.99e-05/0.5496, allocations: 111.2 kB / 0.7307 GB, free: 5.723 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5496, allocations: 0 / 0.7307 GB, free: 5.723 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003303/0.55, allocations: 44 kB / 0.7307 GB, free: 5.68 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 (booleanPulse.y,lig.sampleTrigger,$whenCondition3,$whenCondition2,$whenCondition1,lig.on,lig.curSeed,booleanPulse.pulseStart) * Number of discrete states: 1 (lig.on) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 11 * 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.0003225/0.5503, allocations: 157.3 kB / 0.7309 GB, free: 5.531 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002418/0.5506, allocations: 94.33 kB / 0.7309 GB, free: 5.441 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/0.5506, allocations: 4 kB / 0.7309 GB, free: 5.438 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001202/0.5507, allocations: 55.91 kB / 0.731 GB, free: 5.383 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003247/0.551, allocations: 19.92 kB / 0.731 GB, free: 5.363 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005085/0.5515, allocations: 269.5 kB / 0.7313 GB, free: 5.078 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000256/0.5518, allocations: 0.7004 MB / 0.732 GB, free: 4.352 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 5.606e-05/0.5519, allocations: 16.5 kB / 0.732 GB, free: 4.332 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.421e-05/0.5519, allocations: 19.42 kB / 0.732 GB, free: 4.312 MB / 0.545 GB Notification: Performance of SimCode: time 2.4e-07/0.5519, allocations: 0 / 0.732 GB, free: 4.312 MB / 0.545 GB Notification: Performance of Templates: time 0.004406/0.5563, allocations: 1.868 MB / 0.7338 GB, free: 2.453 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.makefile (rm -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.sim & ./Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.pipe 2>&1)