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.0008546/0.0008546, allocations: 89.97 kB / 15.36 MB, free: 0.7383 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.00721/0.007211, allocations: 171.7 kB / 16.26 MB, free: 6.676 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.368/1.368, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.881/2.881, allocations: 473.4 MB / 0.7469 GB, free: 6.09 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003908/0.0003908, allocations: 10.38 kB / 0.9158 GB, free: 33.04 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3435/0.3439, allocations: 162.2 MB / 1.074 GB, free: 7.531 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Love1998Light1): time 0.001642/0.3456, allocations: 1.231 MB / 1.075 GB, free: 6.293 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.00126/0.3469, allocations: 0.744 MB / 1.076 GB, free: 5.543 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.557e-05/0.3469, allocations: 0 / 1.076 GB, free: 5.543 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.095e-05/0.347, allocations: 3.984 kB / 1.076 GB, free: 5.539 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 9.565e-05/0.3471, allocations: 19.86 kB / 1.076 GB, free: 5.52 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004496/0.3475, allocations: 99.77 kB / 1.076 GB, free: 5.422 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.000115/0.3477, allocations: 83.7 kB / 1.076 GB, free: 5.34 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 9.24e-05/0.3478, allocations: 11.98 kB / 1.076 GB, free: 5.328 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 9.762e-05/0.3479, allocations: 39.83 kB / 1.076 GB, free: 5.289 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 6.769e-05/0.3479, allocations: 35.84 kB / 1.076 GB, free: 5.254 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.747e-05/0.348, allocations: 8 kB / 1.076 GB, free: 5.246 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001725/0.3481, allocations: 87.91 kB / 1.076 GB, free: 5.16 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.429e-05/0.3482, allocations: 15.92 kB / 1.076 GB, free: 5.145 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 6.276e-05/0.3483, allocations: 53.55 kB / 1.076 GB, free: 5.086 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002095/0.3485, allocations: 147.8 kB / 1.077 GB, free: 4.941 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.3485, allocations: 0 / 1.077 GB, free: 4.941 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.924e-06/0.3485, allocations: 0 / 1.077 GB, free: 4.941 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.298e-06/0.3485, allocations: 4 kB / 1.077 GB, free: 4.938 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.0006737/0.3492, allocations: 456.2 kB / 1.077 GB, free: 4.434 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.062e-05/0.3492, allocations: 12.03 kB / 1.077 GB, free: 4.422 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.006e-05/0.3493, allocations: 8.844 kB / 1.077 GB, free: 4.414 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001408/0.3494, allocations: 176.2 kB / 1.077 GB, free: 4.203 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.875e-05/0.3494, allocations: 384 / 1.077 GB, free: 4.203 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.991e-05/0.3495, allocations: 8.375 kB / 1.077 GB, free: 4.195 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001816/0.3497, allocations: 77.91 kB / 1.077 GB, free: 4.113 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.905e-06/0.3497, allocations: 4 kB / 1.077 GB, free: 4.109 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.718e-05/0.3497, allocations: 7.984 kB / 1.077 GB, free: 4.102 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.3497, allocations: 0 / 1.077 GB, free: 4.102 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001346/0.3498, allocations: 43.97 kB / 1.077 GB, free: 4.059 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005391/0.3504, allocations: 332.5 kB / 1.078 GB, free: 3.684 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001481/0.3505, allocations: 66.55 kB / 1.078 GB, free: 3.609 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.768e-05/0.3506, allocations: 32.84 kB / 1.078 GB, free: 3.574 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.317e-05/0.3507, allocations: 4 kB / 1.078 GB, free: 3.57 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002157/0.3509, allocations: 99.39 kB / 1.078 GB, free: 3.461 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=10): time 1.573e-06/0.3509, allocations: 3.938 kB / 1.078 GB, free: 3.457 MB / 0.8262 GB Notification: Performance of matching and sorting (n=10): time 0.0003895/0.3513, allocations: 161.5 kB / 1.078 GB, free: 3.293 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.361e-05/0.3513, allocations: 55.34 kB / 1.078 GB, free: 3.227 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.669e-05/0.3514, allocations: 125.8 kB / 1.078 GB, free: 3.094 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.899e-05/0.3515, allocations: 33.7 kB / 1.078 GB, free: 3.055 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.333e-05/0.3515, allocations: 92.38 kB / 1.078 GB, free: 2.957 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.421e-05/0.3516, allocations: 23.7 kB / 1.078 GB, free: 2.934 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.014e-05/0.3516, allocations: 17.72 kB / 1.078 GB, free: 2.91 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001001/0.3517, allocations: 326.8 kB / 1.079 GB, free: 2.582 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.379e-05/0.3518, allocations: 23.98 kB / 1.079 GB, free: 2.559 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.99e-05/0.3519, allocations: 76.5 kB / 1.079 GB, free: 2.469 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001684/0.3521, allocations: 105.1 kB / 1.079 GB, free: 2.348 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.3521, allocations: 0 / 1.079 GB, free: 2.348 MB / 0.8262 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002454/0.3523, allocations: 133.4 kB / 1.079 GB, free: 2.211 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.375e-05/0.3523, allocations: 7.938 kB / 1.079 GB, free: 2.203 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.453e-06/0.3524, allocations: 0 / 1.079 GB, free: 2.203 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.361e-05/0.3524, allocations: 7.938 kB / 1.079 GB, free: 2.195 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001071/0.3525, allocations: 20.11 kB / 1.079 GB, free: 2.176 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.312e-06/0.3525, allocations: 0 / 1.079 GB, free: 2.176 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001093/0.3526, allocations: 27.83 kB / 1.079 GB, free: 2.148 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.226e-05/0.3526, allocations: 4 kB / 1.079 GB, free: 2.145 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.0001018/0.3527, allocations: 129.7 kB / 1.079 GB, free: 2.008 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.668e-05/0.3528, allocations: 7.906 kB / 1.079 GB, free: 2 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003092/0.3531, allocations: 150 kB / 1.079 GB, free: 1.848 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.621e-06/0.3531, allocations: 4 kB / 1.079 GB, free: 1.844 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.3531, allocations: 0 / 1.079 GB, free: 1.844 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.526e-06/0.3531, allocations: 0 / 1.079 GB, free: 1.844 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005441/0.3537, allocations: 434.5 kB / 1.08 GB, free: 1.363 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.3537, allocations: 0 / 1.08 GB, free: 1.363 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.555e-05/0.3537, allocations: 11.98 kB / 1.08 GB, free: 1.352 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.529e-06/0.3538, allocations: 4.375 kB / 1.08 GB, free: 1.348 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.616e-05/0.3538, allocations: 8 kB / 1.08 GB, free: 1.34 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.835e-06/0.3538, allocations: 0 / 1.08 GB, free: 1.34 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.3538, allocations: 7.875 kB / 1.08 GB, free: 1.332 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002808/0.3541, allocations: 239.4 kB / 1.08 GB, free: 1.082 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.897e-05/0.3541, allocations: 88.95 kB / 1.08 GB, free: 0.9766 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.145e-05/0.3542, allocations: 4 kB / 1.08 GB, free: 0.9727 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001164/0.3543, allocations: 11.98 kB / 1.08 GB, free: 0.9609 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.103e-05/0.3543, allocations: 11.92 kB / 1.08 GB, free: 0.9492 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.629e-05/0.3544, allocations: 7.984 kB / 1.08 GB, free: 0.9414 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 6.088e-05/0.3544, allocations: 103.3 kB / 1.08 GB, free: 0.8398 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3544, allocations: 0 / 1.08 GB, free: 0.8398 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003012/0.3547, allocations: 40 kB / 1.08 GB, free: 0.8008 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.0003349/0.3551, allocations: 162.5 kB / 1.08 GB, free: 0.6484 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002362/0.3553, allocations: 91.83 kB / 1.081 GB, free: 0.5586 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.3554, allocations: 4 kB / 1.081 GB, free: 0.5547 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001049/0.3555, allocations: 47.97 kB / 1.081 GB, free: 0.5078 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002829/0.3558, allocations: 12 kB / 1.081 GB, free: 0.4961 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004386/0.3562, allocations: 235.5 kB / 1.081 GB, free: 240 kB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002717/0.3565, allocations: 0.6965 MB / 1.082 GB, free: 15.51 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 4.392e-05/0.3565, allocations: 8.438 kB / 1.082 GB, free: 15.5 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.765e-05/0.3566, allocations: 19.42 kB / 1.082 GB, free: 15.48 MB / 0.8419 GB Notification: Performance of SimCode: time 2.51e-07/0.3566, allocations: 3.938 kB / 1.082 GB, free: 15.48 MB / 0.8419 GB Notification: Performance of Templates: time 0.004741/0.3613, allocations: 1.663 MB / 1.083 GB, free: 13.82 MB / 0.8419 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)