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.001696/0.001696, allocations: 95.64 kB / 18.95 MB, free: 2.691 MB / 14.72 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.00211/0.00211, allocations: 213.7 kB / 22.24 MB, free: 5.238 MB / 14.72 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 1.421/1.421, allocations: 230.6 MB / 256 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] 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 3.03/3.03, allocations: 0.5107 GB / 0.8158 GB, free: 17.82 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00197/0.00197, allocations: 71.48 kB / 1.186 GB, free: 13.71 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.366/0.368, allocations: 181.9 MB / 1.363 GB, free: 14.09 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain): time 0.003406/0.3714, allocations: 1.552 MB / 1.365 GB, free: 12.53 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0001634/0.3715, allocations: 31.84 kB / 1.365 GB, free: 12.5 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.632e-05/0.3716, allocations: 0 / 1.365 GB, free: 12.5 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001356/0.3718, allocations: 11.92 kB / 1.365 GB, free: 12.48 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 4.582e-05/0.3718, allocations: 7.875 kB / 1.365 GB, free: 12.48 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001225/0.3719, allocations: 19.98 kB / 1.365 GB, free: 12.46 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.000114/0.372, allocations: 35.91 kB / 1.365 GB, free: 12.42 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001719/0.3722, allocations: 44.11 kB / 1.365 GB, free: 12.38 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 4.556e-05/0.3723, allocations: 15.94 kB / 1.365 GB, free: 12.36 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 8.094e-05/0.3723, allocations: 23.91 kB / 1.365 GB, free: 12.34 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.204e-05/0.3724, allocations: 4 kB / 1.365 GB, free: 12.34 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 1.521e-05/0.3724, allocations: 8 kB / 1.365 GB, free: 12.33 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 5.662e-05/0.3724, allocations: 19.92 kB / 1.365 GB, free: 12.31 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 4.579e-05/0.3725, allocations: 23.86 kB / 1.365 GB, free: 12.29 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001436/0.3726, allocations: 63.67 kB / 1.365 GB, free: 12.22 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.62e-06/0.3726, allocations: 3.938 kB / 1.365 GB, free: 12.22 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.524e-06/0.3726, allocations: 0 / 1.365 GB, free: 12.22 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.144e-05/0.3726, allocations: 0 / 1.365 GB, free: 12.22 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.0005059/0.3731, allocations: 286.2 kB / 1.365 GB, free: 11.91 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.686e-05/0.3732, allocations: 12.03 kB / 1.365 GB, free: 11.89 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.948e-05/0.3732, allocations: 34.75 kB / 1.366 GB, free: 11.85 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.049e-05/0.3733, allocations: 8.891 kB / 1.366 GB, free: 11.84 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002105/0.3735, allocations: 126.5 kB / 1.366 GB, free: 11.7 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.384e-05/0.3735, allocations: 8.312 kB / 1.366 GB, free: 11.69 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.545e-05/0.3735, allocations: 4.375 kB / 1.366 GB, free: 11.68 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001846/0.3737, allocations: 103.3 kB / 1.366 GB, free: 11.57 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.296e-05/0.3737, allocations: 3.938 kB / 1.366 GB, free: 11.57 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.589e-05/0.3737, allocations: 8 kB / 1.366 GB, free: 11.56 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.3737, allocations: 4 kB / 1.366 GB, free: 11.55 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.725e-05/0.3738, allocations: 47.91 kB / 1.366 GB, free: 11.51 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007405/0.3746, allocations: 0.5925 MB / 1.366 GB, free: 10.86 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001232/0.3747, allocations: 169.1 kB / 1.367 GB, free: 10.69 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.615e-05/0.3747, allocations: 84.14 kB / 1.367 GB, free: 10.6 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 4.377e-05/0.3748, allocations: 75.28 kB / 1.367 GB, free: 10.53 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.631e-05/0.3748, allocations: 109.8 kB / 1.367 GB, free: 10.41 MB / 1.061 GB Notification: Performance of pre-optimization done (n=0): time 1.182e-06/0.3748, allocations: 0 / 1.367 GB, free: 10.41 MB / 1.061 GB Notification: Performance of matching and sorting (n=0): time 9.123e-05/0.3749, allocations: 37.59 kB / 1.367 GB, free: 10.37 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.515e-05/0.375, allocations: 130.7 kB / 1.367 GB, free: 10.23 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002151/0.3752, allocations: 180.4 kB / 1.367 GB, free: 10.04 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.739e-05/0.3753, allocations: 29.64 kB / 1.367 GB, free: 10 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 8.433e-05/0.3753, allocations: 100.1 kB / 1.367 GB, free: 9.902 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 5.851e-06/0.3753, allocations: 3.984 kB / 1.367 GB, free: 9.898 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.979e-05/0.3754, allocations: 17.72 kB / 1.367 GB, free: 9.875 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001728/0.3756, allocations: 318.8 kB / 1.368 GB, free: 9.555 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.732e-05/0.3756, allocations: 4 kB / 1.368 GB, free: 9.551 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.121e-05/0.3756, allocations: 22.58 kB / 1.368 GB, free: 9.52 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.901e-05/0.3757, allocations: 34.55 kB / 1.368 GB, free: 9.477 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.3757, allocations: 0 / 1.368 GB, free: 9.477 MB / 1.061 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001469/0.3758, allocations: 61.58 kB / 1.368 GB, free: 9.41 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.722e-05/0.3758, allocations: 4 kB / 1.368 GB, free: 9.406 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.054e-06/0.3758, allocations: 3.938 kB / 1.368 GB, free: 9.402 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.662e-05/0.3759, allocations: 4 kB / 1.368 GB, free: 9.398 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.718e-05/0.3759, allocations: 4 kB / 1.368 GB, free: 9.395 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.3759, allocations: 0 / 1.368 GB, free: 9.395 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.528e-05/0.376, allocations: 15.97 kB / 1.368 GB, free: 9.379 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.171e-06/0.376, allocations: 11.92 kB / 1.368 GB, free: 9.367 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 0.0001369/0.3761, allocations: 193.1 kB / 1.368 GB, free: 9.168 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.818e-05/0.3762, allocations: 108.9 kB / 1.368 GB, free: 9.055 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.085e-05/0.3763, allocations: 120.8 kB / 1.368 GB, free: 8.926 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.146e-05/0.3764, allocations: 185.3 kB / 1.368 GB, free: 8.738 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.644e-05/0.3765, allocations: 176.3 kB / 1.369 GB, free: 8.559 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.081e-05/0.3766, allocations: 184.2 kB / 1.369 GB, free: 8.371 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003012/0.3769, allocations: 388.3 kB / 1.369 GB, free: 7.941 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.211e-05/0.3769, allocations: 109 kB / 1.369 GB, free: 7.828 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.535e-05/0.377, allocations: 104.9 kB / 1.369 GB, free: 7.719 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.303e-05/0.377, allocations: 188.2 kB / 1.369 GB, free: 7.527 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.031e-05/0.3771, allocations: 188.1 kB / 1.37 GB, free: 7.336 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.125e-05/0.3772, allocations: 176.5 kB / 1.37 GB, free: 7.156 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.822e-05/0.3773, allocations: 184.2 kB / 1.37 GB, free: 6.969 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001803/0.3775, allocations: 311.8 kB / 1.37 GB, free: 6.641 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 6.923e-05/0.3776, allocations: 116.9 kB / 1.37 GB, free: 6.52 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.869e-05/0.3777, allocations: 184.2 kB / 1.371 GB, free: 6.332 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.717e-05/0.3777, allocations: 112.9 kB / 1.371 GB, free: 6.215 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.477e-05/0.3778, allocations: 176.3 kB / 1.371 GB, free: 6.035 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.965e-05/0.3779, allocations: 101 kB / 1.371 GB, free: 5.93 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001229/0.378, allocations: 136 kB / 1.371 GB, free: 5.797 MB / 1.061 GB Notification: Performance of sort global known variables: time 8.1e-08/0.378, allocations: 0 / 1.371 GB, free: 5.797 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002166/0.3782, allocations: 8 kB / 1.371 GB, free: 5.789 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.000513/0.3787, allocations: 0.8125 MB / 1.372 GB, free: 4.949 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 8.96e-05/0.3788, allocations: 15.94 kB / 1.372 GB, free: 4.934 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.073e-06/0.3788, allocations: 0 / 1.372 GB, free: 4.934 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 1.483e-06/0.3788, allocations: 0 / 1.372 GB, free: 4.934 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004345/0.3793, allocations: 462.2 kB / 1.372 GB, free: 4.48 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001757/0.381, allocations: 1.634 MB / 1.374 GB, free: 2.754 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.725e-05/0.3811, allocations: 79.33 kB / 1.374 GB, free: 2.656 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 2.115e-05/0.3811, allocations: 4 kB / 1.374 GB, free: 2.652 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.372e-05/0.3812, allocations: 23.42 kB / 1.374 GB, free: 2.629 MB / 1.061 GB Notification: Performance of SimCode: time 4.41e-07/0.3812, allocations: 0 / 1.374 GB, free: 2.629 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03237/0.4135, allocations: 2.207 MB / 1.376 GB, free: 0.5508 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.21/10.63, allocations: 12.19 kB / 1.376 GB, free: 0.543 MB / 1.061 GB " [Timeout remaining time 289] (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/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: 16.986725442577153]