Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light,fileNamePrefix="Buildings_8_0_0_Buildings_Occupants_Office_Lighting_Validation_Reinhart2003Light",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 2.798/2.798, allocations: 287.5 MB / 302.4 MB, free: 8.191 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.001399/0.001398, allocations: 185.7 kB / 371 MB, free: 10.88 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.072/2.072, allocations: 205.4 MB / 0.6297 GB, free: 10.66 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.0009995/0.0009989, allocations: 86.36 kB / 0.743 GB, free: 6.648 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001706/0.001706, allocations: 10.88 kB / 0.8659 GB, free: 140.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2609/0.2626, allocations: 115.3 MB / 0.9785 GB, free: 28.29 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light): time 0.003004/0.2657, allocations: 1.242 MB / 0.9797 GB, free: 27.03 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002549/0.2683, allocations: 0.7386 MB / 0.9804 GB, free: 26.29 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001096/0.2685, allocations: 3.938 kB / 0.9804 GB, free: 26.28 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 3.764e-05/0.2686, allocations: 7.984 kB / 0.9804 GB, free: 26.27 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001553/0.2688, allocations: 15.86 kB / 0.9804 GB, free: 26.26 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009025/0.2697, allocations: 103.8 kB / 0.9805 GB, free: 26.16 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002145/0.2699, allocations: 87.64 kB / 0.9806 GB, free: 26.07 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001285/0.2701, allocations: 12 kB / 0.9806 GB, free: 26.06 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001641/0.2703, allocations: 39.83 kB / 0.9806 GB, free: 26.02 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001403/0.2704, allocations: 47.83 kB / 0.9807 GB, free: 25.97 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.617e-05/0.2705, allocations: 4 kB / 0.9807 GB, free: 25.97 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003781/0.2709, allocations: 83.86 kB / 0.9808 GB, free: 25.89 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 4.661e-05/0.271, allocations: 19.95 kB / 0.9808 GB, free: 25.87 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 6.973e-05/0.2711, allocations: 41.64 kB / 0.9808 GB, free: 25.82 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003344/0.2714, allocations: 112 kB / 0.9809 GB, free: 25.71 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 7.525e-06/0.2715, allocations: 0 / 0.9809 GB, free: 25.71 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.086e-06/0.2715, allocations: 0 / 0.9809 GB, free: 25.71 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.131e-06/0.2715, allocations: 0 / 0.9809 GB, free: 25.71 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.001315/0.2728, allocations: 0.4922 MB / 0.9814 GB, free: 25.15 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 6.135e-05/0.2729, allocations: 16.02 kB / 0.9814 GB, free: 25.14 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.892e-05/0.273, allocations: 30.56 kB / 0.9815 GB, free: 25.1 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.564e-05/0.2731, allocations: 11.86 kB / 0.9815 GB, free: 25.09 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001841/0.2733, allocations: 186.8 kB / 0.9817 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.885e-05/0.2734, allocations: 3.984 kB / 0.9817 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.668e-05/0.2734, allocations: 15.94 kB / 0.9817 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00039/0.2738, allocations: 77.64 kB / 0.9817 GB, free: 24.76 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.383e-05/0.2739, allocations: 4 kB / 0.9818 GB, free: 24.76 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.584e-05/0.2739, allocations: 0 / 0.9818 GB, free: 24.76 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.769e-06/0.2739, allocations: 3.953 kB / 0.9818 GB, free: 24.75 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003569/0.2743, allocations: 55.89 kB / 0.9818 GB, free: 24.7 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001025/0.2754, allocations: 340.7 kB / 0.9821 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004461/0.2758, allocations: 82.7 kB / 0.9822 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000205/0.2761, allocations: 40.84 kB / 0.9823 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 4.377e-05/0.2761, allocations: 11.98 kB / 0.9823 GB, free: 24.17 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004563/0.2766, allocations: 103.2 kB / 0.9824 GB, free: 24.06 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=11): time 4.729e-06/0.2766, allocations: 0 / 0.9824 GB, free: 24.06 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11): time 0.0009577/0.2776, allocations: 185.4 kB / 0.9825 GB, free: 23.87 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.319e-05/0.2777, allocations: 55.41 kB / 0.9826 GB, free: 23.8 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001912/0.2779, allocations: 138.5 kB / 0.9827 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.049e-05/0.278, allocations: 29.7 kB / 0.9828 GB, free: 23.62 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.704e-05/0.2781, allocations: 96.05 kB / 0.9828 GB, free: 23.53 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 5.6e-05/0.2781, allocations: 23.7 kB / 0.9829 GB, free: 23.5 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.789e-05/0.2782, allocations: 8 kB / 0.9829 GB, free: 23.5 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.977e-05/0.2783, allocations: 318.8 kB / 0.9832 GB, free: 23.18 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001952/0.2785, allocations: 35.98 kB / 0.9832 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002256/0.2787, allocations: 75.31 kB / 0.9833 GB, free: 23.05 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002145/0.279, allocations: 39.92 kB / 0.9833 GB, free: 23.01 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.799e-06/0.279, allocations: 0 / 0.9833 GB, free: 23.01 MB / 0.6198 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005884/0.2796, allocations: 145.4 kB / 0.9835 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.885e-05/0.2797, allocations: 4 kB / 0.9835 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.087e-05/0.2797, allocations: 3.938 kB / 0.9835 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.553e-05/0.2797, allocations: 4 kB / 0.9835 GB, free: 22.85 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002719/0.28, allocations: 20.08 kB / 0.9835 GB, free: 22.83 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.47e-05/0.2801, allocations: 7.984 kB / 0.9835 GB, free: 22.82 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002782/0.2803, allocations: 19.89 kB / 0.9835 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.703e-05/0.2804, allocations: 4 kB / 0.9835 GB, free: 22.8 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.0001692/0.2806, allocations: 125.9 kB / 0.9836 GB, free: 22.67 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.944e-05/0.2807, allocations: 19.84 kB / 0.9837 GB, free: 22.65 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008091/0.2815, allocations: 179.5 kB / 0.9838 GB, free: 22.47 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.063e-06/0.2815, allocations: 0 / 0.9838 GB, free: 22.47 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.865e-06/0.2815, allocations: 3.938 kB / 0.9838 GB, free: 22.47 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.884e-06/0.2816, allocations: 0 / 0.9838 GB, free: 22.47 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001308/0.2829, allocations: 478.8 kB / 0.9843 GB, free: 21.95 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.781e-06/0.2829, allocations: 0 / 0.9843 GB, free: 21.95 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002205/0.2832, allocations: 12 kB / 0.9843 GB, free: 21.93 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.154e-05/0.2832, allocations: 0 / 0.9843 GB, free: 21.93 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.148e-05/0.2833, allocations: 11.92 kB / 0.9843 GB, free: 21.92 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.882e-06/0.2833, allocations: 0 / 0.9843 GB, free: 21.92 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.508e-06/0.2833, allocations: 4 kB / 0.9843 GB, free: 21.92 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006919/0.284, allocations: 252.1 kB / 0.9846 GB, free: 21.66 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 6.554e-05/0.2841, allocations: 88.92 kB / 0.9846 GB, free: 21.55 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.722e-05/0.2842, allocations: 0 / 0.9846 GB, free: 21.55 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003411/0.2845, allocations: 15.98 kB / 0.9847 GB, free: 21.54 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.291e-05/0.2846, allocations: 11.98 kB / 0.9847 GB, free: 21.52 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.938e-05/0.2847, allocations: 7.984 kB / 0.9847 GB, free: 21.52 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.000122/0.2848, allocations: 111.2 kB / 0.9848 GB, free: 21.41 MB / 0.6198 GB Notification: Performance of sort global known variables: time 9.02e-07/0.2848, allocations: 4 kB / 0.9848 GB, free: 21.41 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0007098/0.2856, allocations: 43.98 kB / 0.9848 GB, free: 21.36 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.001471/0.2871, allocations: 0.848 MB / 0.9857 GB, free: 20.5 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0005952/0.2877, allocations: 91.89 kB / 0.9857 GB, free: 20.41 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 4.819e-06/0.2877, allocations: 3.938 kB / 0.9858 GB, free: 20.41 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002929/0.288, allocations: 64.09 kB / 0.9858 GB, free: 20.35 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007155/0.2888, allocations: 20.42 kB / 0.9858 GB, free: 20.33 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002402/0.2912, allocations: 0.7452 MB / 0.9866 GB, free: 19.52 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000214/0.2915, allocations: 0.7002 MB / 0.9872 GB, free: 18.8 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001394/0.2916, allocations: 12.55 kB / 0.9873 GB, free: 18.79 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001422/0.2918, allocations: 39.41 kB / 0.9873 GB, free: 18.75 MB / 0.6198 GB Notification: Performance of SimCode: time 1.903e-06/0.2918, allocations: 3.938 kB / 0.9873 GB, free: 18.74 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02996/0.3218, allocations: 3.078 MB / 0.9903 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002863/0.3222, allocations: 247.6 kB / 0.9905 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.675/2.997, allocations: 0 / 0.9905 GB, free: 15.59 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.pipe ; mkfifo Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.pipe >> ../files/Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Occupants_Office_Lighting_Validation_Reinhart2003Light_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Occupants_Office_Lighting_Validation_Reinhart2003Light.fmu > Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.pipe 2>&1)