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.001068/0.001067, allocations: 97.97 kB / 15.05 MB, free: 1.105 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.001052/0.001052, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.752/1.752, allocations: 205.4 MB / 222.1 MB, free: 5.645 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.591/1.591, allocations: 251.9 MB / 0.51 GB, free: 4.859 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.000647/0.0006472, allocations: 16 kB / 0.6241 GB, free: 1.215 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7544/0.7551, allocations: 106.3 MB / 0.728 GB, free: 11.44 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light): time 0.001963/0.7571, allocations: 1.234 MB / 0.7292 GB, free: 10.2 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001458/0.7586, allocations: 0.7606 MB / 0.7299 GB, free: 9.426 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.023e-05/0.7587, allocations: 0 / 0.7299 GB, free: 9.426 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.555e-05/0.7587, allocations: 7.922 kB / 0.7299 GB, free: 9.418 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001502/0.7588, allocations: 19.91 kB / 0.7299 GB, free: 9.398 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005866/0.7594, allocations: 99.75 kB / 0.73 GB, free: 9.301 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001162/0.7596, allocations: 59.86 kB / 0.7301 GB, free: 9.242 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001137/0.7597, allocations: 11.98 kB / 0.7301 GB, free: 9.23 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001273/0.7598, allocations: 43.78 kB / 0.7302 GB, free: 9.188 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 9.161e-05/0.7599, allocations: 47.81 kB / 0.7302 GB, free: 9.141 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.81e-05/0.76, allocations: 4 kB / 0.7302 GB, free: 9.137 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001691/0.7601, allocations: 67.94 kB / 0.7303 GB, free: 9.07 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 3.388e-05/0.7602, allocations: 19.91 kB / 0.7303 GB, free: 9.051 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 5.425e-05/0.7602, allocations: 37.64 kB / 0.7303 GB, free: 9.008 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002476/0.7605, allocations: 113.8 kB / 0.7304 GB, free: 8.898 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.7605, allocations: 0 / 0.7304 GB, free: 8.898 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.973e-06/0.7605, allocations: 0 / 0.7304 GB, free: 8.898 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.57e-06/0.7605, allocations: 0 / 0.7304 GB, free: 8.898 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.0009154/0.7614, allocations: 0.4922 MB / 0.7309 GB, free: 8.34 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.605e-05/0.7615, allocations: 8.031 kB / 0.7309 GB, free: 8.332 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.157e-05/0.7616, allocations: 15.77 kB / 0.7309 GB, free: 8.316 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001973/0.7618, allocations: 177.8 kB / 0.7311 GB, free: 8.105 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.247e-05/0.7618, allocations: 19.86 kB / 0.7311 GB, free: 8.086 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.235e-05/0.7618, allocations: 4 kB / 0.7311 GB, free: 8.082 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002164/0.762, allocations: 73.64 kB / 0.7312 GB, free: 8.004 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.316e-05/0.7621, allocations: 4 kB / 0.7312 GB, free: 8 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.7e-05/0.7621, allocations: 8 kB / 0.7312 GB, free: 7.992 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.969e-06/0.7621, allocations: 0 / 0.7312 GB, free: 7.992 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001528/0.7623, allocations: 55.91 kB / 0.7313 GB, free: 7.938 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007349/0.763, allocations: 336.7 kB / 0.7316 GB, free: 7.559 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002377/0.7633, allocations: 86.66 kB / 0.7317 GB, free: 7.465 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.719e-05/0.7633, allocations: 4 kB / 0.7317 GB, free: 7.461 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003376/0.7637, allocations: 99.39 kB / 0.7318 GB, free: 7.352 MB / 0.545 GB Notification: Performance of pre-optimization done (n=11): time 1.362e-06/0.7637, allocations: 4 kB / 0.7318 GB, free: 7.348 MB / 0.545 GB Notification: Performance of matching and sorting (n=11): time 0.0004747/0.7642, allocations: 177.4 kB / 0.7319 GB, free: 7.168 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.901e-05/0.7642, allocations: 63.39 kB / 0.732 GB, free: 7.094 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001471/0.7644, allocations: 137.7 kB / 0.7321 GB, free: 6.949 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.767e-05/0.7644, allocations: 33.7 kB / 0.7322 GB, free: 6.91 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 7.978e-05/0.7645, allocations: 92.12 kB / 0.7322 GB, free: 6.816 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.975e-05/0.7646, allocations: 31.8 kB / 0.7323 GB, free: 6.785 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.105e-05/0.7646, allocations: 8 kB / 0.7323 GB, free: 6.777 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001394/0.7647, allocations: 318.8 kB / 0.7326 GB, free: 6.457 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.081e-05/0.7648, allocations: 35.92 kB / 0.7326 GB, free: 6.422 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001195/0.7649, allocations: 69.12 kB / 0.7327 GB, free: 6.336 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.821e-05/0.765, allocations: 35.98 kB / 0.7327 GB, free: 6.301 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.765, allocations: 0 / 0.7327 GB, free: 6.301 MB / 0.545 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002435/0.7653, allocations: 141.4 kB / 0.7329 GB, free: 6.156 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.852e-05/0.7653, allocations: 17.83 kB / 0.7329 GB, free: 6.141 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.7653, allocations: 0 / 0.7329 GB, free: 6.141 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.565e-05/0.7654, allocations: 4 kB / 0.7329 GB, free: 6.137 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001072/0.7655, allocations: 19.92 kB / 0.7329 GB, free: 6.117 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.636e-06/0.7655, allocations: 4 kB / 0.7329 GB, free: 6.113 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001008/0.7656, allocations: 19.92 kB / 0.7329 GB, free: 6.094 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.307e-05/0.7656, allocations: 4 kB / 0.7329 GB, free: 6.09 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 ($PRE.lig.curSeed,lig.curSeed,$PRE.lig.on,lig.on,$whenCondition3,$whenCondition2,lig.sampleTrigger,$whenCondition1,booleanPulse.y,$PRE.booleanPulse.pulseStart,booleanPulse.pulseStart) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001125/0.7657, allocations: 125.8 kB / 0.733 GB, free: 5.957 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.709e-05/0.7657, allocations: 11.98 kB / 0.7331 GB, free: 5.945 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003607/0.7661, allocations: 189.1 kB / 0.7332 GB, free: 5.758 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.7661, allocations: 4 kB / 0.7332 GB, free: 5.754 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.7661, allocations: 3.938 kB / 0.7332 GB, free: 5.75 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.347e-06/0.7661, allocations: 0 / 0.7332 GB, free: 5.75 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006015/0.7668, allocations: 466.4 kB / 0.7337 GB, free: 5.238 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.7668, allocations: 4 kB / 0.7337 GB, free: 5.234 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.57e-05/0.7669, allocations: 11.98 kB / 0.7337 GB, free: 5.223 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.7669, allocations: 4 kB / 0.7337 GB, free: 5.219 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.149e-05/0.7669, allocations: 0 / 0.7337 GB, free: 5.219 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.7669, allocations: 4 kB / 0.7337 GB, free: 5.215 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.7669, allocations: 0 / 0.7337 GB, free: 5.215 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003274/0.7672, allocations: 259.2 kB / 0.734 GB, free: 4.945 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.95e-05/0.7673, allocations: 96.89 kB / 0.7341 GB, free: 4.832 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.363e-05/0.7673, allocations: 0 / 0.7341 GB, free: 4.832 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001212/0.7675, allocations: 19.98 kB / 0.7341 GB, free: 4.812 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.413e-05/0.7675, allocations: 11.98 kB / 0.7341 GB, free: 4.801 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.835e-05/0.7675, allocations: 4 kB / 0.7341 GB, free: 4.797 MB / 0.545 GB Notification: Performance of sorting global known variables: time 7.618e-05/0.7676, allocations: 106.5 kB / 0.7342 GB, free: 4.695 MB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/0.7676, allocations: 0 / 0.7342 GB, free: 4.695 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003119/0.7679, allocations: 44 kB / 0.7342 GB, free: 4.652 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004418/0.7684, allocations: 160.5 kB / 0.7344 GB, free: 4.504 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002713/0.7687, allocations: 99.83 kB / 0.7345 GB, free: 4.406 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.7687, allocations: 0 / 0.7345 GB, free: 4.406 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001236/0.7688, allocations: 63.95 kB / 0.7345 GB, free: 4.344 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000239/0.7691, allocations: 28.06 kB / 0.7346 GB, free: 4.316 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005241/0.7696, allocations: 267.1 kB / 0.7348 GB, free: 4.027 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000265/0.7699, allocations: 0.7043 MB / 0.7355 GB, free: 3.297 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 5.197e-05/0.7699, allocations: 12.81 kB / 0.7355 GB, free: 3.285 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.649e-05/0.77, allocations: 15.44 kB / 0.7355 GB, free: 3.27 MB / 0.545 GB Notification: Performance of SimCode: time 2.2e-07/0.77, allocations: 0 / 0.7355 GB, free: 3.27 MB / 0.545 GB Notification: Performance of Templates: time 0.004711/0.7747, allocations: 1.8 MB / 0.7373 GB, free: 1.477 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: