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.0007846/0.0007847, allocations: 97.64 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.006093/0.006093, allocations: 170.1 kB / 16.27 MB, free: 6.66 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.393/1.393, allocations: 205.4 MB / 222.4 MB, free: 5.801 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.54/1.54, allocations: 252 MB / 0.5105 GB, free: 4.645 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.0005465/0.0005465, allocations: 16 kB / 0.6249 GB, free: 0.6992 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5341/0.5346, allocations: 106.3 MB / 0.7287 GB, free: 11.24 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light): time 0.00172/0.5364, allocations: 1.265 MB / 0.73 GB, free: 9.965 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001575/0.538, allocations: 0.803 MB / 0.7307 GB, free: 9.152 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.711e-05/0.5381, allocations: 4 kB / 0.7307 GB, free: 9.148 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.646e-05/0.5382, allocations: 11.92 kB / 0.7307 GB, free: 9.137 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001269/0.5383, allocations: 11.88 kB / 0.7308 GB, free: 9.125 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005326/0.5388, allocations: 111.8 kB / 0.7309 GB, free: 9.016 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001444/0.539, allocations: 95.69 kB / 0.731 GB, free: 8.922 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 9.623e-05/0.5391, allocations: 8 kB / 0.731 GB, free: 8.914 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000121/0.5392, allocations: 43.86 kB / 0.731 GB, free: 8.871 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001147/0.5394, allocations: 43.75 kB / 0.731 GB, free: 8.828 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.886e-05/0.5394, allocations: 4 kB / 0.7311 GB, free: 8.824 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002093/0.5396, allocations: 95.78 kB / 0.7311 GB, free: 8.73 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 3.245e-05/0.5396, allocations: 19.91 kB / 0.7312 GB, free: 8.711 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 7.299e-05/0.5397, allocations: 65.5 kB / 0.7312 GB, free: 8.641 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002915/0.54, allocations: 153.5 kB / 0.7314 GB, free: 8.492 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.54, allocations: 0 / 0.7314 GB, free: 8.492 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.753e-06/0.5401, allocations: 0 / 0.7314 GB, free: 8.492 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.559e-06/0.5401, allocations: 0 / 0.7314 GB, free: 8.492 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.0007905/0.5409, allocations: 0.4886 MB / 0.7318 GB, free: 7.938 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.5409, allocations: 12.03 kB / 0.7319 GB, free: 7.926 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.86e-05/0.541, allocations: 12.75 kB / 0.7319 GB, free: 7.914 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001869/0.5412, allocations: 192.1 kB / 0.7321 GB, free: 7.688 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.119e-05/0.5412, allocations: 384 / 0.7321 GB, free: 7.688 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.213e-05/0.5412, allocations: 4.375 kB / 0.7321 GB, free: 7.684 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002214/0.5414, allocations: 89.95 kB / 0.7321 GB, free: 7.59 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.945e-06/0.5415, allocations: 0 / 0.7321 GB, free: 7.59 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.548e-05/0.5415, allocations: 4 kB / 0.7322 GB, free: 7.586 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.558e-06/0.5415, allocations: 0 / 0.7322 GB, free: 7.586 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001549/0.5416, allocations: 55.89 kB / 0.7322 GB, free: 7.531 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006129/0.5423, allocations: 348.6 kB / 0.7325 GB, free: 7.141 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002191/0.5425, allocations: 78.77 kB / 0.7326 GB, free: 7.055 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.079e-05/0.5426, allocations: 44.78 kB / 0.7327 GB, free: 7.008 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.048e-05/0.5426, allocations: 8 kB / 0.7327 GB, free: 7 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002475/0.5429, allocations: 95.34 kB / 0.7328 GB, free: 6.895 MB / 0.545 GB Notification: Performance of pre-optimization done (n=11): time 1.623e-06/0.5429, allocations: 0 / 0.7328 GB, free: 6.895 MB / 0.545 GB Notification: Performance of matching and sorting (n=11): time 0.0004259/0.5433, allocations: 185.4 kB / 0.7329 GB, free: 6.707 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.645e-05/0.5434, allocations: 59.34 kB / 0.733 GB, free: 6.637 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001165/0.5435, allocations: 152.1 kB / 0.7331 GB, free: 6.48 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.974e-05/0.5435, allocations: 29.7 kB / 0.7332 GB, free: 6.445 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.03e-05/0.5436, allocations: 92.14 kB / 0.7332 GB, free: 6.352 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.282e-05/0.5436, allocations: 31.62 kB / 0.7333 GB, free: 6.32 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.39e-05/0.5437, allocations: 21.72 kB / 0.7333 GB, free: 6.293 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001107/0.5438, allocations: 326.8 kB / 0.7336 GB, free: 5.965 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.132e-05/0.5439, allocations: 31.98 kB / 0.7336 GB, free: 5.934 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001047/0.544, allocations: 69.12 kB / 0.7337 GB, free: 5.848 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001951/0.5442, allocations: 109.1 kB / 0.7338 GB, free: 5.723 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/0.5442, allocations: 4 kB / 0.7338 GB, free: 5.719 MB / 0.545 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002588/0.5445, allocations: 145.4 kB / 0.734 GB, free: 5.57 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.617e-05/0.5445, allocations: 4 kB / 0.734 GB, free: 5.566 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.735e-06/0.5445, allocations: 8.094 kB / 0.734 GB, free: 5.559 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.209e-05/0.5445, allocations: 0 / 0.734 GB, free: 5.559 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001099/0.5447, allocations: 23.92 kB / 0.734 GB, free: 5.535 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.055e-06/0.5447, allocations: 0 / 0.734 GB, free: 5.535 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001115/0.5448, allocations: 27.83 kB / 0.734 GB, free: 5.508 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.399e-05/0.5448, allocations: 4 kB / 0.734 GB, free: 5.504 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.0001127/0.5449, allocations: 125.7 kB / 0.7341 GB, free: 5.371 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.15e-05/0.545, allocations: 15.91 kB / 0.7342 GB, free: 5.355 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003933/0.5454, allocations: 169 kB / 0.7343 GB, free: 5.188 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.459e-06/0.5454, allocations: 4 kB / 0.7343 GB, free: 5.184 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.5454, allocations: 0 / 0.7343 GB, free: 5.184 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.5454, allocations: 0 / 0.7343 GB, free: 5.184 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006449/0.5461, allocations: 470.3 kB / 0.7348 GB, free: 4.668 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.5461, allocations: 0 / 0.7348 GB, free: 4.668 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.056e-05/0.5462, allocations: 15.98 kB / 0.7348 GB, free: 4.652 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.374e-06/0.5462, allocations: 4 kB / 0.7348 GB, free: 4.648 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.336e-05/0.5462, allocations: 0 / 0.7348 GB, free: 4.648 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.677e-06/0.5462, allocations: 4 kB / 0.7348 GB, free: 4.645 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.548e-06/0.5462, allocations: 3.938 kB / 0.7348 GB, free: 4.641 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003399/0.5466, allocations: 263.3 kB / 0.735 GB, free: 4.367 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.597e-05/0.5466, allocations: 96.84 kB / 0.7351 GB, free: 4.254 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.529e-05/0.5467, allocations: 0 / 0.7351 GB, free: 4.254 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001306/0.5468, allocations: 15.98 kB / 0.7352 GB, free: 4.238 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.125e-05/0.5469, allocations: 19.92 kB / 0.7352 GB, free: 4.219 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.773e-05/0.5469, allocations: 4 kB / 0.7352 GB, free: 4.215 MB / 0.545 GB Notification: Performance of sorting global known variables: time 6.961e-05/0.547, allocations: 109.5 kB / 0.7353 GB, free: 4.109 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/0.547, allocations: 0 / 0.7353 GB, free: 4.109 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003445/0.5473, allocations: 40 kB / 0.7353 GB, free: 4.07 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.0003495/0.5477, allocations: 171.6 kB / 0.7355 GB, free: 3.914 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002604/0.5479, allocations: 95.89 kB / 0.7356 GB, free: 3.82 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.5479, allocations: 0 / 0.7356 GB, free: 3.82 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.000123/0.5481, allocations: 63.91 kB / 0.7356 GB, free: 3.758 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003148/0.5484, allocations: 22.8 kB / 0.7357 GB, free: 3.738 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005175/0.5489, allocations: 265.2 kB / 0.7359 GB, free: 3.453 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000294/0.5492, allocations: 0.7044 MB / 0.7366 GB, free: 2.723 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 5.424e-05/0.5493, allocations: 8.547 kB / 0.7366 GB, free: 2.715 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.152e-05/0.5493, allocations: 19.38 kB / 0.7366 GB, free: 2.695 MB / 0.545 GB Notification: Performance of SimCode: time 2.2e-07/0.5494, allocations: 0 / 0.7366 GB, free: 2.695 MB / 0.545 GB Notification: Performance of Templates: time 0.004969/0.5543, allocations: 1.856 MB / 0.7384 GB, free: 0.8438 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: