Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.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.Hunt1979Light,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Occupants_Office_Lighting_Validation_Hunt1979Light",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Occupants_Office_Lighting_Validation_Hunt1979Light",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.935/1.935, allocations: 288.4 MB / 303.3 MB, free: 8.117 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.001115/0.001116, allocations: 180.4 kB / 372 MB, free: 10.26 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.783/1.783, allocations: 205.4 MB / 0.6307 GB, free: 9.992 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.0008759/0.0008759, allocations: 88.75 kB / 0.744 GB, free: 5.93 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003911/0.0003913, allocations: 10.34 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2711/0.2715, allocations: 115.3 MB / 0.9796 GB, free: 27.59 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light): time 0.001705/0.2733, allocations: 1.219 MB / 0.9808 GB, free: 26.36 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001283/0.2746, allocations: 0.75 MB / 0.9816 GB, free: 25.6 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.292e-05/0.2747, allocations: 0 / 0.9816 GB, free: 25.6 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.504e-05/0.2747, allocations: 3.938 kB / 0.9816 GB, free: 25.59 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001052/0.2748, allocations: 11.88 kB / 0.9816 GB, free: 25.58 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004829/0.2753, allocations: 99.75 kB / 0.9817 GB, free: 25.48 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 9.704e-05/0.2754, allocations: 79.7 kB / 0.9817 GB, free: 25.41 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 9.797e-05/0.2755, allocations: 19.98 kB / 0.9818 GB, free: 25.39 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 8.548e-05/0.2756, allocations: 31.86 kB / 0.9818 GB, free: 25.36 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 7.278e-05/0.2757, allocations: 39.81 kB / 0.9818 GB, free: 25.32 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.857e-05/0.2757, allocations: 4 kB / 0.9818 GB, free: 25.31 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000157/0.2759, allocations: 83.92 kB / 0.9819 GB, free: 25.23 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.479e-05/0.2759, allocations: 19.91 kB / 0.9819 GB, free: 25.21 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.895e-05/0.276, allocations: 33.64 kB / 0.982 GB, free: 25.17 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001596/0.2761, allocations: 104 kB / 0.9821 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.082e-06/0.2761, allocations: 0 / 0.9821 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.843e-06/0.2761, allocations: 0 / 0.9821 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.39e-06/0.2762, allocations: 4 kB / 0.9821 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0007468/0.2769, allocations: 466.5 kB / 0.9825 GB, free: 24.55 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.504e-05/0.277, allocations: 12.02 kB / 0.9825 GB, free: 24.54 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.912e-05/0.277, allocations: 34.56 kB / 0.9826 GB, free: 24.5 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.103e-05/0.2771, allocations: 15.89 kB / 0.9826 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001149/0.2772, allocations: 181.7 kB / 0.9827 GB, free: 24.27 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.098e-05/0.2773, allocations: 37.69 kB / 0.9828 GB, free: 24.22 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.899e-05/0.2773, allocations: 8 kB / 0.9828 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002076/0.2775, allocations: 81.58 kB / 0.9829 GB, free: 24.13 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.367e-06/0.2775, allocations: 4 kB / 0.9829 GB, free: 24.12 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.268e-05/0.2775, allocations: 0 / 0.9829 GB, free: 24.12 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.212e-06/0.2775, allocations: 4 kB / 0.9829 GB, free: 24.12 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001907/0.2777, allocations: 51.97 kB / 0.9829 GB, free: 24.07 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004882/0.2782, allocations: 324.6 kB / 0.9832 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000199/0.2784, allocations: 74.55 kB / 0.9833 GB, free: 23.62 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001062/0.2786, allocations: 40.83 kB / 0.9833 GB, free: 23.58 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.713e-05/0.2786, allocations: 0 / 0.9833 GB, free: 23.58 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002333/0.2788, allocations: 107.5 kB / 0.9834 GB, free: 23.46 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=10): time 1.493e-06/0.2789, allocations: 3.938 kB / 0.9835 GB, free: 23.46 MB / 0.6198 GB Notification: Performance of matching and sorting (n=10): time 0.0004566/0.2793, allocations: 177.4 kB / 0.9836 GB, free: 23.28 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.428e-05/0.2794, allocations: 55.41 kB / 0.9837 GB, free: 23.21 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.93e-05/0.2795, allocations: 130.1 kB / 0.9838 GB, free: 23.07 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.487e-05/0.2795, allocations: 29.7 kB / 0.9838 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.318e-05/0.2795, allocations: 100.3 kB / 0.9839 GB, free: 22.94 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.236e-05/0.2796, allocations: 23.66 kB / 0.9839 GB, free: 22.91 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.492e-06/0.2796, allocations: 0 / 0.9839 GB, free: 22.91 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.222e-05/0.2796, allocations: 318.8 kB / 0.9842 GB, free: 22.59 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001033/0.2797, allocations: 35.97 kB / 0.9843 GB, free: 22.56 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001159/0.2799, allocations: 81.12 kB / 0.9844 GB, free: 22.46 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001079/0.28, allocations: 35.97 kB / 0.9844 GB, free: 22.43 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.28, allocations: 0 / 0.9844 GB, free: 22.43 MB / 0.6198 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002611/0.2803, allocations: 141.4 kB / 0.9845 GB, free: 22.28 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.533e-05/0.2803, allocations: 8 kB / 0.9845 GB, free: 22.27 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.822e-06/0.2803, allocations: 3.938 kB / 0.9845 GB, free: 22.27 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.713e-05/0.2803, allocations: 4 kB / 0.9845 GB, free: 22.27 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001133/0.2804, allocations: 19.94 kB / 0.9846 GB, free: 22.25 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.472e-06/0.2805, allocations: 4.125 kB / 0.9846 GB, free: 22.24 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001224/0.2806, allocations: 19.89 kB / 0.9846 GB, free: 22.22 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.376e-05/0.2806, allocations: 7.984 kB / 0.9846 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,occ.y,$PRE.occ.pulseStart,occ.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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 8.225e-05/0.2807, allocations: 123.8 kB / 0.9847 GB, free: 22.09 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.431e-05/0.2807, allocations: 7.906 kB / 0.9847 GB, free: 22.08 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.132e-05/0.2808, allocations: 12.72 kB / 0.9847 GB, free: 22.07 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.2808, allocations: 4 kB / 0.9847 GB, free: 22.07 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/0.2808, allocations: 3.953 kB / 0.9847 GB, free: 22.06 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.372e-06/0.2808, allocations: 7.984 kB / 0.9847 GB, free: 22.05 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005092/0.2813, allocations: 430.6 kB / 0.9852 GB, free: 21.58 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.2813, allocations: 4 kB / 0.9852 GB, free: 21.57 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.327e-05/0.2814, allocations: 11.98 kB / 0.9852 GB, free: 21.56 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.2814, allocations: 0 / 0.9852 GB, free: 21.56 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.323e-05/0.2814, allocations: 8.047 kB / 0.9852 GB, free: 21.55 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.243e-06/0.2814, allocations: 3.938 kB / 0.9852 GB, free: 21.55 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.2814, allocations: 7.938 kB / 0.9852 GB, free: 21.54 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002888/0.2817, allocations: 227.4 kB / 0.9854 GB, free: 21.3 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.669e-05/0.2818, allocations: 85.02 kB / 0.9855 GB, free: 21.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.19e-05/0.2818, allocations: 0 / 0.9855 GB, free: 21.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001289/0.2819, allocations: 23.88 kB / 0.9855 GB, free: 21.18 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.065e-05/0.282, allocations: 15.97 kB / 0.9855 GB, free: 21.16 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.505e-05/0.282, allocations: 4 kB / 0.9855 GB, free: 21.16 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.926e-05/0.2821, allocations: 105.4 kB / 0.9856 GB, free: 21.06 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1e-07/0.2821, allocations: 3.938 kB / 0.9856 GB, free: 21.05 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002823/0.2824, allocations: 43.98 kB / 0.9857 GB, free: 21.01 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 (occ.y,lig.sampleTrigger,$whenCondition3,$whenCondition2,$whenCondition1,lig.on,lig.curSeed,occ.pulseStart) * Number of discrete states: 1 (lig.on) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 7 * 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.0006918/0.2831, allocations: 0.8191 MB / 0.9865 GB, free: 20.18 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002791/0.2833, allocations: 91.88 kB / 0.9866 GB, free: 20.09 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.2834, allocations: 4.25 kB / 0.9866 GB, free: 20.09 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001228/0.2835, allocations: 51.91 kB / 0.9866 GB, free: 20.04 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002716/0.2838, allocations: 19.88 kB / 0.9866 GB, free: 20.02 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001089/0.2849, allocations: 0.695 MB / 0.9873 GB, free: 19.25 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001137/0.285, allocations: 0.6926 MB / 0.988 GB, free: 18.54 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 5.668e-05/0.2851, allocations: 12.61 kB / 0.988 GB, free: 18.52 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.35e-05/0.2851, allocations: 27.36 kB / 0.988 GB, free: 18.5 MB / 0.6198 GB Notification: Performance of SimCode: time 2.1e-07/0.2851, allocations: 0 / 0.988 GB, free: 18.5 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01548/0.3006, allocations: 2.734 MB / 0.9907 GB, free: 15.92 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001776/0.3008, allocations: 247.9 kB / 0.9909 GB, free: 15.63 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.788/2.089, allocations: 0 / 0.9909 GB, free: 15.63 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Occupants_Office_Lighting_Validation_Hunt1979Light_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Occupants_Office_Lighting_Validation_Hunt1979Light.fmu > Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe 2>&1)