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.564/1.564, allocations: 288.4 MB / 303.6 MB, free: 8.094 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.0008928/0.0008929, allocations: 184.5 kB / 372.3 MB, free: 10.12 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.274/1.274, allocations: 205.4 MB / 0.631 GB, free: 9.883 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.000763/0.000763, allocations: 90.36 kB / 0.7444 GB, free: 5.789 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004079/0.0004079, allocations: 11.53 kB / 0.8676 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2029/0.2033, allocations: 115.3 MB / 0.9802 GB, free: 27.26 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light): time 0.001374/0.2047, allocations: 1.243 MB / 0.9814 GB, free: 26 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001012/0.2058, allocations: 0.753 MB / 0.9821 GB, free: 25.24 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.764e-05/0.2058, allocations: 4 kB / 0.9821 GB, free: 25.24 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.644e-05/0.2058, allocations: 3.938 kB / 0.9821 GB, free: 25.23 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 9.637e-05/0.206, allocations: 15.84 kB / 0.9822 GB, free: 25.22 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.000396/0.2064, allocations: 99.77 kB / 0.9822 GB, free: 25.12 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 9.123e-05/0.2065, allocations: 87.7 kB / 0.9823 GB, free: 25.04 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 9.271e-05/0.2066, allocations: 19.92 kB / 0.9824 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 8.352e-05/0.2066, allocations: 39.84 kB / 0.9824 GB, free: 24.98 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 6.681e-05/0.2067, allocations: 43.77 kB / 0.9824 GB, free: 24.93 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.725e-05/0.2067, allocations: 4 kB / 0.9824 GB, free: 24.93 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001588/0.2069, allocations: 87.91 kB / 0.9825 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.313e-05/0.2069, allocations: 19.91 kB / 0.9825 GB, free: 24.82 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.615e-05/0.207, allocations: 65.44 kB / 0.9826 GB, free: 24.75 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001302/0.2071, allocations: 116 kB / 0.9827 GB, free: 24.64 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.2071, allocations: 0 / 0.9827 GB, free: 24.64 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.894e-06/0.2072, allocations: 0 / 0.9827 GB, free: 24.64 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.997e-06/0.2072, allocations: 0 / 0.9827 GB, free: 24.64 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.0006004/0.2078, allocations: 0.4885 MB / 0.9832 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.93e-05/0.2078, allocations: 8.031 kB / 0.9832 GB, free: 24.08 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.529e-05/0.2079, allocations: 38.75 kB / 0.9832 GB, free: 24.03 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.998e-05/0.2079, allocations: 8.844 kB / 0.9832 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001048/0.208, allocations: 188.1 kB / 0.9834 GB, free: 23.8 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.495e-05/0.208, allocations: 4.375 kB / 0.9834 GB, free: 23.8 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.645e-05/0.208, allocations: 8.375 kB / 0.9834 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001706/0.2082, allocations: 81.77 kB / 0.9835 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.426e-06/0.2082, allocations: 0 / 0.9835 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.176e-05/0.2083, allocations: 0 / 0.9835 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.979e-06/0.2083, allocations: 4 kB / 0.9835 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001371/0.2084, allocations: 55.89 kB / 0.9836 GB, free: 23.64 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004492/0.2089, allocations: 344.7 kB / 0.9839 GB, free: 23.26 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001784/0.2091, allocations: 82.66 kB / 0.984 GB, free: 23.17 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.179e-05/0.2092, allocations: 48.88 kB / 0.984 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.081e-05/0.2092, allocations: 0 / 0.984 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002073/0.2094, allocations: 107.2 kB / 0.9841 GB, free: 23 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=11): time 1.423e-06/0.2094, allocations: 4 kB / 0.9841 GB, free: 23 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11): time 0.00037/0.2098, allocations: 173.5 kB / 0.9843 GB, free: 22.82 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.117e-05/0.2098, allocations: 55.41 kB / 0.9843 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.013e-05/0.2099, allocations: 144 kB / 0.9845 GB, free: 22.61 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.255e-05/0.2099, allocations: 25.7 kB / 0.9845 GB, free: 22.57 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.364e-05/0.21, allocations: 104.1 kB / 0.9846 GB, free: 22.47 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.172e-05/0.21, allocations: 31.59 kB / 0.9846 GB, free: 22.44 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.982e-06/0.21, allocations: 0 / 0.9846 GB, free: 22.44 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.73e-05/0.2101, allocations: 334.7 kB / 0.985 GB, free: 22.1 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.819e-05/0.2101, allocations: 27.98 kB / 0.985 GB, free: 22.07 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.767e-05/0.2102, allocations: 75.75 kB / 0.9851 GB, free: 21.98 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001439/0.2104, allocations: 105.1 kB / 0.9852 GB, free: 21.86 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.2104, allocations: 0 / 0.9852 GB, free: 21.86 MB / 0.6198 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002071/0.2106, allocations: 141.5 kB / 0.9853 GB, free: 21.72 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.243e-05/0.2106, allocations: 8 kB / 0.9853 GB, free: 21.71 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.2106, allocations: 3.984 kB / 0.9853 GB, free: 21.71 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.241e-05/0.2106, allocations: 4 kB / 0.9853 GB, free: 21.7 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000103/0.2107, allocations: 19.92 kB / 0.9853 GB, free: 21.68 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.255e-06/0.2108, allocations: 4 kB / 0.9853 GB, free: 21.68 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001075/0.2109, allocations: 15.91 kB / 0.9853 GB, free: 21.66 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.32e-05/0.2109, allocations: 7.984 kB / 0.9854 GB, free: 21.66 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 7.524e-05/0.211, allocations: 140.8 kB / 0.9855 GB, free: 21.51 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.529e-05/0.211, allocations: 7.906 kB / 0.9855 GB, free: 21.5 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003014/0.2113, allocations: 170.5 kB / 0.9857 GB, free: 21.34 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.908e-06/0.2113, allocations: 7.984 kB / 0.9857 GB, free: 21.33 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.2113, allocations: 4 kB / 0.9857 GB, free: 21.32 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.2113, allocations: 0 / 0.9857 GB, free: 21.32 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004725/0.2118, allocations: 466.2 kB / 0.9861 GB, free: 20.81 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.2118, allocations: 0 / 0.9861 GB, free: 20.81 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.536e-05/0.2119, allocations: 19.98 kB / 0.9861 GB, free: 20.79 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.2119, allocations: 4 kB / 0.9861 GB, free: 20.79 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.213e-05/0.2119, allocations: 7.984 kB / 0.9861 GB, free: 20.78 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.2119, allocations: 3.938 kB / 0.9861 GB, free: 20.78 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.2119, allocations: 3.984 kB / 0.9861 GB, free: 20.77 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002488/0.2122, allocations: 252.8 kB / 0.9864 GB, free: 20.51 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.48e-05/0.2122, allocations: 85.02 kB / 0.9865 GB, free: 20.41 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.207e-05/0.2123, allocations: 4 kB / 0.9865 GB, free: 20.41 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001187/0.2124, allocations: 19.92 kB / 0.9865 GB, free: 20.39 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.902e-05/0.2124, allocations: 7.984 kB / 0.9865 GB, free: 20.38 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.717e-05/0.2125, allocations: 15.92 kB / 0.9865 GB, free: 20.36 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.182e-05/0.2125, allocations: 108.6 kB / 0.9866 GB, free: 20.26 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2125, allocations: 0 / 0.9866 GB, free: 20.26 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002752/0.2128, allocations: 47.98 kB / 0.9867 GB, free: 20.21 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.0006519/0.2134, allocations: 0.849 MB / 0.9875 GB, free: 19.35 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002227/0.2137, allocations: 96.89 kB / 0.9876 GB, free: 19.25 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.2137, allocations: 0 / 0.9876 GB, free: 19.25 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001074/0.2138, allocations: 59.91 kB / 0.9876 GB, free: 19.2 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002961/0.2141, allocations: 24.67 kB / 0.9877 GB, free: 19.17 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001028/0.2151, allocations: 0.7416 MB / 0.9884 GB, free: 18.37 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000136/0.2153, allocations: 0.7079 MB / 0.9891 GB, free: 17.64 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 4.591e-05/0.2153, allocations: 12.83 kB / 0.9891 GB, free: 17.62 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.19e-05/0.2154, allocations: 31.42 kB / 0.9891 GB, free: 17.59 MB / 0.6198 GB Notification: Performance of SimCode: time 3.1e-07/0.2154, allocations: 4 kB / 0.9891 GB, free: 17.59 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3534/0.5688, allocations: 3.077 MB / 0.9921 GB, free: 14.67 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001846/0.569, allocations: 250.8 kB / 0.9924 GB, free: 14.34 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.117/2.686, allocations: 3.516 kB / 0.9924 GB, free: 14.34 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)