Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.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.Love1998Light1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1") translateModel(Buildings.Occupants.Office.Lighting.Validation.Love1998Light1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.659/1.659, allocations: 288.3 MB / 303.2 MB, free: 8.188 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.001281/0.00128, allocations: 181.9 kB / 371.8 MB, free: 10.28 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.667/1.667, allocations: 205.4 MB / 0.6306 GB, free: 10.03 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.0009102/0.0009102, allocations: 90.91 kB / 0.7439 GB, free: 5.938 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004041/0.0004041, allocations: 10.88 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2982/0.2986, allocations: 115.3 MB / 0.9794 GB, free: 27.71 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Love1998Light1): time 0.001704/0.3004, allocations: 1.203 MB / 0.9806 GB, free: 26.5 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001179/0.3016, allocations: 0.7385 MB / 0.9813 GB, free: 25.75 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.62e-05/0.3016, allocations: 0 / 0.9813 GB, free: 25.75 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.91e-05/0.3017, allocations: 11.92 kB / 0.9813 GB, free: 25.74 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001024/0.3018, allocations: 15.97 kB / 0.9813 GB, free: 25.72 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004844/0.3023, allocations: 95.64 kB / 0.9814 GB, free: 25.63 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 9.145e-05/0.3024, allocations: 51.92 kB / 0.9815 GB, free: 25.58 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001118/0.3025, allocations: 11.98 kB / 0.9815 GB, free: 25.57 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001021/0.3026, allocations: 35.84 kB / 0.9815 GB, free: 25.53 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 6.829e-05/0.3027, allocations: 31.91 kB / 0.9816 GB, free: 25.5 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.568e-05/0.3027, allocations: 4 kB / 0.9816 GB, free: 25.5 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001484/0.3029, allocations: 71.86 kB / 0.9816 GB, free: 25.43 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.276e-05/0.3029, allocations: 15.92 kB / 0.9816 GB, free: 25.41 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.097e-05/0.3029, allocations: 33.7 kB / 0.9817 GB, free: 25.37 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001691/0.3031, allocations: 108 kB / 0.9818 GB, free: 25.27 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.3031, allocations: 0 / 0.9818 GB, free: 25.27 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.864e-06/0.3031, allocations: 0 / 0.9818 GB, free: 25.27 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.973e-06/0.3032, allocations: 0 / 0.9818 GB, free: 25.27 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.000721/0.3039, allocations: 450.5 kB / 0.9822 GB, free: 24.77 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.27e-05/0.3039, allocations: 8.031 kB / 0.9822 GB, free: 24.76 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.658e-05/0.304, allocations: 7.906 kB / 0.9822 GB, free: 24.75 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001148/0.3041, allocations: 186.8 kB / 0.9824 GB, free: 24.53 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.167e-05/0.3041, allocations: 4 kB / 0.9824 GB, free: 24.52 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.512e-05/0.3042, allocations: 7.938 kB / 0.9824 GB, free: 24.52 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001781/0.3043, allocations: 77.64 kB / 0.9825 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.071e-05/0.3044, allocations: 0 / 0.9825 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.471e-05/0.3044, allocations: 7.984 kB / 0.9825 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-06/0.3044, allocations: 0 / 0.9825 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001248/0.3045, allocations: 47.91 kB / 0.9825 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004908/0.305, allocations: 324.7 kB / 0.9828 GB, free: 24.01 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001377/0.3052, allocations: 66.55 kB / 0.9829 GB, free: 23.94 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.818e-05/0.3052, allocations: 0 / 0.9829 GB, free: 23.94 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002352/0.3054, allocations: 99.39 kB / 0.983 GB, free: 23.83 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=10): time 1.433e-06/0.3055, allocations: 0 / 0.983 GB, free: 23.83 MB / 0.6198 GB Notification: Performance of matching and sorting (n=10): time 0.0003551/0.3058, allocations: 161.5 kB / 0.9832 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.275e-05/0.3059, allocations: 55.41 kB / 0.9832 GB, free: 23.6 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.583e-05/0.306, allocations: 134.9 kB / 0.9833 GB, free: 23.46 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.28e-05/0.306, allocations: 29.7 kB / 0.9834 GB, free: 23.42 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.738e-05/0.306, allocations: 92.38 kB / 0.9835 GB, free: 23.33 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.029e-05/0.3061, allocations: 27.84 kB / 0.9835 GB, free: 23.3 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.125e-06/0.3061, allocations: 4 kB / 0.9835 GB, free: 23.3 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.244e-05/0.3061, allocations: 322.8 kB / 0.9838 GB, free: 22.97 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.623e-05/0.3062, allocations: 27.98 kB / 0.9838 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.806e-05/0.3063, allocations: 69.14 kB / 0.9839 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.467e-05/0.3064, allocations: 35.92 kB / 0.9839 GB, free: 22.82 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.3064, allocations: 384 / 0.9839 GB, free: 22.82 MB / 0.6198 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000196/0.3066, allocations: 137.5 kB / 0.9841 GB, free: 22.68 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.327e-05/0.3066, allocations: 4 kB / 0.9841 GB, free: 22.68 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/0.3066, allocations: 0 / 0.9841 GB, free: 22.68 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.695e-05/0.3066, allocations: 7.938 kB / 0.9841 GB, free: 22.67 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001014/0.3067, allocations: 19.98 kB / 0.9841 GB, free: 22.65 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.005e-06/0.3068, allocations: 7.922 kB / 0.9841 GB, free: 22.64 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001004/0.3069, allocations: 23.88 kB / 0.9841 GB, free: 22.62 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.215e-05/0.3069, allocations: 8.094 kB / 0.9841 GB, free: 22.61 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,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 8.174e-05/0.307, allocations: 118.9 kB / 0.9842 GB, free: 22.49 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.455e-05/0.307, allocations: 7.906 kB / 0.9842 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002828/0.3073, allocations: 153.9 kB / 0.9844 GB, free: 22.33 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.659e-06/0.3073, allocations: 4 kB / 0.9844 GB, free: 22.32 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.441e-06/0.3073, allocations: 7.938 kB / 0.9844 GB, free: 22.32 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.611e-06/0.3073, allocations: 7.984 kB / 0.9844 GB, free: 22.31 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004544/0.3078, allocations: 422.4 kB / 0.9848 GB, free: 21.84 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.3078, allocations: 0 / 0.9848 GB, free: 21.84 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.324e-05/0.3079, allocations: 19.92 kB / 0.9848 GB, free: 21.82 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.255e-06/0.3079, allocations: 4 kB / 0.9848 GB, free: 21.82 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.276e-05/0.3079, allocations: 0 / 0.9848 GB, free: 21.82 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.3079, allocations: 4 kB / 0.9848 GB, free: 21.81 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.3079, allocations: 3.953 kB / 0.9848 GB, free: 21.81 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002329/0.3081, allocations: 227.3 kB / 0.9851 GB, free: 21.57 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.015e-05/0.3082, allocations: 85.05 kB / 0.9851 GB, free: 21.47 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.517e-05/0.3082, allocations: 15.98 kB / 0.9852 GB, free: 21.45 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001103/0.3083, allocations: 11.98 kB / 0.9852 GB, free: 21.44 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.653e-05/0.3084, allocations: 11.94 kB / 0.9852 GB, free: 21.43 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.127e-05/0.3084, allocations: 8 kB / 0.9852 GB, free: 21.42 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 5.007e-05/0.3085, allocations: 101.8 kB / 0.9853 GB, free: 21.32 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1e-07/0.3085, allocations: 0 / 0.9853 GB, free: 21.32 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000303/0.3088, allocations: 43.98 kB / 0.9853 GB, free: 21.28 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 (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 (12): * Single equations (assignments): 9 * 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.000402/0.3092, allocations: 158.6 kB / 0.9855 GB, free: 21.13 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002598/0.3095, allocations: 91.83 kB / 0.9856 GB, free: 21.04 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.3095, allocations: 0 / 0.9856 GB, free: 21.04 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001032/0.3096, allocations: 52.17 kB / 0.9856 GB, free: 20.99 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002135/0.3098, allocations: 16.73 kB / 0.9856 GB, free: 20.97 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004631/0.3103, allocations: 227 kB / 0.9858 GB, free: 20.72 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001968/0.3105, allocations: 0.7004 MB / 0.9865 GB, free: 20 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 4.966e-05/0.3106, allocations: 4.438 kB / 0.9865 GB, free: 19.99 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.709e-05/0.3106, allocations: 19.42 kB / 0.9866 GB, free: 19.97 MB / 0.6198 GB Notification: Performance of SimCode: time 2.3e-07/0.3106, allocations: 3.938 kB / 0.9866 GB, free: 19.97 MB / 0.6198 GB Notification: Performance of Templates: time 0.004299/0.3149, allocations: 1.622 MB / 0.9881 GB, free: 18.35 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.makefile (rm -f Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.sim & ./Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe 2>&1)