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.739/1.739, allocations: 288.3 MB / 303.2 MB, free: 8.234 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.001029/0.001029, allocations: 177.1 kB / 371.8 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.701/1.701, allocations: 205.4 MB / 0.6306 GB, free: 9.996 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.0008996/0.0008997, allocations: 93.16 kB / 0.7439 GB, free: 5.914 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004187/0.0004188, allocations: 15.52 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2908/0.2912, allocations: 115.3 MB / 0.9794 GB, free: 27.7 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light): time 0.001673/0.293, allocations: 1.218 MB / 0.9806 GB, free: 26.47 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001241/0.2942, allocations: 0.7385 MB / 0.9813 GB, free: 25.72 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.495e-05/0.2943, allocations: 4 kB / 0.9813 GB, free: 25.72 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.274e-05/0.2943, allocations: 7.875 kB / 0.9813 GB, free: 25.71 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001072/0.2944, allocations: 23.89 kB / 0.9814 GB, free: 25.69 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004686/0.2949, allocations: 91.75 kB / 0.9814 GB, free: 25.6 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 9.194e-05/0.295, allocations: 67.78 kB / 0.9815 GB, free: 25.53 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 9.534e-05/0.2951, allocations: 12 kB / 0.9815 GB, free: 25.52 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 8.976e-05/0.2952, allocations: 43.89 kB / 0.9816 GB, free: 25.48 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 6.54e-05/0.2953, allocations: 35.84 kB / 0.9816 GB, free: 25.44 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.603e-05/0.2953, allocations: 4 kB / 0.9816 GB, free: 25.44 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001424/0.2955, allocations: 71.86 kB / 0.9817 GB, free: 25.37 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.167e-05/0.2955, allocations: 11.98 kB / 0.9817 GB, free: 25.36 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.139e-05/0.2955, allocations: 45.62 kB / 0.9817 GB, free: 25.3 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001629/0.2957, allocations: 108 kB / 0.9818 GB, free: 25.2 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.2957, allocations: 0 / 0.9818 GB, free: 25.2 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.423e-06/0.2957, allocations: 0 / 0.9818 GB, free: 25.2 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.388e-06/0.2957, allocations: 0 / 0.9818 GB, free: 25.2 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.0006551/0.2964, allocations: 488.1 kB / 0.9823 GB, free: 24.66 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.159e-05/0.2964, allocations: 8.031 kB / 0.9823 GB, free: 24.65 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.151e-05/0.2965, allocations: 7.906 kB / 0.9823 GB, free: 24.64 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000121/0.2966, allocations: 189.4 kB / 0.9825 GB, free: 24.42 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.304e-05/0.2967, allocations: 0 / 0.9825 GB, free: 24.42 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.001e-05/0.2967, allocations: 11.94 kB / 0.9825 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001845/0.2969, allocations: 81.64 kB / 0.9826 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.153e-05/0.2969, allocations: 3.984 kB / 0.9826 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.392e-05/0.2969, allocations: 0 / 0.9826 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.728e-06/0.2969, allocations: 4 kB / 0.9826 GB, free: 24.31 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001381/0.2971, allocations: 51.97 kB / 0.9826 GB, free: 24.26 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005222/0.2976, allocations: 344.6 kB / 0.983 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001895/0.2978, allocations: 78.67 kB / 0.983 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.389e-05/0.2978, allocations: 8 kB / 0.9831 GB, free: 23.78 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002331/0.2981, allocations: 99.39 kB / 0.9831 GB, free: 23.67 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=11): time 1.393e-06/0.2981, allocations: 0 / 0.9831 GB, free: 23.67 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11): time 0.0003966/0.2985, allocations: 181.5 kB / 0.9833 GB, free: 23.49 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.471e-05/0.2985, allocations: 55.39 kB / 0.9834 GB, free: 23.42 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.737e-05/0.2986, allocations: 138.1 kB / 0.9835 GB, free: 23.28 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.583e-05/0.2986, allocations: 33.7 kB / 0.9835 GB, free: 23.24 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.298e-05/0.2987, allocations: 96.05 kB / 0.9836 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.317e-05/0.2987, allocations: 35.72 kB / 0.9837 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.683e-06/0.2987, allocations: 0 / 0.9837 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.037e-05/0.2988, allocations: 314.8 kB / 0.984 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.133e-05/0.2989, allocations: 35.97 kB / 0.984 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.091e-05/0.299, allocations: 73.08 kB / 0.9841 GB, free: 22.66 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.987e-05/0.2991, allocations: 39.98 kB / 0.9841 GB, free: 22.62 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.2991, allocations: 0 / 0.9841 GB, free: 22.62 MB / 0.6198 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002065/0.2993, allocations: 141.4 kB / 0.9842 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.444e-05/0.2993, allocations: 4 kB / 0.9842 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.2993, allocations: 4 kB / 0.9842 GB, free: 22.47 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.732e-05/0.2993, allocations: 0 / 0.9842 GB, free: 22.47 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001049/0.2994, allocations: 23.92 kB / 0.9843 GB, free: 22.45 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.464e-06/0.2995, allocations: 0 / 0.9843 GB, free: 22.45 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.596e-05/0.2996, allocations: 27.97 kB / 0.9843 GB, free: 22.42 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.096e-05/0.2996, allocations: 11.94 kB / 0.9843 GB, free: 22.41 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 8.172e-05/0.2997, allocations: 120.9 kB / 0.9844 GB, free: 22.29 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.691e-05/0.2997, allocations: 11.81 kB / 0.9844 GB, free: 22.27 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002821/0.3, allocations: 166.3 kB / 0.9846 GB, free: 22.11 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.048e-06/0.3, allocations: 8 kB / 0.9846 GB, free: 22.1 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.069e-06/0.3, allocations: 144 / 0.9846 GB, free: 22.1 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.751e-06/0.3, allocations: 3.984 kB / 0.9846 GB, free: 22.1 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004688/0.3005, allocations: 451.4 kB / 0.985 GB, free: 21.6 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/0.3005, allocations: 4 kB / 0.985 GB, free: 21.6 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.426e-05/0.3006, allocations: 19.98 kB / 0.9851 GB, free: 21.58 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.3006, allocations: 0 / 0.9851 GB, free: 21.58 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.415e-05/0.3006, allocations: 4 kB / 0.9851 GB, free: 21.57 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.805e-06/0.3006, allocations: 7.938 kB / 0.9851 GB, free: 21.57 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.3006, allocations: 4 kB / 0.9851 GB, free: 21.56 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002322/0.3009, allocations: 241.1 kB / 0.9853 GB, free: 21.31 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.923e-05/0.3009, allocations: 96.95 kB / 0.9854 GB, free: 21.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.427e-05/0.3009, allocations: 0 / 0.9854 GB, free: 21.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001118/0.301, allocations: 11.98 kB / 0.9854 GB, free: 21.19 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.194e-05/0.3011, allocations: 15.94 kB / 0.9854 GB, free: 21.17 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.591e-05/0.3011, allocations: 4 kB / 0.9854 GB, free: 21.17 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.548e-05/0.3012, allocations: 105.1 kB / 0.9855 GB, free: 21.07 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3012, allocations: 0 / 0.9855 GB, free: 21.07 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002848/0.3015, allocations: 43.98 kB / 0.9856 GB, free: 21.02 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.0003541/0.3018, allocations: 162.3 kB / 0.9857 GB, free: 20.87 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002949/0.3021, allocations: 95.89 kB / 0.9858 GB, free: 20.77 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.3021, allocations: 8.125 kB / 0.9858 GB, free: 20.77 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001027/0.3023, allocations: 55.91 kB / 0.9859 GB, free: 20.71 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002191/0.3025, allocations: 12 kB / 0.9859 GB, free: 20.7 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004515/0.3029, allocations: 255.2 kB / 0.9861 GB, free: 20.42 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001379/0.3031, allocations: 0.7004 MB / 0.9868 GB, free: 19.7 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 5.082e-05/0.3031, allocations: 12.42 kB / 0.9868 GB, free: 19.68 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.424e-05/0.3032, allocations: 15.44 kB / 0.9868 GB, free: 19.67 MB / 0.6198 GB Notification: Performance of SimCode: time 2.2e-07/0.3032, allocations: 0 / 0.9868 GB, free: 19.67 MB / 0.6198 GB Notification: Performance of Templates: time 0.004154/0.3074, allocations: 1.77 MB / 0.9886 GB, free: 17.91 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)