Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.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.Love1998Light2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2") translateModel(Buildings.Occupants.Office.Lighting.Validation.Love1998Light2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001157/0.001156, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001246/0.001246, allocations: 197 kB / 16.14 MB, free: 6.703 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.438/1.438, allocations: 205.1 MB / 222 MB, free: 5.004 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.73/1.73, allocations: 292.2 MB / 0.5484 GB, free: 13.69 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.002024/0.002025, allocations: 69.73 kB / 0.6708 GB, free: 26.23 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2449/0.2469, allocations: 114.5 MB / 0.7827 GB, free: 14.02 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Love1998Light2): time 0.003048/0.25, allocations: 1.57 MB / 0.7842 GB, free: 12.43 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001443/0.2515, allocations: 0.7995 MB / 0.785 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.587e-05/0.2516, allocations: 0 / 0.785 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.81e-05/0.2516, allocations: 0 / 0.785 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 8.759e-05/0.2517, allocations: 15.86 kB / 0.785 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005094/0.2522, allocations: 103.8 kB / 0.7851 GB, free: 11.51 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001119/0.2524, allocations: 83.72 kB / 0.7852 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 8.993e-05/0.2525, allocations: 15.97 kB / 0.7852 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001022/0.2526, allocations: 27.92 kB / 0.7852 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.876e-05/0.2526, allocations: 43.77 kB / 0.7853 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.879e-05/0.2527, allocations: 4 kB / 0.7853 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002545/0.2529, allocations: 87.91 kB / 0.7853 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.244e-05/0.253, allocations: 19.91 kB / 0.7854 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.089e-05/0.253, allocations: 35.8 kB / 0.7854 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002614/0.2533, allocations: 147.8 kB / 0.7855 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.2533, allocations: 4 kB / 0.7855 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of FrontEnd: time 8.71e-07/0.2533, allocations: 0 / 0.7855 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.819e-06/0.2533, allocations: 0 / 0.7855 GB, free: 11.05 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.000743/0.2541, allocations: 454.6 kB / 0.786 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.921e-05/0.2541, allocations: 12.03 kB / 0.786 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.991e-05/0.2542, allocations: 8.844 kB / 0.786 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001516/0.2543, allocations: 184.2 kB / 0.7862 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.865e-05/0.2544, allocations: 4.375 kB / 0.7862 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.646e-05/0.2544, allocations: 4.375 kB / 0.7862 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001856/0.2546, allocations: 85.83 kB / 0.7863 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.726e-06/0.2546, allocations: 0 / 0.7863 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.252e-05/0.2546, allocations: 0 / 0.7863 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.578e-06/0.2546, allocations: 0 / 0.7863 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001322/0.2548, allocations: 43.97 kB / 0.7863 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005302/0.2553, allocations: 320.7 kB / 0.7866 GB, free: 9.801 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001626/0.2555, allocations: 62.59 kB / 0.7867 GB, free: 9.73 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.994e-05/0.2556, allocations: 36.83 kB / 0.7867 GB, free: 9.691 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.654e-05/0.2556, allocations: 0 / 0.7867 GB, free: 9.691 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002402/0.2558, allocations: 99.27 kB / 0.7868 GB, free: 9.582 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=10): time 2.705e-06/0.2559, allocations: 0 / 0.7868 GB, free: 9.582 MB / 0.6075 GB Notification: Performance of matching and sorting (n=10): time 0.0003934/0.2563, allocations: 153.5 kB / 0.7869 GB, free: 9.426 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.969e-05/0.2563, allocations: 63.39 kB / 0.787 GB, free: 9.352 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001062/0.2564, allocations: 125.7 kB / 0.7871 GB, free: 9.219 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 7.148e-05/0.2565, allocations: 29.7 kB / 0.7872 GB, free: 9.184 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.909e-05/0.2565, allocations: 96.5 kB / 0.7873 GB, free: 9.086 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.423e-05/0.2566, allocations: 23.72 kB / 0.7873 GB, free: 9.062 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.51e-05/0.2566, allocations: 33.7 kB / 0.7873 GB, free: 9.023 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.892e-05/0.2567, allocations: 322.8 kB / 0.7876 GB, free: 8.699 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.563e-05/0.2568, allocations: 27.98 kB / 0.7876 GB, free: 8.672 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001073/0.2569, allocations: 72 kB / 0.7877 GB, free: 8.586 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001651/0.2571, allocations: 105 kB / 0.7878 GB, free: 8.465 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.2571, allocations: 0 / 0.7878 GB, free: 8.465 MB / 0.6075 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002328/0.2574, allocations: 125.4 kB / 0.7879 GB, free: 8.336 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.505e-05/0.2574, allocations: 8 kB / 0.7879 GB, free: 8.328 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.2574, allocations: 0 / 0.7879 GB, free: 8.328 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.21e-05/0.2574, allocations: 4 kB / 0.7879 GB, free: 8.324 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001113/0.2575, allocations: 16.3 kB / 0.788 GB, free: 8.309 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.535e-06/0.2575, allocations: 4 kB / 0.788 GB, free: 8.305 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001054/0.2577, allocations: 19.92 kB / 0.788 GB, free: 8.285 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.258e-05/0.2577, allocations: 4 kB / 0.788 GB, free: 8.281 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,occ.pulseStart,$PRE.occ.pulseStart,occ.y,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001465/0.2578, allocations: 133.8 kB / 0.7881 GB, free: 8.141 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.024e-05/0.2579, allocations: 7.906 kB / 0.7881 GB, free: 8.133 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003113/0.2582, allocations: 145.9 kB / 0.7883 GB, free: 7.984 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.048e-06/0.2582, allocations: 4 kB / 0.7883 GB, free: 7.98 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.2582, allocations: 0 / 0.7883 GB, free: 7.98 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.2582, allocations: 0 / 0.7883 GB, free: 7.98 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005216/0.2587, allocations: 434.3 kB / 0.7887 GB, free: 7.5 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.756e-06/0.2587, allocations: 4 kB / 0.7887 GB, free: 7.496 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.967e-05/0.2588, allocations: 11.98 kB / 0.7887 GB, free: 7.484 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.2588, allocations: 0 / 0.7887 GB, free: 7.484 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.079e-05/0.2588, allocations: 0 / 0.7887 GB, free: 7.484 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.2588, allocations: 4 kB / 0.7887 GB, free: 7.48 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.847e-06/0.2589, allocations: 11.86 kB / 0.7887 GB, free: 7.469 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002698/0.2591, allocations: 227.4 kB / 0.7889 GB, free: 7.23 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.905e-05/0.2592, allocations: 88.95 kB / 0.789 GB, free: 7.125 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.407e-05/0.2592, allocations: 3.984 kB / 0.789 GB, free: 7.121 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001183/0.2593, allocations: 8 kB / 0.789 GB, free: 7.113 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.091e-05/0.2594, allocations: 11.92 kB / 0.789 GB, free: 7.102 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.299e-05/0.2594, allocations: 7.984 kB / 0.789 GB, free: 7.094 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 6.121e-05/0.2595, allocations: 99.27 kB / 0.7891 GB, free: 6.996 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2595, allocations: 0 / 0.7891 GB, free: 6.996 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003003/0.2598, allocations: 40 kB / 0.7892 GB, free: 6.957 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 (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 (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.0003553/0.2601, allocations: 170.2 kB / 0.7893 GB, free: 6.797 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002256/0.2604, allocations: 91.77 kB / 0.7894 GB, free: 6.707 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.2604, allocations: 256 / 0.7894 GB, free: 6.707 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001025/0.2605, allocations: 47.97 kB / 0.7895 GB, free: 6.66 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002855/0.2608, allocations: 13.31 kB / 0.7895 GB, free: 6.652 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004217/0.2612, allocations: 249.2 kB / 0.7897 GB, free: 6.387 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002757/0.2615, allocations: 0.6926 MB / 0.7904 GB, free: 5.668 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 4.641e-05/0.2616, allocations: 4.438 kB / 0.7904 GB, free: 5.66 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.498e-05/0.2616, allocations: 15.42 kB / 0.7904 GB, free: 5.648 MB / 0.6075 GB Notification: Performance of SimCode: time 2.51e-07/0.2616, allocations: 4 kB / 0.7904 GB, free: 5.645 MB / 0.6075 GB Notification: Performance of Templates: time 0.003953/0.2656, allocations: 1.663 MB / 0.792 GB, free: 3.984 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.makefile (rm -f Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe ; mkfifo Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe >> ../files/Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.sim & ./Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe 2>&1)