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.631/1.631, allocations: 288.4 MB / 303.3 MB, free: 8.223 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.001066/0.001066, allocations: 170.4 kB / 372 MB, free: 10.3 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.789/1.789, allocations: 205.4 MB / 0.6307 GB, free: 10.01 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.0008515/0.0008514, allocations: 101.4 kB / 0.744 GB, free: 5.938 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004257/0.0004257, allocations: 14.03 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2522/0.2527, allocations: 115.3 MB / 0.9796 GB, free: 27.59 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light): time 0.001858/0.2546, allocations: 1.238 MB / 0.9809 GB, free: 26.33 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001324/0.256, allocations: 0.7578 MB / 0.9816 GB, free: 25.57 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.984e-05/0.2561, allocations: 0 / 0.9816 GB, free: 25.57 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.973e-05/0.2561, allocations: 4 kB / 0.9816 GB, free: 25.56 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001163/0.2562, allocations: 15.8 kB / 0.9816 GB, free: 25.55 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005891/0.2568, allocations: 95.83 kB / 0.9817 GB, free: 25.45 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001159/0.2569, allocations: 95.62 kB / 0.9818 GB, free: 25.36 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001023/0.2571, allocations: 11.98 kB / 0.9818 GB, free: 25.35 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001055/0.2572, allocations: 35.86 kB / 0.9818 GB, free: 25.31 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 7.738e-05/0.2573, allocations: 47.81 kB / 0.9819 GB, free: 25.27 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.946e-05/0.2573, allocations: 4 kB / 0.9819 GB, free: 25.26 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001664/0.2575, allocations: 87.84 kB / 0.982 GB, free: 25.18 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.768e-05/0.2575, allocations: 19.92 kB / 0.982 GB, free: 25.16 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.063e-05/0.2575, allocations: 37.64 kB / 0.982 GB, free: 25.11 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001846/0.2577, allocations: 120 kB / 0.9821 GB, free: 25 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.2578, allocations: 0 / 0.9821 GB, free: 25 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.903e-06/0.2578, allocations: 0 / 0.9821 GB, free: 25 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.201e-06/0.2578, allocations: 0 / 0.9821 GB, free: 25 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.0007844/0.2586, allocations: 496.1 kB / 0.9826 GB, free: 24.45 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.66e-05/0.2586, allocations: 12.02 kB / 0.9826 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.6e-05/0.2587, allocations: 42.42 kB / 0.9827 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.111e-05/0.2587, allocations: 11.91 kB / 0.9827 GB, free: 24.37 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001362/0.2589, allocations: 178.9 kB / 0.9828 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.167e-05/0.2589, allocations: 8 kB / 0.9829 GB, free: 24.15 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.188e-05/0.2589, allocations: 11.98 kB / 0.9829 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001886/0.2591, allocations: 77.64 kB / 0.9829 GB, free: 24.05 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.072e-05/0.2591, allocations: 3.938 kB / 0.9829 GB, free: 24.05 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.48e-05/0.2592, allocations: 4 kB / 0.9829 GB, free: 24.05 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.171e-06/0.2592, allocations: 0 / 0.9829 GB, free: 24.05 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001485/0.2593, allocations: 55.92 kB / 0.983 GB, free: 23.99 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005531/0.2599, allocations: 340.6 kB / 0.9833 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001951/0.2601, allocations: 82.7 kB / 0.9834 GB, free: 23.52 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.385e-05/0.2602, allocations: 48.83 kB / 0.9835 GB, free: 23.47 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.532e-05/0.2602, allocations: 0 / 0.9835 GB, free: 23.47 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002221/0.2604, allocations: 99.3 kB / 0.9835 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=11): time 1.282e-06/0.2605, allocations: 0 / 0.9835 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11): time 0.0003927/0.2609, allocations: 189.4 kB / 0.9837 GB, free: 23.17 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.447e-05/0.2609, allocations: 59.38 kB / 0.9838 GB, free: 23.1 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.845e-05/0.261, allocations: 140.8 kB / 0.9839 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.504e-05/0.261, allocations: 29.7 kB / 0.9839 GB, free: 22.92 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.317e-05/0.2611, allocations: 104 kB / 0.984 GB, free: 22.81 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.01e-05/0.2611, allocations: 19.72 kB / 0.9841 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.953e-06/0.2611, allocations: 4 kB / 0.9841 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.744e-05/0.2612, allocations: 322.8 kB / 0.9844 GB, free: 22.46 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.077e-05/0.2612, allocations: 31.98 kB / 0.9844 GB, free: 22.43 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.593e-05/0.2613, allocations: 75.31 kB / 0.9845 GB, free: 22.34 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.087e-05/0.2614, allocations: 43.92 kB / 0.9845 GB, free: 22.3 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.2614, allocations: 0 / 0.9845 GB, free: 22.3 MB / 0.6198 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002062/0.2616, allocations: 137.4 kB / 0.9847 GB, free: 22.16 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.448e-05/0.2617, allocations: 7.953 kB / 0.9847 GB, free: 22.15 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.583e-06/0.2617, allocations: 4 kB / 0.9847 GB, free: 22.15 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.415e-05/0.2617, allocations: 0 / 0.9847 GB, free: 22.15 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001057/0.2618, allocations: 20.08 kB / 0.9847 GB, free: 22.13 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.712e-06/0.2618, allocations: 4 kB / 0.9847 GB, free: 22.12 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.977e-05/0.2619, allocations: 23.89 kB / 0.9847 GB, free: 22.1 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.168e-05/0.2619, allocations: 4 kB / 0.9847 GB, free: 22.1 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 0.0001321/0.2621, allocations: 129.7 kB / 0.9848 GB, free: 21.96 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.953e-05/0.2621, allocations: 11.91 kB / 0.9848 GB, free: 21.95 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003244/0.2624, allocations: 178.3 kB / 0.985 GB, free: 21.77 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.2625, allocations: 0 / 0.985 GB, free: 21.77 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.641e-06/0.2625, allocations: 0 / 0.985 GB, free: 21.77 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.2625, allocations: 4 kB / 0.985 GB, free: 21.77 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005025/0.263, allocations: 472.2 kB / 0.9855 GB, free: 21.25 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.263, allocations: 0 / 0.9855 GB, free: 21.25 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.692e-05/0.2631, allocations: 20.06 kB / 0.9855 GB, free: 21.23 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.376e-06/0.2631, allocations: 4 kB / 0.9855 GB, free: 21.23 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.472e-05/0.2631, allocations: 11.98 kB / 0.9855 GB, free: 21.22 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.2631, allocations: 0 / 0.9855 GB, free: 21.22 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.2631, allocations: 0 / 0.9855 GB, free: 21.22 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002542/0.2634, allocations: 247.4 kB / 0.9857 GB, free: 20.96 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.214e-05/0.2634, allocations: 96.86 kB / 0.9858 GB, free: 20.85 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.488e-05/0.2635, allocations: 4 kB / 0.9858 GB, free: 20.84 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001168/0.2636, allocations: 15.98 kB / 0.9859 GB, free: 20.83 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.374e-05/0.2636, allocations: 7.984 kB / 0.9859 GB, free: 20.82 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.651e-05/0.2637, allocations: 7.938 kB / 0.9859 GB, free: 20.81 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 5.156e-05/0.2637, allocations: 112.5 kB / 0.986 GB, free: 20.7 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2637, allocations: 0 / 0.986 GB, free: 20.7 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000288/0.264, allocations: 44 kB / 0.986 GB, free: 20.66 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.0007221/0.2647, allocations: 0.8495 MB / 0.9868 GB, free: 19.8 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002404/0.265, allocations: 99.88 kB / 0.9869 GB, free: 19.7 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.265, allocations: 0 / 0.9869 GB, free: 19.7 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001047/0.2651, allocations: 56.11 kB / 0.987 GB, free: 19.64 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003197/0.2655, allocations: 21.48 kB / 0.987 GB, free: 19.62 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001151/0.2666, allocations: 0.7571 MB / 0.9878 GB, free: 18.81 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001578/0.2668, allocations: 0.7001 MB / 0.9884 GB, free: 18.08 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 5.947e-05/0.2668, allocations: 12.55 kB / 0.9885 GB, free: 18.07 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.42e-05/0.2669, allocations: 31.42 kB / 0.9885 GB, free: 18.04 MB / 0.6198 GB Notification: Performance of SimCode: time 3.8e-07/0.2669, allocations: 4 kB / 0.9885 GB, free: 18.04 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01701/0.2839, allocations: 3.079 MB / 0.9915 GB, free: 15.13 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000207/0.2842, allocations: 260.1 kB / 0.9917 GB, free: 14.79 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.771/2.055, allocations: 3.094 kB / 0.9917 GB, free: 14.79 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)