Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain,fileNamePrefix="Buildings_10_Buildings_ThermalZones_Detailed_BaseClasses_Examples_HeatGain",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain,fileNamePrefix="Buildings_10_Buildings_ThermalZones_Detailed_BaseClasses_Examples_HeatGain",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001449/0.001449, allocations: 107.3 kB / 15.33 MB, free: 0.5078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001516/0.001516, allocations: 189 kB / 16.25 MB, free: 6.152 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.281/1.281, allocations: 222.9 MB / 239.9 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.384/2.384, allocations: 437 MB / 0.7101 GB, free: 5.215 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001189/0.001189, allocations: 63.91 kB / 0.8689 GB, free: 4.941 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4953/0.4965, allocations: 151.6 MB / 1.017 GB, free: 2.641 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain): time 0.002159/0.4987, allocations: 1.597 MB / 1.018 GB, free: 1.035 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 8.927e-05/0.4988, allocations: 31.86 kB / 1.019 GB, free: 1.004 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.565e-05/0.4989, allocations: 0 / 1.019 GB, free: 1.004 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 9.833e-05/0.499, allocations: 11.92 kB / 1.019 GB, free: 0.9922 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 3.018e-05/0.499, allocations: 3.938 kB / 1.019 GB, free: 0.9883 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 8.5e-05/0.4991, allocations: 19.98 kB / 1.019 GB, free: 0.9688 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 7.078e-05/0.4992, allocations: 47.84 kB / 1.019 GB, free: 0.9219 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001059/0.4993, allocations: 27.98 kB / 1.019 GB, free: 0.8945 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 2.871e-05/0.4993, allocations: 19.92 kB / 1.019 GB, free: 0.875 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 5.322e-05/0.4994, allocations: 35.83 kB / 1.019 GB, free: 0.8398 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.523e-05/0.4994, allocations: 8 kB / 1.019 GB, free: 0.832 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.084e-05/0.4994, allocations: 4 kB / 1.019 GB, free: 0.8281 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 3.706e-05/0.4995, allocations: 15.98 kB / 1.019 GB, free: 0.8125 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 3.694e-05/0.4995, allocations: 27.81 kB / 1.019 GB, free: 0.7852 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 8.126e-05/0.4996, allocations: 58 kB / 1.019 GB, free: 0.7305 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.4996, allocations: 0 / 1.019 GB, free: 0.7305 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.172e-06/0.4996, allocations: 0 / 1.019 GB, free: 0.7305 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 3.848e-06/0.4996, allocations: 0 / 1.019 GB, free: 0.7305 MB / 0.7637 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0003087/0.4999, allocations: 365.2 kB / 1.019 GB, free: 332 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.336e-05/0.5, allocations: 19.97 kB / 1.019 GB, free: 312 kB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.998e-05/0.5, allocations: 34.75 kB / 1.019 GB, free: 268 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.834e-05/0.5, allocations: 8.844 kB / 1.019 GB, free: 260 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001294/0.5002, allocations: 192.2 kB / 1.019 GB, free: 28 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.676e-06/0.5002, allocations: 8.312 kB / 1.019 GB, free: 20 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.058e-05/0.5002, allocations: 8.375 kB / 1.019 GB, free: 12 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001426/0.5003, allocations: 96.75 kB / 1.019 GB, free: 15.9 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.605e-06/0.5004, allocations: 3.938 kB / 1.019 GB, free: 15.9 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.965e-06/0.5004, allocations: 4 kB / 1.019 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.379e-06/0.5004, allocations: 0 / 1.019 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.534e-05/0.5005, allocations: 43.97 kB / 1.02 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004552/0.5009, allocations: 0.6439 MB / 1.02 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 5.699e-05/0.501, allocations: 173.2 kB / 1.02 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.324e-05/0.501, allocations: 80.14 kB / 1.02 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.884e-05/0.501, allocations: 79.27 kB / 1.02 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.302e-05/0.5011, allocations: 109.8 kB / 1.021 GB, free: 14.69 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=0): time 9.02e-07/0.5011, allocations: 4 kB / 1.021 GB, free: 14.69 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0): time 5.999e-05/0.5011, allocations: 41.48 kB / 1.021 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.243e-05/0.5012, allocations: 126.7 kB / 1.021 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001356/0.5013, allocations: 172.4 kB / 1.021 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 8.386e-06/0.5014, allocations: 25.7 kB / 1.021 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.987e-05/0.5014, allocations: 104 kB / 1.021 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.036e-06/0.5014, allocations: 4 kB / 1.021 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.61e-05/0.5014, allocations: 13.72 kB / 1.021 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.075e-05/0.5015, allocations: 326.8 kB / 1.021 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.263e-05/0.5015, allocations: 4 kB / 1.021 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.751e-05/0.5016, allocations: 18.58 kB / 1.021 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.438e-05/0.5016, allocations: 30.52 kB / 1.021 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.5016, allocations: 8 kB / 1.021 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.6e-05/0.5017, allocations: 57.53 kB / 1.021 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.057e-05/0.5017, allocations: 5.562 kB / 1.021 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.132e-06/0.5017, allocations: 7.938 kB / 1.021 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.436e-06/0.5018, allocations: 0 / 1.021 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.767e-05/0.5018, allocations: 4 kB / 1.021 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.248e-06/0.5018, allocations: 0 / 1.021 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.312e-05/0.5019, allocations: 7.906 kB / 1.021 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.236e-06/0.5019, allocations: 0 / 1.021 GB, free: 13.67 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.823e-05/0.5019, allocations: 209.6 kB / 1.022 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.888e-05/0.502, allocations: 108.9 kB / 1.022 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.113e-05/0.502, allocations: 120.8 kB / 1.022 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.2e-05/0.5021, allocations: 184.1 kB / 1.022 GB, free: 13.03 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.049e-05/0.5021, allocations: 176.3 kB / 1.022 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-05/0.5022, allocations: 180.3 kB / 1.022 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001736/0.5024, allocations: 429.1 kB / 1.023 GB, free: 12.19 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.339e-05/0.5024, allocations: 101 kB / 1.023 GB, free: 12.08 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.555e-05/0.5024, allocations: 104.9 kB / 1.023 GB, free: 11.97 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.061e-05/0.5025, allocations: 176.3 kB / 1.023 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.616e-05/0.5025, allocations: 196.1 kB / 1.023 GB, free: 11.59 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.21e-05/0.5026, allocations: 180.3 kB / 1.024 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.036e-05/0.5026, allocations: 180.5 kB / 1.024 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.228e-05/0.5027, allocations: 315.7 kB / 1.024 GB, free: 10.89 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.801e-05/0.5028, allocations: 186 kB / 1.024 GB, free: 10.69 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.409e-05/0.5028, allocations: 188.2 kB / 1.024 GB, free: 10.5 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.719e-05/0.5029, allocations: 101 kB / 1.024 GB, free: 10.39 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.622e-05/0.503, allocations: 188.2 kB / 1.025 GB, free: 10.2 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.432e-05/0.503, allocations: 101 kB / 1.025 GB, free: 10.09 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 7.361e-05/0.5031, allocations: 124.9 kB / 1.025 GB, free: 9.973 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5031, allocations: 0 / 1.025 GB, free: 9.973 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002068/0.5033, allocations: 8 kB / 1.025 GB, free: 9.965 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002987/0.5036, allocations: 0.8241 MB / 1.026 GB, free: 9.109 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 5.407e-05/0.5036, allocations: 8 kB / 1.026 GB, free: 9.102 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.5037, allocations: 0 / 1.026 GB, free: 9.102 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 2.164e-06/0.5037, allocations: 8.125 kB / 1.026 GB, free: 9.094 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003018/0.504, allocations: 459.7 kB / 1.026 GB, free: 8.641 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001079/0.505, allocations: 1.641 MB / 1.028 GB, free: 6.914 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00018/0.5052, allocations: 0.6885 MB / 1.028 GB, free: 6.199 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 1.646e-05/0.5053, allocations: 7.984 kB / 1.028 GB, free: 6.191 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.222e-05/0.5053, allocations: 19.44 kB / 1.028 GB, free: 6.172 MB / 0.7794 GB Notification: Performance of SimCode: time 2.11e-07/0.5053, allocations: 3.938 kB / 1.028 GB, free: 6.168 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.037/2.542, allocations: 1.598 MB / 1.03 GB, free: 4.703 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002827/2.542, allocations: 213.1 kB / 1.03 GB, free: 4.449 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.933/4.476, allocations: 0 / 1.03 GB, free: 4.449 MB / 0.7794 GB (rm -f Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe ; mkfifo Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe ; head -c 1048576 < Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe >> ../files/Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain_res.mat --tempDir=temp_Buildings_10_Buildings_ThermalZones_Detailed_BaseClasses_Examples_HeatGain_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_ThermalZones_Detailed_BaseClasses_Examples_HeatGain.fmu > Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_ThermalZones_Detailed_BaseClasses_Examples_HeatGain.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches