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.961/1.961, allocations: 288.4 MB / 303.7 MB, free: 8.086 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.0009997/0.0009996, allocations: 180.4 kB / 372.3 MB, free: 10.13 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.552/1.552, allocations: 205.4 MB / 0.631 GB, free: 9.895 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.0007309/0.0007317, allocations: 98.25 kB / 0.7444 GB, free: 5.809 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004021/0.0004021, allocations: 11.94 kB / 0.8675 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2497/0.2501, allocations: 115.3 MB / 0.9801 GB, free: 27.35 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Love1998Light1): time 0.001466/0.2517, allocations: 1.211 MB / 0.9813 GB, free: 26.12 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001007/0.2527, allocations: 0.7422 MB / 0.982 GB, free: 25.37 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.233e-05/0.2527, allocations: 4 kB / 0.982 GB, free: 25.37 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.254e-05/0.2527, allocations: 3.938 kB / 0.982 GB, free: 25.36 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 5.832e-05/0.2528, allocations: 11.91 kB / 0.9821 GB, free: 25.35 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003077/0.2531, allocations: 103.8 kB / 0.9822 GB, free: 25.25 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 7.005e-05/0.2532, allocations: 75.7 kB / 0.9822 GB, free: 25.18 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 5.903e-05/0.2533, allocations: 4 kB / 0.9822 GB, free: 25.17 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 9.202e-05/0.2534, allocations: 39.84 kB / 0.9823 GB, free: 25.13 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 4.581e-05/0.2534, allocations: 31.89 kB / 0.9823 GB, free: 25.1 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.279e-05/0.2535, allocations: 4 kB / 0.9823 GB, free: 25.1 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000118/0.2536, allocations: 83.86 kB / 0.9824 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.78e-05/0.2536, allocations: 23.91 kB / 0.9824 GB, free: 24.99 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.793e-05/0.2536, allocations: 61.55 kB / 0.9825 GB, free: 24.93 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001126/0.2538, allocations: 95.98 kB / 0.9826 GB, free: 24.83 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.387e-06/0.2538, allocations: 0 / 0.9826 GB, free: 24.83 MB / 0.6198 GB Notification: Performance of FrontEnd: time 9.32e-07/0.2538, allocations: 4 kB / 0.9826 GB, free: 24.83 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 2.935e-06/0.2538, allocations: 0 / 0.9826 GB, free: 24.83 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.0004406/0.2542, allocations: 452.8 kB / 0.983 GB, free: 24.33 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 2.59e-05/0.2543, allocations: 12.03 kB / 0.983 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.619e-05/0.2543, allocations: 8.844 kB / 0.983 GB, free: 24.31 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.214e-05/0.2544, allocations: 180.2 kB / 0.9832 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.278e-05/0.2544, allocations: 4.375 kB / 0.9832 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.464e-05/0.2544, allocations: 4.375 kB / 0.9832 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001287/0.2546, allocations: 85.84 kB / 0.9833 GB, free: 24 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.097e-06/0.2546, allocations: 0 / 0.9833 GB, free: 24 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.266e-06/0.2546, allocations: 4 kB / 0.9833 GB, free: 23.99 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.635e-06/0.2546, allocations: 0 / 0.9833 GB, free: 23.99 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001104/0.2547, allocations: 51.95 kB / 0.9833 GB, free: 23.94 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003453/0.2551, allocations: 324.6 kB / 0.9836 GB, free: 23.57 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001107/0.2552, allocations: 70.55 kB / 0.9837 GB, free: 23.5 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.277e-05/0.2553, allocations: 32.84 kB / 0.9837 GB, free: 23.46 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.316e-05/0.2553, allocations: 0 / 0.9837 GB, free: 23.46 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001711/0.2555, allocations: 99.39 kB / 0.9838 GB, free: 23.35 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=10): time 1.403e-06/0.2555, allocations: 0 / 0.9838 GB, free: 23.35 MB / 0.6198 GB Notification: Performance of matching and sorting (n=10): time 0.0002914/0.2558, allocations: 161.5 kB / 0.984 GB, free: 23.19 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.954e-05/0.2558, allocations: 55.41 kB / 0.984 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.298e-05/0.2559, allocations: 127.2 kB / 0.9842 GB, free: 22.99 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.075e-05/0.2559, allocations: 29.7 kB / 0.9842 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.707e-05/0.2559, allocations: 96.52 kB / 0.9843 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.746e-05/0.2559, allocations: 23.7 kB / 0.9843 GB, free: 22.83 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.659e-06/0.256, allocations: 0 / 0.9843 GB, free: 22.83 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.353e-05/0.256, allocations: 322.8 kB / 0.9846 GB, free: 22.51 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.552e-05/0.2561, allocations: 31.92 kB / 0.9846 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.379e-05/0.2562, allocations: 75 kB / 0.9847 GB, free: 22.39 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001346/0.2563, allocations: 109 kB / 0.9848 GB, free: 22.26 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.2563, allocations: 4 kB / 0.9848 GB, free: 22.26 MB / 0.6198 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001965/0.2565, allocations: 125.4 kB / 0.9849 GB, free: 22.13 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.25e-05/0.2565, allocations: 13.86 kB / 0.985 GB, free: 22.12 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.015e-06/0.2565, allocations: 0 / 0.985 GB, free: 22.12 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.697e-06/0.2566, allocations: 4 kB / 0.985 GB, free: 22.11 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.406e-05/0.2567, allocations: 16.36 kB / 0.985 GB, free: 22.1 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.637e-06/0.2567, allocations: 4.125 kB / 0.985 GB, free: 22.09 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.687e-05/0.2568, allocations: 19.84 kB / 0.985 GB, free: 22.07 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.141e-05/0.2568, allocations: 11.98 kB / 0.985 GB, free: 22.06 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 6.806e-05/0.2569, allocations: 125.7 kB / 0.9851 GB, free: 21.93 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.575e-05/0.2569, allocations: 11.91 kB / 0.9851 GB, free: 21.92 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002575/0.2572, allocations: 146 kB / 0.9853 GB, free: 21.77 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.2572, allocations: 0 / 0.9853 GB, free: 21.77 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.426e-06/0.2572, allocations: 4 kB / 0.9853 GB, free: 21.77 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.2572, allocations: 3.938 kB / 0.9853 GB, free: 21.77 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004331/0.2576, allocations: 442.3 kB / 0.9857 GB, free: 21.28 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.794e-06/0.2576, allocations: 0 / 0.9857 GB, free: 21.28 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.576e-05/0.2577, allocations: 15.94 kB / 0.9857 GB, free: 21.26 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.913e-06/0.2577, allocations: 0 / 0.9857 GB, free: 21.26 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.938e-06/0.2577, allocations: 7.984 kB / 0.9857 GB, free: 21.25 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.2577, allocations: 0 / 0.9857 GB, free: 21.25 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.2577, allocations: 3.938 kB / 0.9857 GB, free: 21.25 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002197/0.258, allocations: 227.4 kB / 0.9859 GB, free: 21.01 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.878e-05/0.258, allocations: 92.94 kB / 0.986 GB, free: 20.9 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.814e-05/0.258, allocations: 0 / 0.986 GB, free: 20.9 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000115/0.2582, allocations: 15.98 kB / 0.9861 GB, free: 20.89 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.323e-05/0.2582, allocations: 15.92 kB / 0.9861 GB, free: 20.87 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.233e-05/0.2582, allocations: 4 kB / 0.9861 GB, free: 20.87 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.046e-05/0.2583, allocations: 95.27 kB / 0.9862 GB, free: 20.77 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1e-07/0.2583, allocations: 4 kB / 0.9862 GB, free: 20.77 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002815/0.2586, allocations: 43.98 kB / 0.9862 GB, free: 20.73 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.0002532/0.2588, allocations: 167.3 kB / 0.9864 GB, free: 20.57 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001878/0.259, allocations: 87.91 kB / 0.9865 GB, free: 20.48 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.423e-06/0.259, allocations: 0 / 0.9865 GB, free: 20.48 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 9.217e-05/0.2591, allocations: 51.91 kB / 0.9865 GB, free: 20.43 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002497/0.2594, allocations: 12.73 kB / 0.9865 GB, free: 20.42 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003203/0.2597, allocations: 231.5 kB / 0.9867 GB, free: 20.16 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001335/0.2599, allocations: 0.6926 MB / 0.9874 GB, free: 19.45 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 4.363e-05/0.2599, allocations: 16.42 kB / 0.9874 GB, free: 19.43 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.844e-05/0.2599, allocations: 11.44 kB / 0.9874 GB, free: 19.42 MB / 0.6198 GB Notification: Performance of SimCode: time 9.82e-07/0.2599, allocations: 0 / 0.9874 GB, free: 19.42 MB / 0.6198 GB Notification: Performance of Templates: time 0.003606/0.2636, allocations: 1.634 MB / 0.989 GB, free: 17.79 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)