Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.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.Hunt1979Light,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light") translateModel(Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001461/0.001461, 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.002135/0.002135, allocations: 194.3 kB / 16.14 MB, free: 6.688 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.459/1.459, allocations: 222.9 MB / 239.8 MB, free: 4.621 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.878/2.878, allocations: 472.6 MB / 0.7447 GB, free: 4.922 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001359/0.001359, allocations: 61.03 kB / 0.9113 GB, free: 33.57 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3639/0.3653, allocations: 159.9 MB / 1.068 GB, free: 10.9 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light): time 0.003814/0.3691, allocations: 1.572 MB / 1.069 GB, free: 9.316 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001614/0.3708, allocations: 0.7596 MB / 1.07 GB, free: 8.551 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.289e-05/0.3709, allocations: 4 kB / 1.07 GB, free: 8.547 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 5.067e-05/0.371, allocations: 7.922 kB / 1.07 GB, free: 8.539 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001064/0.3711, allocations: 11.92 kB / 1.07 GB, free: 8.527 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006009/0.3717, allocations: 103.8 kB / 1.07 GB, free: 8.426 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001442/0.3719, allocations: 91.64 kB / 1.07 GB, free: 8.336 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001355/0.372, allocations: 11.98 kB / 1.07 GB, free: 8.324 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001256/0.3722, allocations: 31.91 kB / 1.07 GB, free: 8.293 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001062/0.3723, allocations: 43.83 kB / 1.07 GB, free: 8.25 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.628e-05/0.3723, allocations: 4 kB / 1.07 GB, free: 8.246 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002363/0.3726, allocations: 95.84 kB / 1.07 GB, free: 8.152 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 4.296e-05/0.3726, allocations: 23.84 kB / 1.07 GB, free: 8.129 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 8.326e-05/0.3727, allocations: 31.8 kB / 1.07 GB, free: 8.098 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002648/0.373, allocations: 147.9 kB / 1.07 GB, free: 7.953 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.541e-06/0.373, allocations: 0 / 1.07 GB, free: 7.953 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.082e-06/0.373, allocations: 0 / 1.07 GB, free: 7.953 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.04e-06/0.373, allocations: 0 / 1.07 GB, free: 7.953 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.0008933/0.3739, allocations: 488.2 kB / 1.071 GB, free: 7.418 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.493e-05/0.374, allocations: 8.031 kB / 1.071 GB, free: 7.41 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.498e-05/0.374, allocations: 12.84 kB / 1.071 GB, free: 7.398 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001519/0.3742, allocations: 180.2 kB / 1.071 GB, free: 7.184 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.836e-05/0.3743, allocations: 34.27 kB / 1.071 GB, free: 7.145 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.41e-05/0.3743, allocations: 4.375 kB / 1.071 GB, free: 7.141 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002362/0.3745, allocations: 81.77 kB / 1.071 GB, free: 7.055 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/0.3746, allocations: 4 kB / 1.071 GB, free: 7.051 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.58e-05/0.3746, allocations: 0 / 1.071 GB, free: 7.051 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.15e-06/0.3746, allocations: 0 / 1.071 GB, free: 7.051 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002259/0.3748, allocations: 55.89 kB / 1.071 GB, free: 6.996 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005696/0.3754, allocations: 320.7 kB / 1.072 GB, free: 6.633 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002176/0.3756, allocations: 70.52 kB / 1.072 GB, free: 6.555 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001174/0.3758, allocations: 44.88 kB / 1.072 GB, free: 6.508 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.346e-05/0.3758, allocations: 160 / 1.072 GB, free: 6.508 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003087/0.3761, allocations: 103.3 kB / 1.072 GB, free: 6.395 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=10): time 1.573e-06/0.3761, allocations: 0 / 1.072 GB, free: 6.395 MB / 0.8262 GB Notification: Performance of matching and sorting (n=10): time 0.0005218/0.3767, allocations: 165.7 kB / 1.072 GB, free: 6.227 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.217e-05/0.3767, allocations: 55.41 kB / 1.072 GB, free: 6.16 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001252/0.3768, allocations: 130.2 kB / 1.072 GB, free: 6.02 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.053e-05/0.3769, allocations: 33.64 kB / 1.072 GB, free: 5.98 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.331e-05/0.3769, allocations: 96.38 kB / 1.072 GB, free: 5.879 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.918e-05/0.377, allocations: 27.64 kB / 1.072 GB, free: 5.852 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.626e-05/0.377, allocations: 33.7 kB / 1.072 GB, free: 5.812 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001202/0.3772, allocations: 322.8 kB / 1.073 GB, free: 5.488 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001111/0.3773, allocations: 23.98 kB / 1.073 GB, free: 5.465 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001338/0.3774, allocations: 81.06 kB / 1.073 GB, free: 5.367 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002428/0.3777, allocations: 101 kB / 1.073 GB, free: 5.25 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.918e-06/0.3777, allocations: 8 kB / 1.073 GB, free: 5.242 MB / 0.8262 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003095/0.378, allocations: 129.4 kB / 1.073 GB, free: 5.109 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.608e-05/0.378, allocations: 4 kB / 1.073 GB, free: 5.105 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/0.378, allocations: 4 kB / 1.073 GB, free: 5.102 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.362e-05/0.3781, allocations: 4 kB / 1.073 GB, free: 5.098 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001387/0.3782, allocations: 19.92 kB / 1.073 GB, free: 5.078 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.618e-06/0.3782, allocations: 7.938 kB / 1.073 GB, free: 5.07 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001234/0.3783, allocations: 24.02 kB / 1.073 GB, free: 5.047 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.452e-05/0.3784, allocations: 4 kB / 1.073 GB, free: 5.043 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 9.95e-05/0.3785, allocations: 125.8 kB / 1.073 GB, free: 4.91 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.336e-05/0.3785, allocations: 7.906 kB / 1.073 GB, free: 4.902 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.25e-05/0.3786, allocations: 12.72 kB / 1.073 GB, free: 4.887 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.3786, allocations: 0 / 1.073 GB, free: 4.887 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.142e-06/0.3786, allocations: 0 / 1.073 GB, free: 4.887 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.3786, allocations: 4 kB / 1.073 GB, free: 4.883 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006727/0.3793, allocations: 438.1 kB / 1.073 GB, free: 4.398 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.3793, allocations: 0 / 1.073 GB, free: 4.398 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.132e-05/0.3794, allocations: 11.98 kB / 1.074 GB, free: 4.387 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.424e-06/0.3794, allocations: 0 / 1.074 GB, free: 4.387 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.386e-05/0.3794, allocations: 0 / 1.074 GB, free: 4.387 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.141e-06/0.3794, allocations: 3.938 kB / 1.074 GB, free: 4.383 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.3794, allocations: 4 kB / 1.074 GB, free: 4.379 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003593/0.3798, allocations: 231.4 kB / 1.074 GB, free: 4.137 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.221e-05/0.3798, allocations: 85.02 kB / 1.074 GB, free: 4.035 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.587e-05/0.3799, allocations: 4.094 kB / 1.074 GB, free: 4.031 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001388/0.38, allocations: 15.92 kB / 1.074 GB, free: 4.016 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.589e-05/0.3801, allocations: 15.97 kB / 1.074 GB, free: 4 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.869e-05/0.3801, allocations: 7.984 kB / 1.074 GB, free: 3.992 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 7.826e-05/0.3802, allocations: 101.2 kB / 1.074 GB, free: 3.895 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3802, allocations: 0 / 1.074 GB, free: 3.895 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003335/0.3805, allocations: 40 kB / 1.074 GB, free: 3.855 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 (10): * Single equations (assignments): 7 * 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.0003536/0.3809, allocations: 168.4 kB / 1.074 GB, free: 3.699 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.000322/0.3812, allocations: 87.88 kB / 1.074 GB, free: 3.613 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.467e-06/0.3812, allocations: 0 / 1.074 GB, free: 3.613 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001491/0.3814, allocations: 55.84 kB / 1.074 GB, free: 3.559 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000312/0.3817, allocations: 12.52 kB / 1.074 GB, free: 3.547 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005229/0.3822, allocations: 221.4 kB / 1.075 GB, free: 3.305 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002962/0.3826, allocations: 0.7004 MB / 1.075 GB, free: 2.578 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 6.32e-05/0.3826, allocations: 4.672 kB / 1.075 GB, free: 2.574 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.54e-05/0.3827, allocations: 11.44 kB / 1.075 GB, free: 2.562 MB / 0.8262 GB Notification: Performance of SimCode: time 2.7e-07/0.3827, allocations: 0 / 1.075 GB, free: 2.562 MB / 0.8262 GB Notification: Performance of Templates: time 0.005171/0.3879, allocations: 1.67 MB / 1.077 GB, free: 0.9023 MB / 0.8262 GB make -j1 -f Buildings_1.6_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.makefile (rm -f Buildings_1.6_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe ; mkfifo Buildings_1.6_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe >> ../files/Buildings_1.6_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.sim & ./Buildings_1.6_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe 2>&1)