Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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_3.0.0_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1") translateModel(Buildings.Occupants.Office.Lighting.Validation.Love1998Light1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_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.001524/0.001524, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.002415/0.002414, allocations: 192 kB / 16.14 MB, free: 6.656 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.415/1.415, allocations: 222.9 MB / 239.8 MB, free: 4.602 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.894/2.894, allocations: 472.6 MB / 0.7447 GB, free: 5.012 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001261/0.00126, allocations: 62.03 kB / 0.9113 GB, free: 33.55 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3665/0.3677, allocations: 159.9 MB / 1.068 GB, free: 10.92 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Love1998Light1): time 0.002769/0.3706, allocations: 1.558 MB / 1.069 GB, free: 9.352 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001287/0.3719, allocations: 0.7634 MB / 1.07 GB, free: 8.582 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.759e-05/0.3719, allocations: 0 / 1.07 GB, free: 8.582 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.91e-05/0.372, allocations: 7.922 kB / 1.07 GB, free: 8.574 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001002/0.3721, allocations: 15.86 kB / 1.07 GB, free: 8.559 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004553/0.3725, allocations: 107.7 kB / 1.07 GB, free: 8.453 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001127/0.3727, allocations: 83.7 kB / 1.07 GB, free: 8.371 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 8.966e-05/0.3728, allocations: 15.98 kB / 1.07 GB, free: 8.355 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 9.294e-05/0.3729, allocations: 35.89 kB / 1.07 GB, free: 8.32 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 6.491e-05/0.3729, allocations: 35.84 kB / 1.07 GB, free: 8.285 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.827e-05/0.373, allocations: 4 kB / 1.07 GB, free: 8.281 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001725/0.3731, allocations: 95.84 kB / 1.07 GB, free: 8.188 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.441e-05/0.3732, allocations: 11.92 kB / 1.07 GB, free: 8.176 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 5.429e-05/0.3732, allocations: 35.84 kB / 1.07 GB, free: 8.141 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002175/0.3735, allocations: 143.9 kB / 1.07 GB, free: 8 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 7.184e-06/0.3735, allocations: 3.984 kB / 1.07 GB, free: 7.996 MB / 0.8262 GB Notification: Performance of FrontEnd: time 8.32e-07/0.3735, allocations: 0 / 1.07 GB, free: 7.996 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.102e-06/0.3735, allocations: 0 / 1.07 GB, free: 7.996 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.0007915/0.3743, allocations: 462.6 kB / 1.071 GB, free: 7.484 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.664e-05/0.3743, allocations: 8.031 kB / 1.071 GB, free: 7.477 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.738e-05/0.3744, allocations: 8.922 kB / 1.071 GB, free: 7.469 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001492/0.3745, allocations: 180.1 kB / 1.071 GB, free: 7.254 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.8e-05/0.3746, allocations: 12.38 kB / 1.071 GB, free: 7.242 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.237e-05/0.3746, allocations: 4.375 kB / 1.071 GB, free: 7.238 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002016/0.3748, allocations: 81.94 kB / 1.071 GB, free: 7.152 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.855e-06/0.3748, allocations: 0 / 1.071 GB, free: 7.152 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.511e-05/0.3748, allocations: 0 / 1.071 GB, free: 7.152 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.658e-06/0.3749, allocations: 0 / 1.071 GB, free: 7.152 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001384/0.375, allocations: 47.91 kB / 1.071 GB, free: 7.105 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005518/0.3756, allocations: 320.7 kB / 1.071 GB, free: 6.742 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001532/0.3757, allocations: 66.55 kB / 1.071 GB, free: 6.668 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.061e-05/0.3758, allocations: 28.84 kB / 1.072 GB, free: 6.637 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.073e-05/0.3758, allocations: 4 kB / 1.072 GB, free: 6.633 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002393/0.3761, allocations: 95.39 kB / 1.072 GB, free: 6.527 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=10): time 1.513e-06/0.3761, allocations: 0 / 1.072 GB, free: 6.527 MB / 0.8262 GB Notification: Performance of matching and sorting (n=10): time 0.0004204/0.3765, allocations: 161.4 kB / 1.072 GB, free: 6.363 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.178e-05/0.3766, allocations: 55.41 kB / 1.072 GB, free: 6.297 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001029/0.3767, allocations: 133.1 kB / 1.072 GB, free: 6.16 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.221e-05/0.3767, allocations: 33.7 kB / 1.072 GB, free: 6.121 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.934e-05/0.3768, allocations: 88.36 kB / 1.072 GB, free: 6.027 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.25e-05/0.3768, allocations: 23.72 kB / 1.072 GB, free: 6.004 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.126e-05/0.3769, allocations: 33.7 kB / 1.072 GB, free: 5.965 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001064/0.377, allocations: 322.8 kB / 1.072 GB, free: 5.641 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.627e-05/0.3771, allocations: 27.98 kB / 1.072 GB, free: 5.613 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.991e-05/0.3772, allocations: 69.06 kB / 1.073 GB, free: 5.527 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00017/0.3773, allocations: 101.1 kB / 1.073 GB, free: 5.41 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.526e-06/0.3774, allocations: 0 / 1.073 GB, free: 5.41 MB / 0.8262 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002358/0.3776, allocations: 137.4 kB / 1.073 GB, free: 5.27 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.572e-05/0.3776, allocations: 4 kB / 1.073 GB, free: 5.266 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.3776, allocations: 0 / 1.073 GB, free: 5.266 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.303e-05/0.3776, allocations: 4 kB / 1.073 GB, free: 5.262 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001265/0.3778, allocations: 19.92 kB / 1.073 GB, free: 5.242 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.324e-06/0.3778, allocations: 0 / 1.073 GB, free: 5.242 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001077/0.3779, allocations: 19.92 kB / 1.073 GB, free: 5.223 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.402e-05/0.3779, allocations: 4 kB / 1.073 GB, free: 5.219 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.589e-05/0.378, allocations: 123.9 kB / 1.073 GB, free: 5.09 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.871e-05/0.378, allocations: 7.906 kB / 1.073 GB, free: 5.082 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000313/0.3784, allocations: 145.9 kB / 1.073 GB, free: 4.934 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.507e-06/0.3784, allocations: 8.078 kB / 1.073 GB, free: 4.926 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.3784, allocations: 0 / 1.073 GB, free: 4.926 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.3784, allocations: 3.984 kB / 1.073 GB, free: 4.922 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005443/0.379, allocations: 434.4 kB / 1.073 GB, free: 4.441 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-06/0.379, allocations: 4 kB / 1.073 GB, free: 4.438 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.856e-05/0.379, allocations: 11.98 kB / 1.073 GB, free: 4.426 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.379, allocations: 0 / 1.073 GB, free: 4.426 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.449e-05/0.3791, allocations: 4 kB / 1.073 GB, free: 4.422 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.3791, allocations: 0 / 1.073 GB, free: 4.422 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.3791, allocations: 3.938 kB / 1.074 GB, free: 4.418 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002797/0.3794, allocations: 231.3 kB / 1.074 GB, free: 4.176 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.299e-05/0.3794, allocations: 89.33 kB / 1.074 GB, free: 4.07 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.348e-05/0.3794, allocations: 3.938 kB / 1.074 GB, free: 4.066 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001197/0.3796, allocations: 15.98 kB / 1.074 GB, free: 4.051 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.547e-05/0.3796, allocations: 11.92 kB / 1.074 GB, free: 4.039 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.641e-05/0.3797, allocations: 7.938 kB / 1.074 GB, free: 4.031 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 6.73e-05/0.3797, allocations: 99.27 kB / 1.074 GB, free: 3.934 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3797, allocations: 0 / 1.074 GB, free: 3.934 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003073/0.38, allocations: 39.98 kB / 1.074 GB, free: 3.895 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.0003249/0.3804, allocations: 158.4 kB / 1.074 GB, free: 3.746 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.000241/0.3806, allocations: 91.83 kB / 1.074 GB, free: 3.656 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.3806, allocations: 0 / 1.074 GB, free: 3.656 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001107/0.3808, allocations: 48.17 kB / 1.074 GB, free: 3.609 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002927/0.3811, allocations: 15.98 kB / 1.074 GB, free: 3.594 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004738/0.3815, allocations: 225.4 kB / 1.074 GB, free: 3.344 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002712/0.3818, allocations: 0.6965 MB / 1.075 GB, free: 2.621 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 4.734e-05/0.3819, allocations: 4.438 kB / 1.075 GB, free: 2.617 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.508e-05/0.3819, allocations: 19.42 kB / 1.075 GB, free: 2.598 MB / 0.8262 GB Notification: Performance of SimCode: time 3.61e-07/0.3819, allocations: 3.938 kB / 1.075 GB, free: 2.594 MB / 0.8262 GB Notification: Performance of Templates: time 0.00467/0.3866, allocations: 1.682 MB / 1.077 GB, free: 0.918 MB / 0.8262 GB make -j1 -f Buildings_3.0.0_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.makefile (rm -f Buildings_3.0.0_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe ; mkfifo Buildings_3.0.0_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe >> ../files/Buildings_3.0.0_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.sim & ./Buildings_3.0.0_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe 2>&1)