Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light") translateModel(Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.459/1.459, allocations: 252 MB / 267.6 MB, free: 10.98 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.000938/0.0009383, allocations: 184.5 kB / 327.3 MB, free: 2.246 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.851/1.851, allocations: 205.4 MB / 0.5783 GB, free: 20.54 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009953/0.0009955, allocations: 97.33 kB / 0.6829 GB, free: 13.36 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000569/0.0005693, allocations: 9 kB / 0.797 GB, free: 135.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3515/0.3521, allocations: 106.3 MB / 0.9008 GB, free: 64.46 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light): time 0.002513/0.3546, allocations: 1.215 MB / 0.902 GB, free: 63.23 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001774/0.3565, allocations: 0.7528 MB / 0.9027 GB, free: 62.47 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001163/0.3566, allocations: 3.938 kB / 0.9027 GB, free: 62.47 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.48e-05/0.3567, allocations: 4 kB / 0.9028 GB, free: 62.46 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001431/0.3568, allocations: 27.78 kB / 0.9028 GB, free: 62.44 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007533/0.3576, allocations: 91.77 kB / 0.9029 GB, free: 62.35 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001766/0.3578, allocations: 83.7 kB / 0.9029 GB, free: 62.27 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000137/0.358, allocations: 8 kB / 0.903 GB, free: 62.26 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001438/0.3581, allocations: 39.89 kB / 0.903 GB, free: 62.22 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001005/0.3582, allocations: 31.84 kB / 0.903 GB, free: 62.19 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.452e-05/0.3583, allocations: 0 / 0.903 GB, free: 62.19 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000256/0.3585, allocations: 95.84 kB / 0.9031 GB, free: 62.09 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 3.145e-05/0.3586, allocations: 15.92 kB / 0.9031 GB, free: 62.08 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 5.283e-05/0.3586, allocations: 33.7 kB / 0.9032 GB, free: 62.04 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002498/0.3589, allocations: 107.8 kB / 0.9033 GB, free: 61.93 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.522e-06/0.3589, allocations: 0 / 0.9033 GB, free: 61.93 MB / 0.6042 GB Notification: Performance of FrontEnd: time 4.409e-06/0.3589, allocations: 0 / 0.9033 GB, free: 61.93 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 8.897e-06/0.359, allocations: 4 kB / 0.9033 GB, free: 61.93 MB / 0.6042 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.001012/0.36, allocations: 462.7 kB / 0.9037 GB, free: 61.42 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.846e-05/0.36, allocations: 8.031 kB / 0.9037 GB, free: 61.41 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.549e-05/0.3601, allocations: 7.906 kB / 0.9037 GB, free: 61.4 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001907/0.3603, allocations: 186.9 kB / 0.9039 GB, free: 61.18 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001095/0.3605, allocations: 29.7 kB / 0.9039 GB, free: 61.14 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.699e-05/0.3605, allocations: 15.97 kB / 0.9039 GB, free: 61.13 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003/0.3608, allocations: 73.66 kB / 0.904 GB, free: 61.05 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.348e-05/0.3608, allocations: 0 / 0.904 GB, free: 61.05 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.409e-05/0.3609, allocations: 11.92 kB / 0.904 GB, free: 61.04 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.075e-06/0.3609, allocations: 4 kB / 0.904 GB, free: 61.04 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002869/0.3612, allocations: 55.84 kB / 0.9041 GB, free: 60.98 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007214/0.3619, allocations: 332.7 kB / 0.9044 GB, free: 60.61 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002835/0.3622, allocations: 70.55 kB / 0.9045 GB, free: 60.53 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001569/0.3624, allocations: 44.86 kB / 0.9045 GB, free: 60.48 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.332e-05/0.3624, allocations: 4 kB / 0.9045 GB, free: 60.48 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003198/0.3628, allocations: 91.36 kB / 0.9046 GB, free: 60.38 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=10): time 2.194e-06/0.3628, allocations: 0 / 0.9046 GB, free: 60.38 MB / 0.6042 GB Notification: Performance of matching and sorting (n=10): time 0.0006447/0.3634, allocations: 181.4 kB / 0.9048 GB, free: 60.19 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.227e-05/0.3635, allocations: 55.41 kB / 0.9048 GB, free: 60.12 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001219/0.3636, allocations: 135.8 kB / 0.905 GB, free: 59.98 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.344e-05/0.3637, allocations: 33.7 kB / 0.905 GB, free: 59.95 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 5.074e-05/0.3637, allocations: 92.36 kB / 0.9051 GB, free: 59.85 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.325e-05/0.3638, allocations: 23.86 kB / 0.9051 GB, free: 59.83 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.137e-06/0.3638, allocations: 0 / 0.9051 GB, free: 59.83 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 8.279e-05/0.3639, allocations: 326.8 kB / 0.9054 GB, free: 59.5 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001578/0.3641, allocations: 35.97 kB / 0.9054 GB, free: 59.46 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001904/0.3643, allocations: 73.06 kB / 0.9055 GB, free: 59.38 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001646/0.3644, allocations: 35.98 kB / 0.9056 GB, free: 59.34 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/0.3645, allocations: 4 kB / 0.9056 GB, free: 59.34 MB / 0.6042 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004434/0.3649, allocations: 137.5 kB / 0.9057 GB, free: 59.2 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 3.131e-05/0.365, allocations: 4 kB / 0.9057 GB, free: 59.19 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.057e-05/0.365, allocations: 4 kB / 0.9057 GB, free: 59.19 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.239e-05/0.365, allocations: 3.953 kB / 0.9057 GB, free: 59.18 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001661/0.3652, allocations: 23.92 kB / 0.9057 GB, free: 59.16 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.032e-05/0.3652, allocations: 4 kB / 0.9057 GB, free: 59.16 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001756/0.3654, allocations: 15.92 kB / 0.9057 GB, free: 59.14 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.894e-05/0.3654, allocations: 8 kB / 0.9057 GB, free: 59.13 MB / 0.6042 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 ($PRE.lig.curSeed,lig.curSeed,$PRE.lig.on,lig.on,$whenCondition3,$whenCondition2,lig.sampleTrigger,$whenCondition1,occ.y,$PRE.occ.pulseStart,occ.pulseStart) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001173/0.3656, allocations: 128.3 kB / 0.9059 GB, free: 59 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.417e-05/0.3656, allocations: 8.281 kB / 0.9059 GB, free: 58.99 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.223e-05/0.3656, allocations: 12.72 kB / 0.9059 GB, free: 58.98 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.466e-06/0.3657, allocations: 0 / 0.9059 GB, free: 58.98 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.169e-05/0.3657, allocations: 3.953 kB / 0.9059 GB, free: 58.98 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.584e-06/0.3657, allocations: 3.938 kB / 0.9059 GB, free: 58.97 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008156/0.3665, allocations: 434.4 kB / 0.9063 GB, free: 58.49 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.789e-06/0.3665, allocations: 7.938 kB / 0.9063 GB, free: 58.48 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001003/0.3666, allocations: 11.97 kB / 0.9063 GB, free: 58.47 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.604e-06/0.3667, allocations: 7.953 kB / 0.9063 GB, free: 58.46 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.668e-05/0.3667, allocations: 0 / 0.9063 GB, free: 58.46 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.265e-06/0.3667, allocations: 4 kB / 0.9063 GB, free: 58.46 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.3667, allocations: 0 / 0.9063 GB, free: 58.46 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000458/0.3672, allocations: 231.3 kB / 0.9066 GB, free: 58.22 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.531e-05/0.3672, allocations: 85.02 kB / 0.9066 GB, free: 58.12 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.629e-05/0.3673, allocations: 7.953 kB / 0.9067 GB, free: 58.11 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002032/0.3675, allocations: 15.98 kB / 0.9067 GB, free: 58.09 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.679e-05/0.3676, allocations: 11.97 kB / 0.9067 GB, free: 58.08 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.374e-05/0.3676, allocations: 8 kB / 0.9067 GB, free: 58.07 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 7.471e-05/0.3677, allocations: 99.2 kB / 0.9068 GB, free: 57.98 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.9e-07/0.3677, allocations: 0 / 0.9068 GB, free: 57.98 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0005689/0.3683, allocations: 43.98 kB / 0.9068 GB, free: 57.93 MB / 0.6042 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004403/0.3687, allocations: 176.5 kB / 0.907 GB, free: 57.77 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0004234/0.3692, allocations: 87.89 kB / 0.9071 GB, free: 57.68 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.3692, allocations: 0 / 0.9071 GB, free: 57.68 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001907/0.3694, allocations: 56.16 kB / 0.9071 GB, free: 57.63 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004957/0.3699, allocations: 16.55 kB / 0.9071 GB, free: 57.61 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007162/0.3706, allocations: 265.5 kB / 0.9074 GB, free: 57.32 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002117/0.3709, allocations: 0.6926 MB / 0.9081 GB, free: 56.6 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.531e-05/0.3709, allocations: 11.44 kB / 0.9081 GB, free: 56.59 MB / 0.6042 GB Notification: Performance of SimCode: time 3e-07/0.3709, allocations: 0 / 0.9081 GB, free: 56.59 MB / 0.6042 GB Notification: Performance of Templates: time 0.005574/0.3765, allocations: 1.848 MB / 0.9099 GB, free: 54.75 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.makefile (rm -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.sim & ./Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe 2>&1)