Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.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: "" <> buildModelFMU(Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Occupants_Office_Lighting_Validation_Reinhart2003Light",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Occupants_Office_Lighting_Validation_Reinhart2003Light",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.629/1.629, allocations: 288.2 MB / 303.2 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.001248/0.001248, allocations: 189 kB / 371.8 MB, free: 10.29 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.061/2.061, allocations: 205.4 MB / 0.6305 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.001058/0.001058, allocations: 85.55 kB / 0.7439 GB, free: 5.957 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000463/0.000463, allocations: 12.28 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2659/0.2664, allocations: 115.3 MB / 0.9795 GB, free: 27.62 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light): time 0.001762/0.2682, allocations: 1.226 MB / 0.9807 GB, free: 26.38 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001423/0.2696, allocations: 0.7618 MB / 0.9814 GB, free: 25.61 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.974e-05/0.2697, allocations: 7.938 kB / 0.9814 GB, free: 25.6 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.557e-05/0.2697, allocations: 0 / 0.9814 GB, free: 25.6 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 7.374e-05/0.2698, allocations: 19.89 kB / 0.9814 GB, free: 25.58 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003482/0.2702, allocations: 99.69 kB / 0.9815 GB, free: 25.48 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001047/0.2703, allocations: 63.86 kB / 0.9816 GB, free: 25.42 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 5.888e-05/0.2704, allocations: 11.98 kB / 0.9816 GB, free: 25.41 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 8.368e-05/0.2705, allocations: 43.84 kB / 0.9816 GB, free: 25.37 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 6.949e-05/0.2705, allocations: 35.83 kB / 0.9817 GB, free: 25.33 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.471e-05/0.2706, allocations: 4 kB / 0.9817 GB, free: 25.33 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001445/0.2707, allocations: 71.92 kB / 0.9818 GB, free: 25.26 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.369e-05/0.2708, allocations: 15.92 kB / 0.9818 GB, free: 25.24 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.997e-05/0.2708, allocations: 49.58 kB / 0.9818 GB, free: 25.19 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001651/0.271, allocations: 116 kB / 0.9819 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 1.644e-06/0.271, allocations: 0 / 0.9819 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of FrontEnd: time 9.62e-07/0.271, allocations: 0 / 0.9819 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.125e-06/0.271, allocations: 0 / 0.9819 GB, free: 25.07 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0006443/0.2717, allocations: 492.1 kB / 0.9824 GB, free: 24.53 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 2.966e-05/0.2717, allocations: 16.02 kB / 0.9824 GB, free: 24.51 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.065e-05/0.2717, allocations: 38.55 kB / 0.9824 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.026e-05/0.2718, allocations: 7.906 kB / 0.9825 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001037/0.2719, allocations: 187.8 kB / 0.9826 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.236e-05/0.2719, allocations: 4 kB / 0.9826 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.16e-05/0.272, allocations: 7.984 kB / 0.9826 GB, free: 24.22 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002077/0.2722, allocations: 85.62 kB / 0.9827 GB, free: 24.13 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.374e-06/0.2722, allocations: 0 / 0.9827 GB, free: 24.13 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.544e-05/0.2722, allocations: 4 kB / 0.9827 GB, free: 24.13 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.496e-06/0.2722, allocations: 4 kB / 0.9827 GB, free: 24.12 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001885/0.2724, allocations: 55.86 kB / 0.9828 GB, free: 24.07 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005275/0.273, allocations: 332.7 kB / 0.9831 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002519/0.2732, allocations: 86.66 kB / 0.9832 GB, free: 23.6 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.085e-05/0.2733, allocations: 12.03 kB / 0.9832 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002506/0.2735, allocations: 99.44 kB / 0.9833 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=11): time 3.156e-06/0.2736, allocations: 7.938 kB / 0.9833 GB, free: 23.47 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11): time 0.0005052/0.2741, allocations: 177.5 kB / 0.9835 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.785e-05/0.2741, allocations: 59.39 kB / 0.9835 GB, free: 23.22 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001276/0.2743, allocations: 140.2 kB / 0.9837 GB, free: 23.08 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.005e-05/0.2743, allocations: 29.7 kB / 0.9837 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.076e-05/0.2743, allocations: 99.98 kB / 0.9838 GB, free: 22.94 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.076e-05/0.2744, allocations: 27.64 kB / 0.9838 GB, free: 22.91 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.067e-06/0.2744, allocations: 8 kB / 0.9838 GB, free: 22.91 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.038e-05/0.2745, allocations: 322.8 kB / 0.9841 GB, free: 22.58 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001108/0.2746, allocations: 27.98 kB / 0.9842 GB, free: 22.55 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001384/0.2747, allocations: 78.89 kB / 0.9842 GB, free: 22.46 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001181/0.2749, allocations: 35.98 kB / 0.9843 GB, free: 22.43 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.2749, allocations: 0 / 0.9843 GB, free: 22.43 MB / 0.6198 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003557/0.2753, allocations: 137.4 kB / 0.9844 GB, free: 22.29 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.534e-05/0.2753, allocations: 12.05 kB / 0.9844 GB, free: 22.27 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.2753, allocations: 4 kB / 0.9844 GB, free: 22.27 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.129e-05/0.2753, allocations: 4 kB / 0.9844 GB, free: 22.27 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001387/0.2755, allocations: 19.92 kB / 0.9844 GB, free: 22.25 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.58e-06/0.2755, allocations: 0 / 0.9844 GB, free: 22.25 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001555/0.2757, allocations: 27.89 kB / 0.9845 GB, free: 22.22 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.483e-05/0.2757, allocations: 4 kB / 0.9845 GB, free: 22.21 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,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 9.987e-05/0.2758, allocations: 132 kB / 0.9846 GB, free: 22.08 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.766e-05/0.2758, allocations: 11.89 kB / 0.9846 GB, free: 22.07 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004772/0.2763, allocations: 170.4 kB / 0.9848 GB, free: 21.9 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.911e-06/0.2764, allocations: 7.984 kB / 0.9848 GB, free: 21.89 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.2764, allocations: 0 / 0.9848 GB, free: 21.89 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.2764, allocations: 3.984 kB / 0.9848 GB, free: 21.89 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007227/0.2771, allocations: 466.2 kB / 0.9852 GB, free: 21.38 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-06/0.2771, allocations: 3.953 kB / 0.9852 GB, free: 21.37 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001005/0.2772, allocations: 15.98 kB / 0.9852 GB, free: 21.36 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.639e-06/0.2773, allocations: 4 kB / 0.9852 GB, free: 21.35 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.448e-05/0.2773, allocations: 4 kB / 0.9852 GB, free: 21.35 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/0.2773, allocations: 0 / 0.9852 GB, free: 21.35 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.2773, allocations: 4 kB / 0.9852 GB, free: 21.34 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003782/0.2777, allocations: 252 kB / 0.9855 GB, free: 21.08 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.403e-05/0.2777, allocations: 92.88 kB / 0.9856 GB, free: 20.97 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.155e-05/0.2778, allocations: 3.984 kB / 0.9856 GB, free: 20.97 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001902/0.278, allocations: 16 kB / 0.9856 GB, free: 20.95 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.978e-05/0.278, allocations: 11.97 kB / 0.9856 GB, free: 20.94 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.28e-05/0.2781, allocations: 4 kB / 0.9856 GB, free: 20.94 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 6.751e-05/0.2781, allocations: 108.9 kB / 0.9857 GB, free: 20.83 MB / 0.6198 GB Notification: Performance of sort global known variables: time 2.1e-07/0.2781, allocations: 0 / 0.9857 GB, free: 20.83 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0005267/0.2787, allocations: 55.92 kB / 0.9858 GB, free: 20.78 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 (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.0008077/0.2795, allocations: 0.8482 MB / 0.9866 GB, free: 19.92 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.00028/0.2798, allocations: 95.95 kB / 0.9867 GB, free: 19.82 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.252e-06/0.2798, allocations: 0 / 0.9867 GB, free: 19.82 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001498/0.28, allocations: 59.91 kB / 0.9867 GB, free: 19.77 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002888/0.2803, allocations: 16.73 kB / 0.9868 GB, free: 19.75 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009489/0.2812, allocations: 1.253 MB / 0.988 GB, free: 18.43 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001367/0.2814, allocations: 0.7082 MB / 0.9887 GB, free: 17.69 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 4.621e-05/0.2814, allocations: 16.81 kB / 0.9887 GB, free: 17.68 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.339e-05/0.2815, allocations: 39.42 kB / 0.9887 GB, free: 17.64 MB / 0.6198 GB Notification: Performance of SimCode: time 2.1e-07/0.2815, allocations: 0 / 0.9887 GB, free: 17.64 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01233/0.2938, allocations: 3.049 MB / 0.9917 GB, free: 14.74 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001399/0.294, allocations: 250.3 kB / 0.9919 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.601/1.895, allocations: 4.062 kB / 0.9919 GB, free: 14.45 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Occupants_Office_Lighting_Validation_Reinhart2003Light_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Occupants_Office_Lighting_Validation_Reinhart2003Light.fmu > Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.pipe 2>&1)