Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light") translateModel(Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.736/1.736, allocations: 288.4 MB / 303.4 MB, free: 8.09 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009231/0.0009232, allocations: 186.9 kB / 372 MB, free: 10.27 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.615/1.615, allocations: 205.4 MB / 0.6307 GB, free: 10.02 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008327/0.0008334, allocations: 101.3 kB / 0.7441 GB, free: 5.961 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005558/0.0005558, allocations: 10.22 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3109/0.3114, allocations: 115.3 MB / 0.9796 GB, free: 27.69 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light): time 0.002042/0.3136, allocations: 1.226 MB / 0.9808 GB, free: 26.45 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001356/0.3149, allocations: 0.7383 MB / 0.9815 GB, free: 25.7 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.215e-05/0.315, allocations: 7.938 kB / 0.9815 GB, free: 25.7 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.035e-05/0.315, allocations: 0 / 0.9815 GB, free: 25.7 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001201/0.3152, allocations: 15.86 kB / 0.9815 GB, free: 25.68 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005329/0.3157, allocations: 103.8 kB / 0.9816 GB, free: 25.58 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001251/0.3159, allocations: 83.7 kB / 0.9817 GB, free: 25.5 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001025/0.316, allocations: 8 kB / 0.9817 GB, free: 25.49 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001023/0.3161, allocations: 47.83 kB / 0.9818 GB, free: 25.44 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 7.92e-05/0.3162, allocations: 39.83 kB / 0.9818 GB, free: 25.4 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.272e-05/0.3162, allocations: 4 kB / 0.9818 GB, free: 25.4 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001886/0.3164, allocations: 83.91 kB / 0.9819 GB, free: 25.32 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.029e-05/0.3164, allocations: 19.91 kB / 0.9819 GB, free: 25.3 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.215e-05/0.3165, allocations: 37.64 kB / 0.9819 GB, free: 25.25 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002007/0.3167, allocations: 116 kB / 0.982 GB, free: 25.14 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.963e-06/0.3167, allocations: 0 / 0.982 GB, free: 25.14 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.745e-06/0.3167, allocations: 0 / 0.982 GB, free: 25.14 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.41e-06/0.3168, allocations: 0 / 0.982 GB, free: 25.14 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0008139/0.3176, allocations: 492.1 kB / 0.9825 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.863e-05/0.3176, allocations: 12.03 kB / 0.9825 GB, free: 24.58 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.59e-05/0.3177, allocations: 11.91 kB / 0.9825 GB, free: 24.57 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001245/0.3178, allocations: 177.1 kB / 0.9827 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.444e-05/0.3179, allocations: 8 kB / 0.9827 GB, free: 24.35 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.715e-05/0.3179, allocations: 8 kB / 0.9827 GB, free: 24.34 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00025/0.3182, allocations: 81.58 kB / 0.9828 GB, free: 24.26 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.244e-05/0.3182, allocations: 0 / 0.9828 GB, free: 24.26 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.252e-05/0.3182, allocations: 11.92 kB / 0.9828 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.953e-06/0.3182, allocations: 4 kB / 0.9828 GB, free: 24.24 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002079/0.3185, allocations: 51.95 kB / 0.9829 GB, free: 24.19 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006579/0.3191, allocations: 340.6 kB / 0.9832 GB, free: 23.81 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000266/0.3194, allocations: 78.67 kB / 0.9833 GB, free: 23.72 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001269/0.3196, allocations: 48.83 kB / 0.9833 GB, free: 23.67 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.071e-05/0.3196, allocations: 7.984 kB / 0.9833 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002924/0.3199, allocations: 99.39 kB / 0.9834 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=11): time 3.296e-06/0.3199, allocations: 0 / 0.9834 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11): time 0.0005318/0.3205, allocations: 185.5 kB / 0.9836 GB, free: 23.37 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.88e-05/0.3205, allocations: 55.36 kB / 0.9836 GB, free: 23.3 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001163/0.3206, allocations: 130.1 kB / 0.9838 GB, free: 23.16 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.157e-05/0.3207, allocations: 29.7 kB / 0.9838 GB, free: 23.13 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.863e-05/0.3207, allocations: 96.03 kB / 0.9839 GB, free: 23.03 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.011e-05/0.3208, allocations: 23.66 kB / 0.9839 GB, free: 23.01 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.287e-06/0.3208, allocations: 4 kB / 0.9839 GB, free: 23 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.253e-05/0.3209, allocations: 322.8 kB / 0.9842 GB, free: 22.68 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.749e-05/0.321, allocations: 35.98 kB / 0.9843 GB, free: 22.64 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001237/0.3211, allocations: 73.62 kB / 0.9843 GB, free: 22.55 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001075/0.3212, allocations: 39.98 kB / 0.9844 GB, free: 22.52 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.349e-06/0.3213, allocations: 4 kB / 0.9844 GB, free: 22.51 MB / 0.6198 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002849/0.3216, allocations: 137.4 kB / 0.9845 GB, free: 22.37 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.599e-05/0.3216, allocations: 7.938 kB / 0.9845 GB, free: 22.36 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.156e-06/0.3216, allocations: 4 kB / 0.9845 GB, free: 22.36 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.297e-05/0.3216, allocations: 0 / 0.9845 GB, free: 22.36 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001371/0.3218, allocations: 24.02 kB / 0.9845 GB, free: 22.34 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.33e-05/0.3218, allocations: 7.953 kB / 0.9845 GB, free: 22.33 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001421/0.3219, allocations: 15.92 kB / 0.9846 GB, free: 22.31 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.833e-05/0.322, allocations: 12 kB / 0.9846 GB, free: 22.3 MB / 0.6198 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,booleanPulse.y,$PRE.booleanPulse.pulseStart,booleanPulse.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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 9.221e-05/0.3221, allocations: 113.8 kB / 0.9847 GB, free: 22.18 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.578e-05/0.3221, allocations: 11.81 kB / 0.9847 GB, free: 22.17 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003891/0.3225, allocations: 170.3 kB / 0.9848 GB, free: 22 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.907e-06/0.3225, allocations: 4 kB / 0.9848 GB, free: 22 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.3225, allocations: 0 / 0.9848 GB, free: 22 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.743e-06/0.3226, allocations: 7.938 kB / 0.9849 GB, free: 21.99 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005982/0.3232, allocations: 450.4 kB / 0.9853 GB, free: 21.49 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.3232, allocations: 144 / 0.9853 GB, free: 21.49 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.647e-05/0.3233, allocations: 11.98 kB / 0.9853 GB, free: 21.48 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.417e-06/0.3233, allocations: 7.984 kB / 0.9853 GB, free: 21.47 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.622e-05/0.3233, allocations: 0 / 0.9853 GB, free: 21.47 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.527e-06/0.3233, allocations: 3.953 kB / 0.9853 GB, free: 21.47 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.3233, allocations: 3.938 kB / 0.9853 GB, free: 21.46 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003589/0.3237, allocations: 258.1 kB / 0.9856 GB, free: 21.2 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.708e-05/0.3237, allocations: 92.94 kB / 0.9856 GB, free: 21.09 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.88e-05/0.3238, allocations: 4 kB / 0.9857 GB, free: 21.09 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001537/0.3239, allocations: 12 kB / 0.9857 GB, free: 21.07 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.989e-05/0.324, allocations: 15.92 kB / 0.9857 GB, free: 21.06 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.142e-05/0.3241, allocations: 4 kB / 0.9857 GB, free: 21.05 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 7.395e-05/0.3241, allocations: 104.7 kB / 0.9858 GB, free: 20.95 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3241, allocations: 4 kB / 0.9858 GB, free: 20.95 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004441/0.3246, allocations: 43.98 kB / 0.9858 GB, free: 20.91 MB / 0.6198 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 (booleanPulse.y,lig.sampleTrigger,$whenCondition3,$whenCondition2,$whenCondition1,lig.on,lig.curSeed,booleanPulse.pulseStart) * Number of discrete states: 1 (lig.on) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 10 * 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.0005557/0.3252, allocations: 157 kB / 0.986 GB, free: 20.75 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003409/0.3255, allocations: 97.64 kB / 0.9861 GB, free: 20.66 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.3255, allocations: 0 / 0.9861 GB, free: 20.66 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001381/0.3257, allocations: 51.92 kB / 0.9861 GB, free: 20.61 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004501/0.3261, allocations: 22.38 kB / 0.9861 GB, free: 20.59 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005372/0.3267, allocations: 239.6 kB / 0.9864 GB, free: 20.32 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001743/0.3269, allocations: 0.7004 MB / 0.9871 GB, free: 19.6 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 6.3e-05/0.327, allocations: 16.42 kB / 0.9871 GB, free: 19.58 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.363e-05/0.327, allocations: 19.38 kB / 0.9871 GB, free: 19.56 MB / 0.6198 GB Notification: Performance of SimCode: time 2.91e-07/0.327, allocations: 0 / 0.9871 GB, free: 19.56 MB / 0.6198 GB Notification: Performance of Templates: time 0.004879/0.3319, allocations: 1.768 MB / 0.9888 GB, free: 17.8 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.makefile (rm -f Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.sim & ./Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.pipe 2>&1)