Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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_3.0.0_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light") translateModel(Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_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.001381/0.00138, allocations: 91.84 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.01132/0.01133, allocations: 170 kB / 16.26 MB, free: 6.613 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.527/1.527, 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.884/2.884, allocations: 473.4 MB / 0.7469 GB, free: 6.109 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.000391/0.0003911, allocations: 15.69 kB / 0.9158 GB, free: 33.11 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3344/0.3348, allocations: 162.2 MB / 1.074 GB, free: 7.547 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light): time 0.002071/0.3369, allocations: 1.231 MB / 1.075 GB, free: 6.309 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001413/0.3383, allocations: 0.7518 MB / 1.076 GB, free: 5.551 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.659e-05/0.3384, allocations: 0 / 1.076 GB, free: 5.551 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.296e-05/0.3384, allocations: 3.938 kB / 1.076 GB, free: 5.547 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 9.456e-05/0.3385, allocations: 11.92 kB / 1.076 GB, free: 5.535 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005042/0.3391, allocations: 107.7 kB / 1.076 GB, free: 5.43 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001595/0.3392, allocations: 91.7 kB / 1.076 GB, free: 5.34 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 9.136e-05/0.3393, allocations: 11.97 kB / 1.076 GB, free: 5.328 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001131/0.3395, allocations: 31.92 kB / 1.076 GB, free: 5.297 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 8.421e-05/0.3396, allocations: 39.81 kB / 1.076 GB, free: 5.258 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.784e-05/0.3396, allocations: 4 kB / 1.076 GB, free: 5.254 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001907/0.3398, allocations: 91.84 kB / 1.076 GB, free: 5.164 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.842e-05/0.3398, allocations: 15.92 kB / 1.076 GB, free: 5.148 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001635/0.34, allocations: 65.5 kB / 1.077 GB, free: 5.078 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002258/0.3402, allocations: 147.9 kB / 1.077 GB, free: 4.934 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.3402, allocations: 0 / 1.077 GB, free: 4.934 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.402e-06/0.3402, allocations: 0 / 1.077 GB, free: 4.934 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 3.607e-06/0.3403, allocations: 0 / 1.077 GB, free: 4.934 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.0007207/0.341, allocations: 462.6 kB / 1.077 GB, free: 4.422 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.676e-05/0.341, allocations: 12.03 kB / 1.077 GB, free: 4.41 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.296e-05/0.3411, allocations: 16.84 kB / 1.077 GB, free: 4.395 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001316/0.3412, allocations: 184.1 kB / 1.077 GB, free: 4.176 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.455e-05/0.3413, allocations: 34.27 kB / 1.077 GB, free: 4.137 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.997e-05/0.3413, allocations: 8.375 kB / 1.077 GB, free: 4.129 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002124/0.3416, allocations: 77.77 kB / 1.077 GB, free: 4.047 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.214e-06/0.3416, allocations: 3.938 kB / 1.077 GB, free: 4.043 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.664e-05/0.3416, allocations: 11.98 kB / 1.077 GB, free: 4.031 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.148e-06/0.3416, allocations: 0 / 1.077 GB, free: 4.031 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001992/0.3418, allocations: 51.91 kB / 1.077 GB, free: 3.98 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005599/0.3424, allocations: 328.7 kB / 1.078 GB, free: 3.609 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002138/0.3426, allocations: 70.64 kB / 1.078 GB, free: 3.531 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001153/0.3427, allocations: 44.75 kB / 1.078 GB, free: 3.484 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.599e-05/0.3428, allocations: 4 kB / 1.078 GB, free: 3.48 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002477/0.343, allocations: 95.36 kB / 1.078 GB, free: 3.375 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=10): time 1.532e-06/0.343, allocations: 0 / 1.078 GB, free: 3.375 MB / 0.8262 GB Notification: Performance of matching and sorting (n=10): time 0.0005166/0.3435, allocations: 177.4 kB / 1.078 GB, free: 3.195 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.218e-05/0.3436, allocations: 63.56 kB / 1.078 GB, free: 3.121 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001214/0.3437, allocations: 132.3 kB / 1.078 GB, free: 2.98 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.987e-05/0.3438, allocations: 29.7 kB / 1.078 GB, free: 2.945 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.349e-05/0.3438, allocations: 100.3 kB / 1.078 GB, free: 2.84 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.631e-05/0.3439, allocations: 24.03 kB / 1.079 GB, free: 2.816 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.394e-05/0.3439, allocations: 21.7 kB / 1.079 GB, free: 2.789 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001029/0.344, allocations: 318.8 kB / 1.079 GB, free: 2.469 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001154/0.3441, allocations: 39.97 kB / 1.079 GB, free: 2.43 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001268/0.3443, allocations: 77 kB / 1.079 GB, free: 2.336 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002568/0.3445, allocations: 109.1 kB / 1.079 GB, free: 2.211 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.3445, allocations: 0 / 1.079 GB, free: 2.211 MB / 0.8262 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.00032/0.3449, allocations: 145.4 kB / 1.079 GB, free: 2.062 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.391e-05/0.3449, allocations: 4 kB / 1.079 GB, free: 2.059 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.72e-06/0.3449, allocations: 4 kB / 1.079 GB, free: 2.055 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.29e-05/0.3449, allocations: 0 / 1.079 GB, free: 2.055 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001167/0.345, allocations: 19.92 kB / 1.079 GB, free: 2.035 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.432e-06/0.345, allocations: 4 kB / 1.079 GB, free: 2.031 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001225/0.3452, allocations: 20.11 kB / 1.079 GB, free: 2.012 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.268e-05/0.3452, allocations: 4 kB / 1.079 GB, free: 2.008 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.417e-05/0.3453, allocations: 121.8 kB / 1.079 GB, free: 1.879 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.965e-05/0.3453, allocations: 11.89 kB / 1.079 GB, free: 1.867 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.691e-05/0.3454, allocations: 12.72 kB / 1.079 GB, free: 1.852 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-06/0.3454, allocations: 0 / 1.079 GB, free: 1.852 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.3454, allocations: 0 / 1.079 GB, free: 1.852 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.763e-06/0.3454, allocations: 0 / 1.079 GB, free: 1.852 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006834/0.3461, allocations: 454.1 kB / 1.08 GB, free: 1.352 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.3461, allocations: 0 / 1.08 GB, free: 1.352 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.582e-05/0.3462, allocations: 11.98 kB / 1.08 GB, free: 1.34 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.915e-06/0.3462, allocations: 0 / 1.08 GB, free: 1.34 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.239e-05/0.3462, allocations: 8 kB / 1.08 GB, free: 1.332 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.576e-06/0.3462, allocations: 3.938 kB / 1.08 GB, free: 1.328 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.3462, allocations: 4 kB / 1.08 GB, free: 1.324 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003499/0.3466, allocations: 227.3 kB / 1.08 GB, free: 1.086 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.896e-05/0.3466, allocations: 85.02 kB / 1.08 GB, free: 0.9844 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.174e-05/0.3467, allocations: 4 kB / 1.08 GB, free: 0.9805 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001394/0.3468, allocations: 23.92 kB / 1.08 GB, free: 0.957 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.814e-05/0.3469, allocations: 12.17 kB / 1.08 GB, free: 0.9453 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.714e-05/0.3469, allocations: 7.984 kB / 1.08 GB, free: 0.9375 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 6.219e-05/0.3469, allocations: 103.2 kB / 1.08 GB, free: 0.8359 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.347, allocations: 0 / 1.08 GB, free: 0.8359 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003198/0.3473, allocations: 40 kB / 1.08 GB, free: 0.7969 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.0003401/0.3476, allocations: 163.7 kB / 1.08 GB, free: 0.6445 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002981/0.3479, allocations: 96.06 kB / 1.081 GB, free: 0.5508 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.3479, allocations: 4.062 kB / 1.081 GB, free: 0.5469 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001369/0.3481, allocations: 47.91 kB / 1.081 GB, free: 0.5 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002984/0.3484, allocations: 17.36 kB / 1.081 GB, free: 496 kB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004635/0.3489, allocations: 235 kB / 1.081 GB, free: 232 kB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002617/0.3491, allocations: 0.6928 MB / 1.082 GB, free: 15.51 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 5.864e-05/0.3492, allocations: 12.66 kB / 1.082 GB, free: 15.5 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.959e-05/0.3493, allocations: 15.38 kB / 1.082 GB, free: 15.48 MB / 0.8419 GB Notification: Performance of SimCode: time 3.71e-07/0.3493, allocations: 0 / 1.082 GB, free: 15.48 MB / 0.8419 GB Notification: Performance of Templates: time 0.004743/0.3541, allocations: 1.65 MB / 1.083 GB, free: 13.84 MB / 0.8419 GB make -j1 -f Buildings_3.0.0_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.makefile (rm -f Buildings_3.0.0_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe ; mkfifo Buildings_3.0.0_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe >> ../files/Buildings_3.0.0_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.sim & ./Buildings_3.0.0_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe 2>&1)