Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007777/0.0007777, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008063/0.0008063, allocations: 170.3 kB / 22.46 MB, free: 2.105 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.7979/0.7979, allocations: 177.1 MB / 202.8 MB, free: 5.758 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.722/1.722, allocations: 389 MB / 0.633 GB, free: 12.66 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain,fileNamePrefix="Buildings_latest_Buildings_ThermalZones_Detailed_BaseClasses_Examples_HeatGain",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain,fileNamePrefix="Buildings_latest_Buildings_ThermalZones_Detailed_BaseClasses_Examples_HeatGain",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.873e-06/1.873e-06, allocations: 0 / 0.9997 GB, free: 13.48 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.072e-05/2.259e-05, allocations: 2.281 kB / 0.9997 GB, free: 13.48 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain): time 0.001996/0.002018, allocations: 1.543 MB / 1.001 GB, free: 11.93 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0001008/0.002119, allocations: 27.91 kB / 1.001 GB, free: 11.9 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.89e-05/0.002168, allocations: 7.938 kB / 1.001 GB, free: 11.89 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0001026/0.00227, allocations: 7.922 kB / 1.001 GB, free: 11.88 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 3.499e-05/0.002305, allocations: 15.81 kB / 1.001 GB, free: 11.87 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001078/0.002413, allocations: 23.97 kB / 1.001 GB, free: 11.84 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 8.088e-05/0.002494, allocations: 43.84 kB / 1.001 GB, free: 11.8 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001104/0.002605, allocations: 23.97 kB / 1.001 GB, free: 11.78 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 4.598e-05/0.002651, allocations: 35.89 kB / 1.001 GB, free: 11.74 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 5.807e-05/0.002709, allocations: 15.98 kB / 1.001 GB, free: 11.73 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.372e-05/0.002732, allocations: 4 kB / 1.001 GB, free: 11.72 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 8.165e-06/0.002741, allocations: 4 kB / 1.001 GB, free: 11.72 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 3.823e-05/0.002779, allocations: 19.92 kB / 1.001 GB, free: 11.7 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 3.092e-05/0.00281, allocations: 23.91 kB / 1.001 GB, free: 11.68 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001117/0.002921, allocations: 55.8 kB / 1.001 GB, free: 11.62 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.002925, allocations: 4 kB / 1.001 GB, free: 11.62 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.353e-06/0.002926, allocations: 0 / 1.001 GB, free: 11.62 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.098e-06/0.00293, allocations: 0 / 1.001 GB, free: 11.62 MB / 0.9636 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.000324/0.003254, allocations: 290 kB / 1.002 GB, free: 11.3 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.411e-05/0.003299, allocations: 12.75 kB / 1.002 GB, free: 11.29 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.146e-05/0.00333, allocations: 34.75 kB / 1.002 GB, free: 11.25 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.453e-05/0.003355, allocations: 8.891 kB / 1.002 GB, free: 11.24 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001287/0.003483, allocations: 133.6 kB / 1.002 GB, free: 11.08 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.438e-06/0.003493, allocations: 4.375 kB / 1.002 GB, free: 11.08 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.357e-06/0.003502, allocations: 4.375 kB / 1.002 GB, free: 11.07 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001263/0.003628, allocations: 109.6 kB / 1.002 GB, free: 10.95 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.536e-06/0.003637, allocations: 4.125 kB / 1.002 GB, free: 10.95 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.328e-06/0.003646, allocations: 4.375 kB / 1.002 GB, free: 10.95 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.862e-06/0.003652, allocations: 4.125 kB / 1.002 GB, free: 10.94 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.91e-05/0.003711, allocations: 39.97 kB / 1.002 GB, free: 10.9 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005556/0.004267, allocations: 0.5964 MB / 1.003 GB, free: 10.25 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 6.095e-05/0.004328, allocations: 173.1 kB / 1.003 GB, free: 10.07 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.428e-05/0.004352, allocations: 84.12 kB / 1.003 GB, free: 9.988 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.81e-05/0.00437, allocations: 79.28 kB / 1.003 GB, free: 9.91 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.871e-05/0.004399, allocations: 109.8 kB / 1.003 GB, free: 9.793 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=0): time 1.021e-06/0.0044, allocations: 0 / 1.003 GB, free: 9.793 MB / 0.9636 GB Notification: Performance of matching and sorting (n=0): time 5.836e-05/0.004458, allocations: 33.66 kB / 1.003 GB, free: 9.754 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.163e-05/0.0045, allocations: 134.6 kB / 1.003 GB, free: 9.609 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001248/0.004625, allocations: 165.8 kB / 1.003 GB, free: 9.438 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 9.157e-06/0.004634, allocations: 29.69 kB / 1.003 GB, free: 9.402 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 5.257e-05/0.004686, allocations: 104.1 kB / 1.004 GB, free: 9.297 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.465e-06/0.004689, allocations: 0 / 1.004 GB, free: 9.297 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.762e-05/0.004716, allocations: 21.67 kB / 1.004 GB, free: 9.27 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.751e-05/0.004794, allocations: 314.8 kB / 1.004 GB, free: 8.953 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.44e-05/0.004808, allocations: 8 kB / 1.004 GB, free: 8.945 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.961e-05/0.004828, allocations: 26.56 kB / 1.004 GB, free: 8.91 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.057e-05/0.004869, allocations: 34.45 kB / 1.004 GB, free: 8.867 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.004871, allocations: 0 / 1.004 GB, free: 8.867 MB / 0.9636 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001048/0.004976, allocations: 57.59 kB / 1.004 GB, free: 8.805 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.268e-05/0.004988, allocations: 4 kB / 1.004 GB, free: 8.801 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.004993, allocations: 3.938 kB / 1.004 GB, free: 8.797 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.212e-05/0.005005, allocations: 4.094 kB / 1.004 GB, free: 8.793 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.663e-05/0.005062, allocations: 11.98 kB / 1.004 GB, free: 8.781 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.021e-06/0.005068, allocations: 7.922 kB / 1.004 GB, free: 8.773 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.214e-05/0.00509, allocations: 7.938 kB / 1.004 GB, free: 8.766 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.848e-06/0.005094, allocations: 0 / 1.004 GB, free: 8.766 MB / 0.9636 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.38e-05/0.005168, allocations: 189.1 kB / 1.004 GB, free: 8.57 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.864e-05/0.005206, allocations: 116.9 kB / 1.004 GB, free: 8.449 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.363e-05/0.00524, allocations: 108.8 kB / 1.004 GB, free: 8.336 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.886e-05/0.005279, allocations: 180.3 kB / 1.005 GB, free: 8.152 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.373e-05/0.005322, allocations: 192.2 kB / 1.005 GB, free: 7.957 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.74e-05/0.00536, allocations: 180.2 kB / 1.005 GB, free: 7.773 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000145/0.005505, allocations: 396.2 kB / 1.005 GB, free: 7.336 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.372e-05/0.005529, allocations: 105 kB / 1.005 GB, free: 7.227 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.422e-05/0.005553, allocations: 109 kB / 1.006 GB, free: 7.113 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.6e-05/0.005589, allocations: 180.2 kB / 1.006 GB, free: 6.93 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.175e-05/0.005631, allocations: 180.3 kB / 1.006 GB, free: 6.746 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.849e-05/0.005669, allocations: 184.2 kB / 1.006 GB, free: 6.559 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.82e-05/0.005707, allocations: 180.2 kB / 1.006 GB, free: 6.375 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.04e-05/0.005798, allocations: 315.7 kB / 1.007 GB, free: 6.043 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 3.482e-05/0.005832, allocations: 108.9 kB / 1.007 GB, free: 5.93 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.262e-05/0.005885, allocations: 188.2 kB / 1.007 GB, free: 5.738 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.159e-05/0.005937, allocations: 109 kB / 1.007 GB, free: 5.625 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.497e-05/0.005982, allocations: 184.1 kB / 1.007 GB, free: 5.438 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.141e-05/0.006003, allocations: 101 kB / 1.007 GB, free: 5.332 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 6.866e-05/0.006072, allocations: 129.5 kB / 1.007 GB, free: 5.207 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.006072, allocations: 0 / 1.007 GB, free: 5.207 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001506/0.006222, allocations: 8 kB / 1.007 GB, free: 5.199 MB / 0.9636 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.0002711/0.006493, allocations: 0.8048 MB / 1.008 GB, free: 4.367 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 6.789e-05/0.006561, allocations: 12 kB / 1.008 GB, free: 4.355 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.006563, allocations: 0 / 1.008 GB, free: 4.355 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 1.032e-06/0.006564, allocations: 4.188 kB / 1.008 GB, free: 4.352 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002679/0.006832, allocations: 475.3 kB / 1.009 GB, free: 3.887 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001257/0.008089, allocations: 1.654 MB / 1.01 GB, free: 2.141 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.22e-05/0.008141, allocations: 79.31 kB / 1.01 GB, free: 2.043 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 1.628e-05/0.008157, allocations: 4 kB / 1.01 GB, free: 2.039 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.796e-05/0.008195, allocations: 20.48 kB / 1.01 GB, free: 2.02 MB / 0.9636 GB Notification: Performance of SimCode: time 9.22e-07/0.008196, allocations: 3.938 kB / 1.01 GB, free: 2.016 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0135/0.02169, allocations: 2.364 MB / 1.013 GB, free: 15.78 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.239/6.26, allocations: 1.719 kB / 1.013 GB, free: 15.78 MB / 0.9792 GB " [Timeout remaining time 294] (rm -f Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe ; mkfifo Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe ; head -c 1048576 < Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe >> ../files/Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain_res.mat --tempDir=temp_Buildings_latest_Buildings_ThermalZones_Detailed_BaseClasses_Examples_HeatGain_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_ThermalZones_Detailed_BaseClasses_Examples_HeatGain.fmu > Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_ThermalZones_Detailed_BaseClasses_Examples_HeatGain.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.088074306957424]