Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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 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.Reinhart2003Light,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light") translateModel(Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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.001147/0.001147, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001256/0.001256, allocations: 195.2 kB / 16.53 MB, free: 6.664 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.399/1.399, allocations: 222.9 MB / 240.2 MB, free: 4.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.825/2.825, allocations: 472.6 MB / 0.7451 GB, free: 4.68 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001299/0.001299, allocations: 65.7 kB / 0.912 GB, free: 33.38 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3502/0.3515, allocations: 159.9 MB / 1.068 GB, free: 10.46 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light): time 0.003114/0.3547, allocations: 1.541 MB / 1.07 GB, free: 8.906 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001407/0.3561, allocations: 0.7749 MB / 1.07 GB, free: 8.125 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.166e-05/0.3562, allocations: 0 / 1.07 GB, free: 8.125 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 4.113e-05/0.3563, allocations: 7.875 kB / 1.07 GB, free: 8.117 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.000109/0.3564, allocations: 23.78 kB / 1.07 GB, free: 8.094 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006007/0.357, allocations: 135.6 kB / 1.071 GB, free: 7.961 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.000132/0.3571, allocations: 99.64 kB / 1.071 GB, free: 7.863 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001055/0.3572, allocations: 15.98 kB / 1.071 GB, free: 7.848 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001035/0.3574, allocations: 47.77 kB / 1.071 GB, free: 7.801 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 8.713e-05/0.3575, allocations: 47.83 kB / 1.071 GB, free: 7.754 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.139e-05/0.3575, allocations: 8 kB / 1.071 GB, free: 7.746 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001917/0.3577, allocations: 95.91 kB / 1.071 GB, free: 7.652 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 3.093e-05/0.3577, allocations: 23.91 kB / 1.071 GB, free: 7.629 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 6.333e-05/0.3578, allocations: 43.78 kB / 1.071 GB, free: 7.586 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002499/0.358, allocations: 167.7 kB / 1.071 GB, free: 7.422 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.638e-06/0.3581, allocations: 0 / 1.071 GB, free: 7.422 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.523e-06/0.3581, allocations: 4 kB / 1.071 GB, free: 7.418 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.038e-05/0.3581, allocations: 0 / 1.071 GB, free: 7.418 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0008228/0.3589, allocations: 0.5 MB / 1.072 GB, free: 6.852 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.586e-05/0.3589, allocations: 8.031 kB / 1.072 GB, free: 6.844 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.57e-05/0.359, allocations: 12.84 kB / 1.072 GB, free: 6.832 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001497/0.3592, allocations: 180.2 kB / 1.072 GB, free: 6.617 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.738e-05/0.3592, allocations: 4.375 kB / 1.072 GB, free: 6.613 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.951e-05/0.3592, allocations: 4.375 kB / 1.072 GB, free: 6.609 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002035/0.3594, allocations: 89.89 kB / 1.072 GB, free: 6.516 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.246e-06/0.3594, allocations: 0 / 1.072 GB, free: 6.516 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.473e-05/0.3595, allocations: 3.938 kB / 1.072 GB, free: 6.512 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.821e-06/0.3595, allocations: 4 kB / 1.072 GB, free: 6.508 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001491/0.3596, allocations: 47.95 kB / 1.072 GB, free: 6.461 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005764/0.3602, allocations: 332.6 kB / 1.072 GB, free: 6.086 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002244/0.3604, allocations: 86.66 kB / 1.072 GB, free: 5.992 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.645e-05/0.3605, allocations: 36.83 kB / 1.072 GB, free: 5.953 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.319e-05/0.3606, allocations: 12 kB / 1.072 GB, free: 5.941 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002463/0.3608, allocations: 91.44 kB / 1.072 GB, free: 5.84 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=11): time 1.522e-06/0.3608, allocations: 3.938 kB / 1.072 GB, free: 5.836 MB / 0.8262 GB Notification: Performance of matching and sorting (n=11): time 0.0004436/0.3613, allocations: 177.5 kB / 1.073 GB, free: 5.656 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.044e-05/0.3613, allocations: 51.41 kB / 1.073 GB, free: 5.594 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001244/0.3615, allocations: 151.9 kB / 1.073 GB, free: 5.438 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.968e-05/0.3615, allocations: 29.7 kB / 1.073 GB, free: 5.402 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.297e-05/0.3616, allocations: 96.12 kB / 1.073 GB, free: 5.305 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.043e-05/0.3616, allocations: 27.64 kB / 1.073 GB, free: 5.277 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.841e-05/0.3617, allocations: 33.7 kB / 1.073 GB, free: 5.238 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001068/0.3618, allocations: 326.8 kB / 1.073 GB, free: 4.91 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.882e-05/0.3619, allocations: 27.98 kB / 1.073 GB, free: 4.883 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001034/0.362, allocations: 74.47 kB / 1.073 GB, free: 4.793 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001816/0.3622, allocations: 109.1 kB / 1.074 GB, free: 4.668 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.3622, allocations: 0 / 1.074 GB, free: 4.668 MB / 0.8262 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002477/0.3624, allocations: 145.3 kB / 1.074 GB, free: 4.52 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.78e-05/0.3625, allocations: 9.703 kB / 1.074 GB, free: 4.512 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.3625, allocations: 0 / 1.074 GB, free: 4.512 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.722e-05/0.3625, allocations: 8 kB / 1.074 GB, free: 4.504 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001159/0.3626, allocations: 15.98 kB / 1.074 GB, free: 4.488 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.286e-06/0.3626, allocations: 7.938 kB / 1.074 GB, free: 4.48 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001015/0.3627, allocations: 11.92 kB / 1.074 GB, free: 4.469 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.68e-05/0.3628, allocations: 8 kB / 1.074 GB, free: 4.461 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,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 9.949e-05/0.3629, allocations: 126.4 kB / 1.074 GB, free: 4.328 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.584e-05/0.3629, allocations: 7.906 kB / 1.074 GB, free: 4.32 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003746/0.3633, allocations: 177.6 kB / 1.074 GB, free: 4.141 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.679e-06/0.3633, allocations: 0 / 1.074 GB, free: 4.141 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.3633, allocations: 3.938 kB / 1.074 GB, free: 4.137 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.3633, allocations: 4 kB / 1.074 GB, free: 4.133 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00062/0.3639, allocations: 466.2 kB / 1.074 GB, free: 3.621 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.436e-06/0.364, allocations: 3.984 kB / 1.074 GB, free: 3.617 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.115e-05/0.364, allocations: 12 kB / 1.074 GB, free: 3.605 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.3641, allocations: 0 / 1.074 GB, free: 3.605 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.61e-05/0.3641, allocations: 7.984 kB / 1.075 GB, free: 3.598 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.3641, allocations: 0 / 1.075 GB, free: 3.598 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.3641, allocations: 7.875 kB / 1.075 GB, free: 3.59 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003274/0.3644, allocations: 251.3 kB / 1.075 GB, free: 3.328 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.846e-05/0.3645, allocations: 89.02 kB / 1.075 GB, free: 3.223 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.693e-05/0.3645, allocations: 3.938 kB / 1.075 GB, free: 3.219 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001243/0.3646, allocations: 7.984 kB / 1.075 GB, free: 3.211 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.588e-05/0.3647, allocations: 20.06 kB / 1.075 GB, free: 3.191 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.687e-05/0.3647, allocations: 4 kB / 1.075 GB, free: 3.188 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 7.09e-05/0.3648, allocations: 108.8 kB / 1.075 GB, free: 3.082 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3648, allocations: 4 kB / 1.075 GB, free: 3.078 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003227/0.3651, allocations: 40 kB / 1.075 GB, free: 3.039 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 (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.0004446/0.3656, allocations: 167.6 kB / 1.075 GB, free: 2.883 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003058/0.3659, allocations: 108 kB / 1.075 GB, free: 2.777 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.3659, allocations: 0 / 1.075 GB, free: 2.777 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001266/0.3661, allocations: 55.97 kB / 1.075 GB, free: 2.723 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003174/0.3664, allocations: 17.41 kB / 1.075 GB, free: 2.707 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005416/0.3669, allocations: 247.6 kB / 1.076 GB, free: 2.441 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002395/0.3672, allocations: 0.7002 MB / 1.076 GB, free: 1.715 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 5.678e-05/0.3672, allocations: 16.48 kB / 1.076 GB, free: 1.695 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.851e-05/0.3673, allocations: 15.44 kB / 1.076 GB, free: 1.68 MB / 0.8262 GB Notification: Performance of SimCode: time 2.4e-07/0.3673, allocations: 0 / 1.076 GB, free: 1.68 MB / 0.8262 GB Notification: Performance of Templates: time 0.005145/0.3724, allocations: 1.989 MB / 1.078 GB, free: 15.7 MB / 0.8419 GB make -j1 -f Buildings_1.6_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.makefile (rm -f Buildings_1.6_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.pipe ; mkfifo Buildings_1.6_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.pipe >> ../files/Buildings_1.6_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.sim & ./Buildings_1.6_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.pipe 2>&1)