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.001483/0.001483, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001879/0.001879, allocations: 191.7 kB / 16.25 MB, free: 6.625 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.411/1.411, allocations: 222.9 MB / 239.9 MB, free: 4.496 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.765/2.765, allocations: 472.6 MB / 0.7448 GB, free: 4.91 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001244/0.001244, allocations: 62.22 kB / 0.9115 GB, free: 33.49 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3621/0.3633, allocations: 159.9 MB / 1.068 GB, free: 10.79 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Love1998Light1): time 0.002756/0.3661, allocations: 1.57 MB / 1.069 GB, free: 9.211 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001254/0.3674, allocations: 0.7516 MB / 1.07 GB, free: 8.453 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.517e-05/0.3675, allocations: 4 kB / 1.07 GB, free: 8.449 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.608e-05/0.3675, allocations: 11.92 kB / 1.07 GB, free: 8.438 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 8.041e-05/0.3676, allocations: 3.938 kB / 1.07 GB, free: 8.434 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005472/0.3682, allocations: 111.8 kB / 1.07 GB, free: 8.324 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001243/0.3683, allocations: 91.69 kB / 1.07 GB, free: 8.234 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 9.174e-05/0.3684, allocations: 7.984 kB / 1.07 GB, free: 8.227 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001183/0.3685, allocations: 43.84 kB / 1.07 GB, free: 8.184 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 7.256e-05/0.3686, allocations: 43.83 kB / 1.07 GB, free: 8.141 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.015e-05/0.3686, allocations: 8 kB / 1.07 GB, free: 8.133 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002118/0.3688, allocations: 95.84 kB / 1.07 GB, free: 8.039 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 3.052e-05/0.3689, allocations: 15.92 kB / 1.07 GB, free: 8.023 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 5.454e-05/0.3689, allocations: 39.84 kB / 1.07 GB, free: 7.984 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.000253/0.3692, allocations: 147.9 kB / 1.071 GB, free: 7.84 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.062e-06/0.3692, allocations: 0 / 1.071 GB, free: 7.84 MB / 0.8262 GB Notification: Performance of FrontEnd: time 3.647e-06/0.3692, allocations: 0 / 1.071 GB, free: 7.84 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.255e-05/0.3692, allocations: 0 / 1.071 GB, free: 7.84 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.0008043/0.3701, allocations: 466.5 kB / 1.071 GB, free: 7.324 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.615e-05/0.3701, allocations: 8.031 kB / 1.071 GB, free: 7.316 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.503e-05/0.3701, allocations: 4.938 kB / 1.071 GB, free: 7.312 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001616/0.3703, allocations: 184.1 kB / 1.071 GB, free: 7.094 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.715e-05/0.3703, allocations: 4.375 kB / 1.071 GB, free: 7.09 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.718e-05/0.3704, allocations: 8.312 kB / 1.071 GB, free: 7.082 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001969/0.3706, allocations: 77.95 kB / 1.071 GB, free: 7 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.785e-06/0.3706, allocations: 0 / 1.071 GB, free: 7 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.298e-05/0.3706, allocations: 4 kB / 1.071 GB, free: 6.996 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.173e-06/0.3706, allocations: 4 kB / 1.071 GB, free: 6.992 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001303/0.3707, allocations: 39.97 kB / 1.071 GB, free: 6.953 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005739/0.3713, allocations: 320.6 kB / 1.072 GB, free: 6.59 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001655/0.3715, allocations: 70.5 kB / 1.072 GB, free: 6.512 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.857e-05/0.3716, allocations: 32.84 kB / 1.072 GB, free: 6.477 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.04e-05/0.3716, allocations: 4.141 kB / 1.072 GB, free: 6.473 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002329/0.3719, allocations: 95.38 kB / 1.072 GB, free: 6.367 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=10): time 1.693e-06/0.3719, allocations: 0 / 1.072 GB, free: 6.367 MB / 0.8262 GB Notification: Performance of matching and sorting (n=10): time 0.0004061/0.3723, allocations: 153.5 kB / 1.072 GB, free: 6.211 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.57e-05/0.3723, allocations: 67.39 kB / 1.072 GB, free: 6.133 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001125/0.3725, allocations: 121.8 kB / 1.072 GB, free: 6.004 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.547e-05/0.3725, allocations: 33.7 kB / 1.072 GB, free: 5.965 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.085e-05/0.3725, allocations: 88.36 kB / 1.072 GB, free: 5.871 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.158e-05/0.3726, allocations: 19.72 kB / 1.072 GB, free: 5.852 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.46e-05/0.3726, allocations: 33.7 kB / 1.072 GB, free: 5.812 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001246/0.3728, allocations: 322.8 kB / 1.073 GB, free: 5.488 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.526e-05/0.3729, allocations: 31.98 kB / 1.073 GB, free: 5.457 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001088/0.373, allocations: 68.62 kB / 1.073 GB, free: 5.375 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001769/0.3732, allocations: 117 kB / 1.073 GB, free: 5.242 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.3732, allocations: 0 / 1.073 GB, free: 5.242 MB / 0.8262 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002441/0.3734, allocations: 125.4 kB / 1.073 GB, free: 5.113 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.673e-05/0.3734, allocations: 4 kB / 1.073 GB, free: 5.109 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.3735, allocations: 3.938 kB / 1.073 GB, free: 5.105 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.221e-05/0.3735, allocations: 4 kB / 1.073 GB, free: 5.102 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001155/0.3736, allocations: 20.11 kB / 1.073 GB, free: 5.082 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.293e-06/0.3736, allocations: 0 / 1.073 GB, free: 5.082 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001065/0.3737, allocations: 19.92 kB / 1.073 GB, free: 5.062 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.346e-05/0.3737, allocations: 4 kB / 1.073 GB, free: 5.059 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.0001116/0.3739, allocations: 131.2 kB / 1.073 GB, free: 4.922 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.865e-05/0.3739, allocations: 3.906 kB / 1.073 GB, free: 4.918 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003165/0.3742, allocations: 150 kB / 1.073 GB, free: 4.766 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.3742, allocations: 384 / 1.073 GB, free: 4.766 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.678e-06/0.3742, allocations: 3.938 kB / 1.073 GB, free: 4.762 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.3742, allocations: 0 / 1.073 GB, free: 4.762 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005689/0.3748, allocations: 430.3 kB / 1.074 GB, free: 4.285 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.3748, allocations: 3.938 kB / 1.074 GB, free: 4.281 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.253e-05/0.3749, allocations: 15.92 kB / 1.074 GB, free: 4.266 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.3749, allocations: 0 / 1.074 GB, free: 4.266 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.274e-05/0.3749, allocations: 8 kB / 1.074 GB, free: 4.258 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.3749, allocations: 0 / 1.074 GB, free: 4.258 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.375, allocations: 3.938 kB / 1.074 GB, free: 4.254 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002987/0.3753, allocations: 227.3 kB / 1.074 GB, free: 4.016 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.308e-05/0.3753, allocations: 88.95 kB / 1.074 GB, free: 3.91 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.513e-05/0.3753, allocations: 0 / 1.074 GB, free: 3.91 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001227/0.3755, allocations: 15.98 kB / 1.074 GB, free: 3.895 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.491e-05/0.3755, allocations: 15.92 kB / 1.074 GB, free: 3.879 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.77e-05/0.3756, allocations: 7.984 kB / 1.074 GB, free: 3.871 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.742e-05/0.3756, allocations: 99.27 kB / 1.074 GB, free: 3.773 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3756, allocations: 0 / 1.074 GB, free: 3.773 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003311/0.376, allocations: 40 kB / 1.074 GB, free: 3.734 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.0003508/0.3763, allocations: 164 kB / 1.074 GB, free: 3.578 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002564/0.3766, allocations: 87.77 kB / 1.074 GB, free: 3.492 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.3766, allocations: 0 / 1.074 GB, free: 3.492 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001124/0.3767, allocations: 51.91 kB / 1.074 GB, free: 3.441 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003136/0.377, allocations: 17.66 kB / 1.074 GB, free: 3.426 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004767/0.3775, allocations: 231.8 kB / 1.075 GB, free: 3.172 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002701/0.3778, allocations: 0.6924 MB / 1.075 GB, free: 2.453 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 5.406e-05/0.3779, allocations: 16.42 kB / 1.075 GB, free: 2.438 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.697e-05/0.3779, allocations: 15.42 kB / 1.075 GB, free: 2.422 MB / 0.8262 GB Notification: Performance of SimCode: time 1.653e-06/0.3779, allocations: 0 / 1.075 GB, free: 2.422 MB / 0.8262 GB Notification: Performance of Templates: time 0.004603/0.3825, allocations: 1.724 MB / 1.077 GB, free: 0.6992 MB / 0.8262 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)