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.0008965/0.0008964, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.006935/0.006935, allocations: 169.9 kB / 16.27 MB, free: 6.66 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.511/1.511, allocations: 223.3 MB / 240.3 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.922/2.922, allocations: 473.4 MB / 0.7469 GB, free: 6.031 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003433/0.0003433, allocations: 7.219 kB / 0.9158 GB, free: 33.09 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3343/0.3346, allocations: 162.2 MB / 1.074 GB, free: 7.52 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light): time 0.001676/0.3364, allocations: 1.235 MB / 1.075 GB, free: 6.277 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001769/0.3382, allocations: 0.7557 MB / 1.076 GB, free: 5.516 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.298e-05/0.3383, allocations: 0 / 1.076 GB, free: 5.516 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.797e-05/0.3383, allocations: 7.938 kB / 1.076 GB, free: 5.508 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001221/0.3384, allocations: 15.86 kB / 1.076 GB, free: 5.492 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005911/0.339, allocations: 99.77 kB / 1.076 GB, free: 5.395 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001521/0.3392, allocations: 83.72 kB / 1.076 GB, free: 5.312 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001343/0.3393, allocations: 15.97 kB / 1.076 GB, free: 5.297 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001352/0.3395, allocations: 31.91 kB / 1.076 GB, free: 5.266 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 9.729e-05/0.3396, allocations: 39.83 kB / 1.076 GB, free: 5.227 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.539e-05/0.3396, allocations: 4 kB / 1.076 GB, free: 5.223 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002198/0.3399, allocations: 95.84 kB / 1.076 GB, free: 5.129 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 4.939e-05/0.3399, allocations: 19.91 kB / 1.076 GB, free: 5.109 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001066/0.34, allocations: 57.5 kB / 1.077 GB, free: 5.047 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002828/0.3403, allocations: 151.9 kB / 1.077 GB, free: 4.898 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.172e-06/0.3403, allocations: 3.938 kB / 1.077 GB, free: 4.895 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.544e-06/0.3404, allocations: 0 / 1.077 GB, free: 4.895 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 9.759e-06/0.3404, allocations: 0 / 1.077 GB, free: 4.895 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.001041/0.3414, allocations: 462.7 kB / 1.077 GB, free: 4.383 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 6.093e-05/0.3415, allocations: 8.031 kB / 1.077 GB, free: 4.375 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.494e-05/0.3416, allocations: 8.844 kB / 1.077 GB, free: 4.367 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002124/0.3418, allocations: 180.2 kB / 1.077 GB, free: 4.152 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001038/0.3419, allocations: 30.27 kB / 1.077 GB, free: 4.117 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.412e-05/0.3419, allocations: 16.36 kB / 1.077 GB, free: 4.102 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002583/0.3422, allocations: 81.72 kB / 1.077 GB, free: 4.016 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.15e-05/0.3422, allocations: 0 / 1.077 GB, free: 4.016 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2e-05/0.3423, allocations: 7.922 kB / 1.077 GB, free: 4.008 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.138e-05/0.3423, allocations: 0 / 1.077 GB, free: 4.008 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002287/0.3425, allocations: 55.91 kB / 1.077 GB, free: 3.953 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006626/0.3432, allocations: 328.7 kB / 1.078 GB, free: 3.582 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002268/0.3434, allocations: 74.58 kB / 1.078 GB, free: 3.5 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001365/0.3436, allocations: 48.81 kB / 1.078 GB, free: 3.449 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.129e-05/0.3436, allocations: 0 / 1.078 GB, free: 3.449 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003043/0.3439, allocations: 95.36 kB / 1.078 GB, free: 3.344 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=10): time 1.333e-06/0.3439, allocations: 0 / 1.078 GB, free: 3.344 MB / 0.8262 GB Notification: Performance of matching and sorting (n=10): time 0.0005305/0.3445, allocations: 177.5 kB / 1.078 GB, free: 3.164 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.681e-05/0.3445, allocations: 55.41 kB / 1.078 GB, free: 3.098 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001616/0.3447, allocations: 134 kB / 1.078 GB, free: 2.953 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.451e-05/0.3447, allocations: 29.64 kB / 1.078 GB, free: 2.918 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.404e-05/0.3448, allocations: 96.36 kB / 1.078 GB, free: 2.816 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.252e-05/0.3448, allocations: 31.8 kB / 1.079 GB, free: 2.785 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.627e-05/0.3449, allocations: 21.7 kB / 1.079 GB, free: 2.758 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001197/0.345, allocations: 326.8 kB / 1.079 GB, free: 2.43 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001088/0.3451, allocations: 27.98 kB / 1.079 GB, free: 2.402 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001322/0.3453, allocations: 80.5 kB / 1.079 GB, free: 2.309 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002381/0.3455, allocations: 109 kB / 1.079 GB, free: 2.184 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.3455, allocations: 0 / 1.079 GB, free: 2.184 MB / 0.8262 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004049/0.3459, allocations: 137.4 kB / 1.079 GB, free: 2.043 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.562e-05/0.346, allocations: 9.562 kB / 1.079 GB, free: 2.035 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/0.346, allocations: 0 / 1.079 GB, free: 2.035 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.846e-05/0.346, allocations: 4 kB / 1.079 GB, free: 2.031 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001252/0.3461, allocations: 24.05 kB / 1.079 GB, free: 2.008 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.8e-06/0.3462, allocations: 0 / 1.079 GB, free: 2.008 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001124/0.3463, allocations: 15.98 kB / 1.079 GB, free: 1.992 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.451e-05/0.3463, allocations: 8 kB / 1.079 GB, free: 1.984 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.91e-05/0.3464, allocations: 129.7 kB / 1.079 GB, free: 1.848 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.816e-05/0.3464, allocations: 8.281 kB / 1.079 GB, free: 1.84 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.848e-05/0.3465, allocations: 12.72 kB / 1.079 GB, free: 1.824 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.3465, allocations: 0 / 1.079 GB, free: 1.824 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.02e-06/0.3465, allocations: 4 kB / 1.079 GB, free: 1.82 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.681e-06/0.3465, allocations: 7.938 kB / 1.079 GB, free: 1.812 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006229/0.3471, allocations: 442.2 kB / 1.08 GB, free: 1.324 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.3471, allocations: 3.938 kB / 1.08 GB, free: 1.32 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.235e-05/0.3472, allocations: 11.98 kB / 1.08 GB, free: 1.309 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.3472, allocations: 0 / 1.08 GB, free: 1.309 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.8e-05/0.3473, allocations: 4 kB / 1.08 GB, free: 1.305 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.046e-06/0.3473, allocations: 3.938 kB / 1.08 GB, free: 1.301 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.3473, allocations: 0 / 1.08 GB, free: 1.301 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003358/0.3476, allocations: 235.3 kB / 1.08 GB, free: 1.055 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.144e-05/0.3477, allocations: 81.02 kB / 1.08 GB, free: 0.957 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.226e-05/0.3477, allocations: 4 kB / 1.08 GB, free: 0.9531 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001352/0.3478, allocations: 19.92 kB / 1.08 GB, free: 0.9336 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.639e-05/0.3479, allocations: 7.984 kB / 1.08 GB, free: 0.9258 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.862e-05/0.3479, allocations: 8.078 kB / 1.08 GB, free: 0.918 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 6.145e-05/0.348, allocations: 105.2 kB / 1.08 GB, free: 0.8164 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.61e-07/0.348, allocations: 3.938 kB / 1.08 GB, free: 0.8125 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003076/0.3483, allocations: 40 kB / 1.08 GB, free: 0.7734 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.0003596/0.3487, allocations: 161.9 kB / 1.08 GB, free: 0.6211 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002903/0.349, allocations: 95.88 kB / 1.081 GB, free: 0.5273 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.349, allocations: 0 / 1.081 GB, free: 0.5273 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001351/0.3491, allocations: 47.91 kB / 1.081 GB, free: 492 kB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002887/0.3494, allocations: 20.23 kB / 1.081 GB, free: 472 kB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004494/0.3499, allocations: 231 kB / 1.081 GB, free: 212 kB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002404/0.3501, allocations: 0.7004 MB / 1.082 GB, free: 15.48 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 5.556e-05/0.3502, allocations: 8.656 kB / 1.082 GB, free: 15.47 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.085e-05/0.3502, allocations: 15.44 kB / 1.082 GB, free: 15.46 MB / 0.8419 GB Notification: Performance of SimCode: time 3e-07/0.3502, allocations: 4 kB / 1.082 GB, free: 15.45 MB / 0.8419 GB Notification: Performance of Templates: time 0.004858/0.3551, allocations: 1.65 MB / 1.083 GB, free: 13.81 MB / 0.8419 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)