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.001725/0.001725, allocations: 103 kB / 16.45 MB, free: 6.5 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.002098/0.002098, allocations: 210.4 kB / 19.43 MB, free: 3.656 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.394/1.394, allocations: 230.6 MB / 252.8 MB, free: 8.969 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.121/3.121, allocations: 0.505 GB / 0.8066 GB, free: 23.05 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.001989/0.001989, allocations: 69.53 kB / 1.172 GB, free: 17.51 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3699/0.3719, allocations: 180.2 MB / 1.348 GB, free: 9.992 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain): time 0.002849/0.3747, allocations: 1.559 MB / 1.349 GB, free: 8.426 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0001157/0.3749, allocations: 27.91 kB / 1.349 GB, free: 8.398 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.356e-05/0.3749, allocations: 3.938 kB / 1.349 GB, free: 8.395 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0001273/0.375, allocations: 11.92 kB / 1.349 GB, free: 8.383 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 3.562e-05/0.3751, allocations: 7.938 kB / 1.349 GB, free: 8.375 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001125/0.3752, allocations: 19.98 kB / 1.349 GB, free: 8.355 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.00011/0.3753, allocations: 47.78 kB / 1.349 GB, free: 8.309 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001362/0.3754, allocations: 32.2 kB / 1.349 GB, free: 8.277 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 3.547e-05/0.3755, allocations: 19.92 kB / 1.349 GB, free: 8.258 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 6.626e-05/0.3755, allocations: 31.83 kB / 1.349 GB, free: 8.227 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.753e-05/0.3756, allocations: 4 kB / 1.349 GB, free: 8.223 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 9.608e-06/0.3756, allocations: 8 kB / 1.349 GB, free: 8.215 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 5.312e-05/0.3756, allocations: 23.92 kB / 1.35 GB, free: 8.191 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 4.135e-05/0.3757, allocations: 27.86 kB / 1.35 GB, free: 8.164 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001063/0.3758, allocations: 51.7 kB / 1.35 GB, free: 8.113 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.3758, allocations: 0 / 1.35 GB, free: 8.113 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.132e-06/0.3758, allocations: 0 / 1.35 GB, free: 8.113 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.029e-06/0.3758, allocations: 0 / 1.35 GB, free: 8.113 MB / 1.045 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.0004264/0.3762, allocations: 363.3 kB / 1.35 GB, free: 7.707 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.493e-05/0.3762, allocations: 19.91 kB / 1.35 GB, free: 7.688 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.484e-05/0.3763, allocations: 38.75 kB / 1.35 GB, free: 7.641 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.647e-05/0.3763, allocations: 16.83 kB / 1.35 GB, free: 7.625 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001905/0.3765, allocations: 188.2 kB / 1.35 GB, free: 7.402 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.584e-05/0.3765, allocations: 8.375 kB / 1.35 GB, free: 7.395 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.142e-05/0.3765, allocations: 4.375 kB / 1.35 GB, free: 7.391 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001699/0.3767, allocations: 104.7 kB / 1.35 GB, free: 7.273 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.127e-06/0.3767, allocations: 3.938 kB / 1.35 GB, free: 7.27 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.668e-06/0.3767, allocations: 0 / 1.35 GB, free: 7.27 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.3767, allocations: 0 / 1.35 GB, free: 7.27 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.981e-05/0.3768, allocations: 47.97 kB / 1.35 GB, free: 7.223 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006041/0.3774, allocations: 0.6324 MB / 1.351 GB, free: 6.531 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 8.979e-05/0.3775, allocations: 173.1 kB / 1.351 GB, free: 6.352 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.63e-05/0.3776, allocations: 92.14 kB / 1.351 GB, free: 6.258 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.969e-05/0.3776, allocations: 75.28 kB / 1.351 GB, free: 6.184 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.044e-05/0.3776, allocations: 105.8 kB / 1.351 GB, free: 6.07 MB / 1.045 GB Notification: Performance of pre-optimization done (n=0): time 1.263e-06/0.3776, allocations: 0 / 1.351 GB, free: 6.07 MB / 1.045 GB Notification: Performance of matching and sorting (n=0): time 7.576e-05/0.3777, allocations: 41.53 kB / 1.351 GB, free: 6.023 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.5e-05/0.3778, allocations: 130.6 kB / 1.352 GB, free: 5.883 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001722/0.378, allocations: 172.7 kB / 1.352 GB, free: 5.703 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.333e-05/0.378, allocations: 25.7 kB / 1.352 GB, free: 5.672 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 7.989e-05/0.378, allocations: 108 kB / 1.352 GB, free: 5.562 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.775e-06/0.378, allocations: 0 / 1.352 GB, free: 5.562 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.555e-05/0.3781, allocations: 21.7 kB / 1.352 GB, free: 5.535 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001325/0.3782, allocations: 314.8 kB / 1.352 GB, free: 5.219 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.423e-05/0.3782, allocations: 4 kB / 1.352 GB, free: 5.215 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.676e-05/0.3783, allocations: 26.56 kB / 1.352 GB, free: 5.18 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.738e-05/0.3783, allocations: 30.52 kB / 1.352 GB, free: 5.141 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-06/0.3783, allocations: 0 / 1.352 GB, free: 5.141 MB / 1.045 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001186/0.3784, allocations: 57.59 kB / 1.352 GB, free: 5.078 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.486e-05/0.3784, allocations: 10.17 kB / 1.352 GB, free: 5.07 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.273e-06/0.3784, allocations: 8.031 kB / 1.352 GB, free: 5.062 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.272e-05/0.3785, allocations: 4.094 kB / 1.352 GB, free: 5.059 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.395e-05/0.3785, allocations: 4 kB / 1.352 GB, free: 5.055 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.5e-06/0.3785, allocations: 0 / 1.352 GB, free: 5.055 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.734e-05/0.3786, allocations: 11.94 kB / 1.352 GB, free: 5.043 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.667e-06/0.3786, allocations: 0 / 1.352 GB, free: 5.043 MB / 1.045 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.0001093/0.3787, allocations: 189.1 kB / 1.352 GB, free: 4.848 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.93e-05/0.3787, allocations: 116.9 kB / 1.353 GB, free: 4.727 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.428e-05/0.3788, allocations: 116.8 kB / 1.353 GB, free: 4.598 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.485e-05/0.3789, allocations: 184.2 kB / 1.353 GB, free: 4.41 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.678e-05/0.379, allocations: 184.2 kB / 1.353 GB, free: 4.223 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.153e-05/0.379, allocations: 180.2 kB / 1.353 GB, free: 4.039 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002692/0.3793, allocations: 429.2 kB / 1.354 GB, free: 3.562 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.5e-05/0.3793, allocations: 109.5 kB / 1.354 GB, free: 3.449 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.781e-05/0.3794, allocations: 104.9 kB / 1.354 GB, free: 3.34 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.432e-05/0.3795, allocations: 176.3 kB / 1.354 GB, free: 3.16 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.362e-05/0.3795, allocations: 184.2 kB / 1.354 GB, free: 2.973 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.53e-05/0.3796, allocations: 180.4 kB / 1.354 GB, free: 2.789 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.467e-05/0.3797, allocations: 180.3 kB / 1.355 GB, free: 2.605 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001513/0.3798, allocations: 319.7 kB / 1.355 GB, free: 2.27 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 9.7e-05/0.3799, allocations: 186 kB / 1.355 GB, free: 2.062 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.25e-05/0.38, allocations: 192.1 kB / 1.355 GB, free: 1.867 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.697e-05/0.3801, allocations: 101 kB / 1.355 GB, free: 1.762 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.309e-05/0.3802, allocations: 188.1 kB / 1.355 GB, free: 1.57 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.845e-05/0.3802, allocations: 101 kB / 1.356 GB, free: 1.465 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0001043/0.3803, allocations: 129.7 kB / 1.356 GB, free: 1.34 MB / 1.045 GB Notification: Performance of sort global known variables: time 9e-08/0.3803, allocations: 0 / 1.356 GB, free: 1.34 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.000209/0.3806, allocations: 8 kB / 1.356 GB, free: 1.332 MB / 1.045 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.0004897/0.381, allocations: 0.8164 MB / 1.357 GB, free: 500 kB / 1.045 GB Notification: Performance of simCode: created initialization part: time 6.883e-05/0.3811, allocations: 12 kB / 1.357 GB, free: 488 kB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.3811, allocations: 0 / 1.357 GB, free: 488 kB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 3.236e-06/0.3811, allocations: 4 kB / 1.357 GB, free: 484 kB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004052/0.3815, allocations: 471.7 kB / 1.357 GB, free: 8 kB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001511/0.383, allocations: 1.631 MB / 1.359 GB, free: 14.29 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003238/0.3834, allocations: 0.6924 MB / 1.359 GB, free: 13.57 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 2.066e-05/0.3834, allocations: 11.98 kB / 1.359 GB, free: 13.56 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.1e-05/0.3834, allocations: 19.44 kB / 1.359 GB, free: 13.54 MB / 1.061 GB Notification: Performance of SimCode: time 2.6e-07/0.3834, allocations: 0 / 1.359 GB, free: 13.54 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02237/0.4058, allocations: 1.718 MB / 1.361 GB, free: 11.94 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.909/8.314, allocations: 10 kB / 1.361 GB, free: 11.93 MB / 1.061 GB " [Timeout remaining time 292] (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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain_res.csv --start-time 0 --stop-time 3600 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 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.csv","/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: 14.916761460946873]