Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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.Gunay2016Light,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light") translateModel(Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001432/0.001432, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001772/0.001772, allocations: 193.8 kB / 16.13 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.437/1.437, allocations: 205.1 MB / 222 MB, free: 4.773 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.663/1.663, allocations: 292.3 MB / 0.5484 GB, free: 13.68 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001301/0.001301, allocations: 64.91 kB / 0.6708 GB, free: 26.42 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2611/0.2624, allocations: 114.5 MB / 0.7827 GB, free: 14.01 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light): time 0.005543/0.268, allocations: 1.589 MB / 0.7842 GB, free: 12.4 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002502/0.2705, allocations: 0.7956 MB / 0.785 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.65e-05/0.2706, allocations: 0 / 0.785 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 6.187e-05/0.2708, allocations: 7.938 kB / 0.785 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001569/0.2709, allocations: 19.84 kB / 0.785 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007846/0.2717, allocations: 103.8 kB / 0.7851 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002078/0.272, allocations: 91.7 kB / 0.7852 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001176/0.2721, allocations: 8 kB / 0.7852 GB, free: 11.37 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001611/0.2723, allocations: 43.83 kB / 0.7853 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001235/0.2724, allocations: 51.77 kB / 0.7853 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.711e-05/0.2724, allocations: 4 kB / 0.7853 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003052/0.2728, allocations: 87.91 kB / 0.7854 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 4.625e-05/0.2728, allocations: 15.97 kB / 0.7854 GB, free: 11.17 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 8.835e-05/0.2729, allocations: 43.78 kB / 0.7855 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0004177/0.2734, allocations: 159.8 kB / 0.7856 GB, free: 10.97 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.2734, allocations: 0 / 0.7856 GB, free: 10.97 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.813e-06/0.2734, allocations: 0 / 0.7856 GB, free: 10.97 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.072e-05/0.2734, allocations: 0 / 0.7856 GB, free: 10.97 MB / 0.6075 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.001152/0.2746, allocations: 0.4885 MB / 0.7861 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.877e-05/0.2747, allocations: 8.031 kB / 0.7861 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.631e-05/0.2747, allocations: 8.844 kB / 0.7861 GB, free: 10.4 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002222/0.275, allocations: 186.6 kB / 0.7863 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.506e-05/0.275, allocations: 4.375 kB / 0.7863 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.713e-05/0.2751, allocations: 4.375 kB / 0.7863 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003356/0.2754, allocations: 85.89 kB / 0.7864 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.181e-05/0.2754, allocations: 0 / 0.7864 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.379e-05/0.2755, allocations: 8 kB / 0.7864 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.021e-06/0.2755, allocations: 0 / 0.7864 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002862/0.2758, allocations: 51.95 kB / 0.7864 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008695/0.2767, allocations: 332.6 kB / 0.7867 GB, free: 9.648 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003972/0.2771, allocations: 86.67 kB / 0.7868 GB, free: 9.555 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001779/0.2773, allocations: 40.84 kB / 0.7869 GB, free: 9.512 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.047e-05/0.2774, allocations: 3.938 kB / 0.7869 GB, free: 9.508 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004397/0.2778, allocations: 107.4 kB / 0.787 GB, free: 9.391 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=11): time 2.525e-06/0.2778, allocations: 3.938 kB / 0.787 GB, free: 9.387 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11): time 0.0008009/0.2786, allocations: 173.5 kB / 0.7871 GB, free: 9.211 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.027e-05/0.2787, allocations: 55.41 kB / 0.7872 GB, free: 9.145 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001768/0.2789, allocations: 130.1 kB / 0.7873 GB, free: 9.008 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.299e-05/0.279, allocations: 29.7 kB / 0.7873 GB, free: 8.973 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001039/0.2791, allocations: 96.03 kB / 0.7874 GB, free: 8.875 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 6.2e-05/0.2792, allocations: 23.66 kB / 0.7875 GB, free: 8.852 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.788e-05/0.2793, allocations: 37.7 kB / 0.7875 GB, free: 8.809 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001745/0.2795, allocations: 326.8 kB / 0.7878 GB, free: 8.48 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001618/0.2797, allocations: 31.98 kB / 0.7878 GB, free: 8.449 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001954/0.2799, allocations: 75.81 kB / 0.7879 GB, free: 8.359 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003629/0.2803, allocations: 109.1 kB / 0.788 GB, free: 8.234 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.703e-06/0.2803, allocations: 3.984 kB / 0.788 GB, free: 8.23 MB / 0.6075 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004819/0.2808, allocations: 129.4 kB / 0.7881 GB, free: 8.098 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.569e-05/0.2808, allocations: 8 kB / 0.7881 GB, free: 8.09 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.556e-06/0.2808, allocations: 0 / 0.7881 GB, free: 8.09 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.558e-05/0.2809, allocations: 4 kB / 0.7881 GB, free: 8.086 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001924/0.2811, allocations: 19.98 kB / 0.7882 GB, free: 8.066 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.728e-06/0.2811, allocations: 8.031 kB / 0.7882 GB, free: 8.059 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001914/0.2813, allocations: 19.83 kB / 0.7882 GB, free: 8.039 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.193e-05/0.2814, allocations: 4 kB / 0.7882 GB, free: 8.035 MB / 0.6075 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,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,booleanPulse.y,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001644/0.2815, allocations: 132.8 kB / 0.7883 GB, free: 7.898 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.89e-05/0.2816, allocations: 7.906 kB / 0.7883 GB, free: 7.891 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005993/0.2822, allocations: 162.3 kB / 0.7885 GB, free: 7.723 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.113e-06/0.2822, allocations: 8 kB / 0.7885 GB, free: 7.715 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.502e-06/0.2822, allocations: 0 / 0.7885 GB, free: 7.715 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/0.2823, allocations: 0 / 0.7885 GB, free: 7.715 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001007/0.2833, allocations: 450.2 kB / 0.7889 GB, free: 7.219 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.2833, allocations: 0 / 0.7889 GB, free: 7.219 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001267/0.2834, allocations: 12 kB / 0.7889 GB, free: 7.207 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.416e-06/0.2835, allocations: 4 kB / 0.7889 GB, free: 7.203 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.266e-05/0.2835, allocations: 3.984 kB / 0.7889 GB, free: 7.199 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.926e-06/0.2835, allocations: 4 kB / 0.7889 GB, free: 7.195 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.17e-06/0.2835, allocations: 3.938 kB / 0.7889 GB, free: 7.191 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005507/0.2841, allocations: 239.4 kB / 0.7892 GB, free: 6.941 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 6.558e-05/0.2842, allocations: 85.02 kB / 0.7893 GB, free: 6.84 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.003e-05/0.2842, allocations: 0 / 0.7893 GB, free: 6.84 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002148/0.2845, allocations: 15.92 kB / 0.7893 GB, free: 6.824 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.688e-05/0.2846, allocations: 19.92 kB / 0.7893 GB, free: 6.805 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.633e-05/0.2846, allocations: 11.98 kB / 0.7893 GB, free: 6.793 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001045/0.2847, allocations: 103.2 kB / 0.7894 GB, free: 6.691 MB / 0.6075 GB Notification: Performance of sort global known variables: time 4.21e-07/0.2847, allocations: 0 / 0.7894 GB, free: 6.691 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0005622/0.2853, allocations: 43.94 kB / 0.7894 GB, free: 6.648 MB / 0.6075 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 (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.0005302/0.2859, allocations: 165.1 kB / 0.7896 GB, free: 6.496 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004551/0.2863, allocations: 91.89 kB / 0.7897 GB, free: 6.406 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.2864, allocations: 0 / 0.7897 GB, free: 6.406 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0002521/0.2866, allocations: 55.91 kB / 0.7897 GB, free: 6.352 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005848/0.2872, allocations: 15.98 kB / 0.7898 GB, free: 6.336 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009134/0.2882, allocations: 241.9 kB / 0.79 GB, free: 6.078 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005068/0.2887, allocations: 0.7004 MB / 0.7907 GB, free: 5.352 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 9.883e-05/0.2888, allocations: 8.438 kB / 0.7907 GB, free: 5.34 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.469e-05/0.2889, allocations: 23.42 kB / 0.7907 GB, free: 5.32 MB / 0.6075 GB Notification: Performance of SimCode: time 5.71e-07/0.2889, allocations: 3.938 kB / 0.7907 GB, free: 5.316 MB / 0.6075 GB Notification: Performance of Templates: time 0.008901/0.2978, allocations: 1.827 MB / 0.7925 GB, free: 3.504 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.makefile (rm -f Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.pipe ; mkfifo Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.pipe >> ../files/Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.sim & ./Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.pipe 2>&1)