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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001299/0.001299, allocations: 104.7 kB / 16.45 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00127/0.00127, allocations: 187.7 kB / 19.4 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.341/1.341, allocations: 225.6 MB / 247.8 MB, free: 3.746 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.688/2.688, allocations: 497.2 MB / 0.7812 GB, free: 12.09 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_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 0.002099/0.002099, allocations: 63.89 kB / 1.134 GB, free: 13.2 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8513/0.8534, allocations: 173.9 MB / 1.304 GB, free: 32.12 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain): time 0.002202/0.8556, allocations: 1.544 MB / 1.305 GB, free: 31.06 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 9.424e-05/0.8557, allocations: 41.05 kB / 1.306 GB, free: 31.02 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.371e-05/0.8557, allocations: 0 / 1.306 GB, free: 31.02 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001221/0.8559, allocations: 7.312 kB / 1.306 GB, free: 31.02 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 3.696e-05/0.8559, allocations: 13.98 kB / 1.306 GB, free: 31.01 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 9.413e-05/0.856, allocations: 19.19 kB / 1.306 GB, free: 31.01 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 8.515e-05/0.8561, allocations: 45.64 kB / 1.306 GB, free: 30.99 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000117/0.8562, allocations: 23.73 kB / 1.306 GB, free: 30.98 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 2.724e-05/0.8562, allocations: 25.38 kB / 1.306 GB, free: 30.97 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 5.439e-05/0.8563, allocations: 31.31 kB / 1.306 GB, free: 30.95 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.514e-05/0.8563, allocations: 5.719 kB / 1.306 GB, free: 30.95 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 8.786e-06/0.8563, allocations: 2.75 kB / 1.306 GB, free: 30.95 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 3.776e-05/0.8563, allocations: 23.64 kB / 1.306 GB, free: 30.94 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 3.082e-05/0.8564, allocations: 28.88 kB / 1.306 GB, free: 30.92 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 8.848e-05/0.8565, allocations: 62.19 kB / 1.306 GB, free: 30.89 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.8565, allocations: 0 / 1.306 GB, free: 30.89 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.773e-06/0.8565, allocations: 0 / 1.306 GB, free: 30.89 MB / 1.061 GB Notification: Performance of Transformations before backend: time 8.927e-06/0.8565, allocations: 0 / 1.306 GB, free: 30.89 MB / 1.061 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.0003085/0.8568, allocations: 368.5 kB / 1.306 GB, free: 30.51 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.539e-05/0.8568, allocations: 11.03 kB / 1.306 GB, free: 30.51 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.564e-05/0.8568, allocations: 37.25 kB / 1.306 GB, free: 30.46 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.063e-05/0.8569, allocations: 11.44 kB / 1.306 GB, free: 30.46 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001277/0.857, allocations: 188.1 kB / 1.306 GB, free: 30.25 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.011e-05/0.857, allocations: 2.875 kB / 1.306 GB, free: 30.25 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.376e-05/0.857, allocations: 9.75 kB / 1.306 GB, free: 30.25 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001266/0.8571, allocations: 100.9 kB / 1.306 GB, free: 30.17 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.328e-06/0.8571, allocations: 3.938 kB / 1.306 GB, free: 30.16 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.416e-06/0.8572, allocations: 4 kB / 1.306 GB, free: 30.16 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.336e-06/0.8572, allocations: 2.938 kB / 1.306 GB, free: 30.16 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.656e-05/0.8572, allocations: 49.05 kB / 1.307 GB, free: 30.14 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003797/0.8576, allocations: 0.6451 MB / 1.307 GB, free: 29.51 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 4.411e-05/0.8577, allocations: 165.1 kB / 1.307 GB, free: 29.34 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.409e-05/0.8577, allocations: 80.14 kB / 1.307 GB, free: 29.25 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.253e-05/0.8577, allocations: 75.28 kB / 1.307 GB, free: 29.18 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.085e-05/0.8577, allocations: 108.2 kB / 1.308 GB, free: 29.07 MB / 1.061 GB Notification: Performance of pre-optimization done (n=0): time 9.32e-07/0.8577, allocations: 7.938 kB / 1.308 GB, free: 29.06 MB / 1.061 GB Notification: Performance of matching and sorting (n=0): time 6.292e-05/0.8578, allocations: 40.44 kB / 1.308 GB, free: 29.02 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.657e-05/0.8578, allocations: 126.7 kB / 1.308 GB, free: 28.88 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001148/0.8579, allocations: 168 kB / 1.308 GB, free: 28.76 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 4.899e-06/0.8579, allocations: 25.7 kB / 1.308 GB, free: 28.73 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 4.076e-05/0.858, allocations: 104.7 kB / 1.308 GB, free: 28.63 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.954e-06/0.858, allocations: 0 / 1.308 GB, free: 28.63 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.355e-05/0.858, allocations: 12.78 kB / 1.308 GB, free: 28.61 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 4.488e-05/0.858, allocations: 325.1 kB / 1.308 GB, free: 28.29 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.23e-05/0.858, allocations: 2.812 kB / 1.308 GB, free: 28.29 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.55e-05/0.8581, allocations: 21.45 kB / 1.308 GB, free: 28.27 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.387e-05/0.8581, allocations: 31.98 kB / 1.308 GB, free: 28.23 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.8581, allocations: 4 kB / 1.308 GB, free: 28.23 MB / 1.061 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.923e-05/0.8582, allocations: 55.06 kB / 1.308 GB, free: 28.19 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.113e-05/0.8582, allocations: 5.625 kB / 1.308 GB, free: 28.19 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.8582, allocations: 3.938 kB / 1.308 GB, free: 28.18 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.298e-05/0.8582, allocations: 0 / 1.308 GB, free: 28.18 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.225e-05/0.8583, allocations: 9.031 kB / 1.308 GB, free: 28.18 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.88e-06/0.8583, allocations: 0 / 1.308 GB, free: 28.18 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.082e-05/0.8583, allocations: 14.8 kB / 1.308 GB, free: 28.17 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.517e-06/0.8583, allocations: 2.844 kB / 1.308 GB, free: 28.17 MB / 1.061 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 5.277e-05/0.8584, allocations: 203.2 kB / 1.309 GB, free: 27.97 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.613e-05/0.8584, allocations: 115.1 kB / 1.309 GB, free: 27.86 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.772e-05/0.8584, allocations: 115.7 kB / 1.309 GB, free: 27.74 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.181e-05/0.8584, allocations: 183.3 kB / 1.309 GB, free: 27.55 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.279e-05/0.8585, allocations: 178.8 kB / 1.309 GB, free: 27.38 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.078e-05/0.8585, allocations: 184.2 kB / 1.309 GB, free: 27.19 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001281/0.8586, allocations: 421.5 kB / 1.31 GB, free: 26.74 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.451e-05/0.8586, allocations: 109.3 kB / 1.31 GB, free: 26.63 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.334e-05/0.8586, allocations: 111.5 kB / 1.31 GB, free: 26.52 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.078e-05/0.8587, allocations: 180.3 kB / 1.31 GB, free: 26.33 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.449e-05/0.8587, allocations: 184.1 kB / 1.31 GB, free: 26.14 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.103e-05/0.8587, allocations: 182.9 kB / 1.311 GB, free: 25.96 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.095e-05/0.8587, allocations: 183.5 kB / 1.311 GB, free: 25.78 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.008e-05/0.8588, allocations: 308.1 kB / 1.311 GB, free: 25.46 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 3.456e-05/0.8588, allocations: 189.3 kB / 1.311 GB, free: 25.25 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.381e-05/0.8589, allocations: 190.7 kB / 1.311 GB, free: 25.06 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.767e-05/0.8589, allocations: 108.9 kB / 1.312 GB, free: 24.95 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.759e-05/0.8589, allocations: 182.5 kB / 1.312 GB, free: 24.77 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.349e-05/0.859, allocations: 101 kB / 1.312 GB, free: 24.66 MB / 1.061 GB Notification: Performance of sorting global known variables: time 6.177e-05/0.859, allocations: 129.1 kB / 1.312 GB, free: 24.57 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.859, allocations: 0 / 1.312 GB, free: 24.57 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002034/0.8592, allocations: 5.781 kB / 1.312 GB, free: 24.57 MB / 1.061 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.0002276/0.8595, allocations: 0.819 MB / 1.313 GB, free: 23.75 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 6.759e-05/0.8595, allocations: 12.78 kB / 1.313 GB, free: 23.75 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.8595, allocations: 0 / 1.313 GB, free: 23.75 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 1.002e-06/0.8595, allocations: 192 / 1.313 GB, free: 23.75 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002515/0.8598, allocations: 462.8 kB / 1.313 GB, free: 23.3 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009638/0.8607, allocations: 1.64 MB / 1.315 GB, free: 21.84 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001011/0.8608, allocations: 0.6921 MB / 1.315 GB, free: 21.14 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 1.676e-05/0.8609, allocations: 2.969 kB / 1.315 GB, free: 21.14 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.362e-05/0.8609, allocations: 21.78 kB / 1.315 GB, free: 21.12 MB / 1.061 GB Notification: Performance of SimCode: time 2.81e-07/0.8609, allocations: 0 / 1.315 GB, free: 21.12 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02217/0.8831, allocations: 1.716 MB / 1.317 GB, free: 20.73 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.627/8.51, allocations: 21.45 kB / 1.317 GB, free: 20.71 MB / 1.061 GB " [Timeout remaining time 291] (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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 14.306881153024733]