Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.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.Reinhart2003Light,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light") translateModel(Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001385/0.001385, allocations: 100 kB / 15.05 MB, free: 1.105 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.001453/0.001454, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.596/1.596, allocations: 205.4 MB / 222.1 MB, free: 5.656 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.835/1.835, allocations: 292.5 MB / 0.5497 GB, free: 14.65 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.0005627/0.0005627, allocations: 13.56 kB / 0.6735 GB, free: 26.29 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2547/0.2553, allocations: 116.3 MB / 0.7871 GB, free: 12.02 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light): time 0.001667/0.257, allocations: 1.227 MB / 0.7883 GB, free: 10.78 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001216/0.2582, allocations: 0.7533 MB / 0.7891 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.063e-05/0.2583, allocations: 0 / 0.7891 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.905e-05/0.2583, allocations: 7.922 kB / 0.7891 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 9.222e-05/0.2584, allocations: 15.97 kB / 0.7891 GB, free: 9.996 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004032/0.2588, allocations: 103.6 kB / 0.7892 GB, free: 9.895 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 9.617e-05/0.2589, allocations: 63.86 kB / 0.7892 GB, free: 9.832 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 8.105e-05/0.259, allocations: 11.98 kB / 0.7892 GB, free: 9.82 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 8.428e-05/0.2591, allocations: 35.91 kB / 0.7893 GB, free: 9.785 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 7.798e-05/0.2592, allocations: 47.81 kB / 0.7893 GB, free: 9.738 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.701e-05/0.2592, allocations: 7.938 kB / 0.7893 GB, free: 9.73 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001532/0.2594, allocations: 63.94 kB / 0.7894 GB, free: 9.668 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.678e-05/0.2594, allocations: 19.91 kB / 0.7894 GB, free: 9.648 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.413e-05/0.2594, allocations: 37.7 kB / 0.7894 GB, free: 9.605 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001618/0.2596, allocations: 120 kB / 0.7896 GB, free: 9.488 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.099e-06/0.2596, allocations: 0 / 0.7896 GB, free: 9.488 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.834e-06/0.2596, allocations: 3.938 kB / 0.7896 GB, free: 9.484 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.617e-06/0.2596, allocations: 0 / 0.7896 GB, free: 9.484 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.0007099/0.2603, allocations: 500 kB / 0.79 GB, free: 8.93 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.56e-05/0.2604, allocations: 8.031 kB / 0.7901 GB, free: 8.922 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.842e-05/0.2604, allocations: 11.91 kB / 0.7901 GB, free: 8.91 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001459/0.2606, allocations: 182.9 kB / 0.7902 GB, free: 8.691 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.277e-05/0.2606, allocations: 8 kB / 0.7902 GB, free: 8.684 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.849e-05/0.2606, allocations: 4 kB / 0.7902 GB, free: 8.68 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001947/0.2608, allocations: 81.58 kB / 0.7903 GB, free: 8.594 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/0.2609, allocations: 0 / 0.7903 GB, free: 8.594 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.632e-05/0.2609, allocations: 4 kB / 0.7903 GB, free: 8.59 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/0.2609, allocations: 0 / 0.7903 GB, free: 8.59 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001583/0.2611, allocations: 55.95 kB / 0.7904 GB, free: 8.535 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005503/0.2616, allocations: 336.7 kB / 0.7907 GB, free: 8.156 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002037/0.2618, allocations: 90.69 kB / 0.7908 GB, free: 8.059 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.911e-05/0.2619, allocations: 0 / 0.7908 GB, free: 8.059 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002343/0.2621, allocations: 103.3 kB / 0.7909 GB, free: 7.945 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=11): time 1.292e-06/0.2621, allocations: 0 / 0.7909 GB, free: 7.945 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11): time 0.0004174/0.2625, allocations: 181.8 kB / 0.7911 GB, free: 7.762 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.93e-05/0.2626, allocations: 63.39 kB / 0.7911 GB, free: 7.688 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001173/0.2627, allocations: 140.5 kB / 0.7913 GB, free: 7.543 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.32e-05/0.2627, allocations: 33.7 kB / 0.7913 GB, free: 7.504 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.326e-05/0.2628, allocations: 96.03 kB / 0.7914 GB, free: 7.406 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.163e-05/0.2628, allocations: 23.86 kB / 0.7914 GB, free: 7.383 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.977e-06/0.2629, allocations: 8 kB / 0.7914 GB, free: 7.375 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001075/0.263, allocations: 322.8 kB / 0.7917 GB, free: 7.051 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.671e-05/0.263, allocations: 31.98 kB / 0.7918 GB, free: 7.02 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001037/0.2632, allocations: 71.88 kB / 0.7918 GB, free: 6.934 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001436/0.2633, allocations: 43.92 kB / 0.7919 GB, free: 6.891 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.2633, allocations: 0 / 0.7919 GB, free: 6.891 MB / 0.6075 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002389/0.2636, allocations: 141.4 kB / 0.792 GB, free: 6.746 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.113e-05/0.2636, allocations: 4 kB / 0.792 GB, free: 6.742 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.2636, allocations: 3.953 kB / 0.792 GB, free: 6.738 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.359e-05/0.2636, allocations: 8.094 kB / 0.792 GB, free: 6.73 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001047/0.2637, allocations: 15.98 kB / 0.792 GB, free: 6.715 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.053e-06/0.2637, allocations: 4 kB / 0.792 GB, free: 6.711 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001037/0.2638, allocations: 23.83 kB / 0.7921 GB, free: 6.688 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.068e-05/0.2639, allocations: 4 kB / 0.7921 GB, free: 6.684 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 ($PRE.lig.curSeed,lig.curSeed,$PRE.lig.on,lig.on,$whenCondition3,$whenCondition2,lig.sampleTrigger,$whenCondition1,booleanPulse.y,$PRE.booleanPulse.pulseStart,booleanPulse.pulseStart) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001014/0.264, allocations: 129.7 kB / 0.7922 GB, free: 6.547 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.791e-05/0.264, allocations: 11.91 kB / 0.7922 GB, free: 6.535 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003414/0.2644, allocations: 174.3 kB / 0.7924 GB, free: 6.355 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.879e-06/0.2644, allocations: 3.953 kB / 0.7924 GB, free: 6.352 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.067e-06/0.2644, allocations: 3.938 kB / 0.7924 GB, free: 6.348 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.2644, allocations: 0 / 0.7924 GB, free: 6.348 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006522/0.265, allocations: 469.2 kB / 0.7928 GB, free: 5.836 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.2651, allocations: 0 / 0.7928 GB, free: 5.836 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.212e-05/0.2651, allocations: 23.88 kB / 0.7928 GB, free: 5.812 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.2652, allocations: 0 / 0.7928 GB, free: 5.812 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.172e-05/0.2652, allocations: 0 / 0.7928 GB, free: 5.812 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.2652, allocations: 0 / 0.7928 GB, free: 5.812 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.818e-06/0.2652, allocations: 8 kB / 0.7928 GB, free: 5.805 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002989/0.2655, allocations: 251.4 kB / 0.7931 GB, free: 5.543 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.917e-05/0.2655, allocations: 92.91 kB / 0.7932 GB, free: 5.434 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.423e-05/0.2656, allocations: 3.953 kB / 0.7932 GB, free: 5.43 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001236/0.2657, allocations: 15.98 kB / 0.7932 GB, free: 5.414 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.544e-05/0.2658, allocations: 12.12 kB / 0.7932 GB, free: 5.402 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.61e-05/0.2658, allocations: 8 kB / 0.7932 GB, free: 5.395 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 6.213e-05/0.2658, allocations: 103.2 kB / 0.7933 GB, free: 5.293 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2659, allocations: 4 kB / 0.7933 GB, free: 5.289 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003284/0.2662, allocations: 44 kB / 0.7934 GB, free: 5.246 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 (14): * Single equations (assignments): 11 * 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.0003/0.2665, allocations: 167.9 kB / 0.7935 GB, free: 5.09 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002557/0.2668, allocations: 99.89 kB / 0.7936 GB, free: 4.992 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.2668, allocations: 0 / 0.7936 GB, free: 4.992 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001152/0.2669, allocations: 59.91 kB / 0.7937 GB, free: 4.934 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000209/0.2671, allocations: 19.98 kB / 0.7937 GB, free: 4.914 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004386/0.2676, allocations: 271.1 kB / 0.7939 GB, free: 4.621 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002648/0.2678, allocations: 0.7121 MB / 0.7946 GB, free: 3.883 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 4.593e-05/0.2679, allocations: 8.547 kB / 0.7946 GB, free: 3.875 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.409e-05/0.2679, allocations: 15.44 kB / 0.7947 GB, free: 3.859 MB / 0.6075 GB Notification: Performance of SimCode: time 2.6e-07/0.2679, allocations: 0 / 0.7947 GB, free: 3.859 MB / 0.6075 GB Notification: Performance of Templates: time 0.004607/0.2726, allocations: 1.804 MB / 0.7964 GB, free: 2.062 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.pipe ; mkfifo Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.pipe >> ../files/Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.sim & ./Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.pipe 2>&1) Environment - environmentSimulation: