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.8/1.8, allocations: 288.4 MB / 303.4 MB, free: 8.07 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.001186/0.001186, allocations: 186.7 kB / 372 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.714/1.714, allocations: 205.4 MB / 0.6307 GB, free: 9.988 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.00104/0.00104, allocations: 78.98 kB / 0.7441 GB, free: 5.926 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004004/0.0004007, allocations: 15.03 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2421/0.2425, allocations: 115.3 MB / 0.9796 GB, free: 27.69 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Love1998Light1): time 0.001671/0.2442, allocations: 1.211 MB / 0.9808 GB, free: 26.46 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0012/0.2454, allocations: 0.7422 MB / 0.9815 GB, free: 25.71 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.396e-05/0.2455, allocations: 0 / 0.9815 GB, free: 25.71 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.985e-05/0.2456, allocations: 3.938 kB / 0.9815 GB, free: 25.71 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001081/0.2457, allocations: 23.84 kB / 0.9815 GB, free: 25.68 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005557/0.2462, allocations: 95.77 kB / 0.9816 GB, free: 25.59 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001144/0.2464, allocations: 71.78 kB / 0.9817 GB, free: 25.52 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 9.695e-05/0.2465, allocations: 7.984 kB / 0.9817 GB, free: 25.51 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001072/0.2466, allocations: 39.84 kB / 0.9817 GB, free: 25.47 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 7.106e-05/0.2467, allocations: 39.83 kB / 0.9818 GB, free: 25.43 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.834e-05/0.2467, allocations: 8 kB / 0.9818 GB, free: 25.43 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000186/0.2469, allocations: 75.92 kB / 0.9818 GB, free: 25.35 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.266e-05/0.2469, allocations: 15.92 kB / 0.9819 GB, free: 25.34 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.898e-05/0.247, allocations: 37.69 kB / 0.9819 GB, free: 25.29 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001697/0.2471, allocations: 108 kB / 0.982 GB, free: 25.19 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 7.293e-06/0.2472, allocations: 0 / 0.982 GB, free: 25.19 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.903e-06/0.2472, allocations: 3.938 kB / 0.982 GB, free: 25.18 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.192e-06/0.2472, allocations: 0 / 0.982 GB, free: 25.18 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.000707/0.2479, allocations: 454.5 kB / 0.9824 GB, free: 24.68 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.925e-05/0.2479, allocations: 8.031 kB / 0.9824 GB, free: 24.67 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.833e-05/0.248, allocations: 7.906 kB / 0.9824 GB, free: 24.66 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00012/0.2481, allocations: 174.9 kB / 0.9826 GB, free: 24.45 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.232e-05/0.2482, allocations: 4 kB / 0.9826 GB, free: 24.45 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.222e-05/0.2482, allocations: 8 kB / 0.9826 GB, free: 24.44 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001815/0.2484, allocations: 73.58 kB / 0.9827 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.078e-05/0.2484, allocations: 8 kB / 0.9827 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.589e-05/0.2484, allocations: 8 kB / 0.9827 GB, free: 24.35 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.19e-06/0.2484, allocations: 0 / 0.9827 GB, free: 24.35 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001272/0.2486, allocations: 39.97 kB / 0.9827 GB, free: 24.31 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005197/0.2491, allocations: 332.7 kB / 0.9831 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000133/0.2492, allocations: 62.59 kB / 0.9831 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.123e-05/0.2493, allocations: 36.84 kB / 0.9832 GB, free: 23.82 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.741e-05/0.2494, allocations: 11.97 kB / 0.9832 GB, free: 23.81 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002094/0.2496, allocations: 95.3 kB / 0.9833 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=10): time 1.442e-06/0.2496, allocations: 0 / 0.9833 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of matching and sorting (n=10): time 0.0003644/0.25, allocations: 161.5 kB / 0.9834 GB, free: 23.54 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.245e-05/0.25, allocations: 59.34 kB / 0.9835 GB, free: 23.47 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.213e-05/0.2501, allocations: 129.8 kB / 0.9836 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.52e-05/0.2501, allocations: 29.7 kB / 0.9836 GB, free: 23.3 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.957e-05/0.2502, allocations: 96.36 kB / 0.9837 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.102e-05/0.2502, allocations: 27.8 kB / 0.9837 GB, free: 23.18 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.392e-06/0.2502, allocations: 3.938 kB / 0.9837 GB, free: 23.17 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.675e-05/0.2503, allocations: 322.8 kB / 0.9841 GB, free: 22.85 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.151e-05/0.2503, allocations: 27.98 kB / 0.9841 GB, free: 22.82 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.983e-05/0.2504, allocations: 70.25 kB / 0.9841 GB, free: 22.73 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.252e-05/0.2505, allocations: 35.98 kB / 0.9842 GB, free: 22.7 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.2505, allocations: 0 / 0.9842 GB, free: 22.7 MB / 0.6198 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002231/0.2508, allocations: 129.4 kB / 0.9843 GB, free: 22.57 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.563e-05/0.2508, allocations: 8 kB / 0.9843 GB, free: 22.56 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.311e-06/0.2508, allocations: 0 / 0.9843 GB, free: 22.56 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.915e-05/0.2508, allocations: 0 / 0.9843 GB, free: 22.56 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001109/0.2509, allocations: 19.92 kB / 0.9843 GB, free: 22.54 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.805e-06/0.251, allocations: 4 kB / 0.9843 GB, free: 22.54 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001095/0.2511, allocations: 28 kB / 0.9844 GB, free: 22.51 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.328e-05/0.2511, allocations: 4 kB / 0.9844 GB, free: 22.5 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.463e-05/0.2512, allocations: 129.8 kB / 0.9845 GB, free: 22.37 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.614e-05/0.2512, allocations: 7.906 kB / 0.9845 GB, free: 22.36 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002894/0.2515, allocations: 146 kB / 0.9846 GB, free: 22.21 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.2515, allocations: 7.938 kB / 0.9846 GB, free: 22.21 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.2515, allocations: 0 / 0.9846 GB, free: 22.21 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.2515, allocations: 0 / 0.9846 GB, free: 22.21 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004686/0.252, allocations: 426.3 kB / 0.985 GB, free: 21.73 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.252, allocations: 0 / 0.985 GB, free: 21.73 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.559e-05/0.2521, allocations: 15.98 kB / 0.9851 GB, free: 21.72 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.359e-06/0.2521, allocations: 4 kB / 0.9851 GB, free: 21.71 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.192e-05/0.2521, allocations: 4.375 kB / 0.9851 GB, free: 21.71 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.2521, allocations: 3.953 kB / 0.9851 GB, free: 21.71 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.2521, allocations: 3.984 kB / 0.9851 GB, free: 21.7 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002328/0.2524, allocations: 227.5 kB / 0.9853 GB, free: 21.46 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.698e-05/0.2524, allocations: 96.89 kB / 0.9854 GB, free: 21.35 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.178e-05/0.2524, allocations: 3.984 kB / 0.9854 GB, free: 21.35 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001142/0.2526, allocations: 12 kB / 0.9854 GB, free: 21.34 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.01e-05/0.2526, allocations: 11.94 kB / 0.9854 GB, free: 21.32 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.606e-05/0.2526, allocations: 7.984 kB / 0.9854 GB, free: 21.32 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.419e-05/0.2527, allocations: 101.4 kB / 0.9855 GB, free: 21.22 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2527, allocations: 0 / 0.9855 GB, free: 21.22 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002846/0.253, allocations: 40 kB / 0.9856 GB, free: 21.18 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.0003468/0.2533, allocations: 169.4 kB / 0.9857 GB, free: 21.02 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002207/0.2536, allocations: 91.77 kB / 0.9858 GB, free: 20.93 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/0.2536, allocations: 4.25 kB / 0.9858 GB, free: 20.92 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 9.599e-05/0.2537, allocations: 51.97 kB / 0.9859 GB, free: 20.87 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000283/0.254, allocations: 8.219 kB / 0.9859 GB, free: 20.86 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004261/0.2544, allocations: 242.9 kB / 0.9861 GB, free: 20.6 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001461/0.2546, allocations: 0.6926 MB / 0.9868 GB, free: 19.88 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 4.998e-05/0.2546, allocations: 8.438 kB / 0.9868 GB, free: 19.87 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.309e-05/0.2547, allocations: 19.36 kB / 0.9868 GB, free: 19.85 MB / 0.6198 GB Notification: Performance of SimCode: time 2.41e-07/0.2547, allocations: 4 kB / 0.9868 GB, free: 19.85 MB / 0.6198 GB Notification: Performance of Templates: time 0.003981/0.2587, allocations: 1.63 MB / 0.9884 GB, free: 18.23 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)