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.001549/0.001549, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001824/0.001824, allocations: 220.3 kB / 22.26 MB, free: 5.125 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.351/1.351, allocations: 230.6 MB / 256 MB, free: 7.965 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 2.974/2.974, allocations: 0.505 GB / 0.8101 GB, free: 22.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.001915/0.001915, allocations: 66.64 kB / 1.177 GB, free: 17.01 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3144/0.3163, allocations: 180.2 MB / 1.353 GB, free: 8.453 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain): time 0.002646/0.3189, allocations: 1.584 MB / 1.354 GB, free: 6.859 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0001071/0.3191, allocations: 27.86 kB / 1.354 GB, free: 6.832 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.929e-05/0.3191, allocations: 0 / 1.354 GB, free: 6.832 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0001132/0.3192, allocations: 15.92 kB / 1.354 GB, free: 6.816 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 3.624e-05/0.3193, allocations: 11.86 kB / 1.354 GB, free: 6.805 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001052/0.3194, allocations: 19.98 kB / 1.354 GB, free: 6.785 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 9.814e-05/0.3195, allocations: 43.84 kB / 1.355 GB, free: 6.742 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001255/0.3196, allocations: 32.19 kB / 1.355 GB, free: 6.711 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 3.288e-05/0.3196, allocations: 15.94 kB / 1.355 GB, free: 6.695 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 6.384e-05/0.3197, allocations: 27.84 kB / 1.355 GB, free: 6.668 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.767e-05/0.3197, allocations: 4 kB / 1.355 GB, free: 6.664 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 1.223e-05/0.3197, allocations: 8 kB / 1.355 GB, free: 6.656 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 6.273e-05/0.3198, allocations: 23.91 kB / 1.355 GB, free: 6.633 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 4.287e-05/0.3198, allocations: 27.86 kB / 1.355 GB, free: 6.605 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.000104/0.3199, allocations: 55.64 kB / 1.355 GB, free: 6.551 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 7.033e-06/0.3199, allocations: 7.984 kB / 1.355 GB, free: 6.543 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.693e-06/0.3199, allocations: 0 / 1.355 GB, free: 6.543 MB / 1.045 GB Notification: Performance of Transformations before backend: time 4.909e-06/0.3199, allocations: 0 / 1.355 GB, free: 6.543 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.0003758/0.3203, allocations: 282.2 kB / 1.355 GB, free: 6.234 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.127e-05/0.3204, allocations: 16.02 kB / 1.355 GB, free: 6.219 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.881e-05/0.3204, allocations: 34.75 kB / 1.355 GB, free: 6.176 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.431e-05/0.3204, allocations: 8.891 kB / 1.355 GB, free: 6.168 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000162/0.3206, allocations: 126.4 kB / 1.355 GB, free: 6.02 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.154e-05/0.3206, allocations: 4.375 kB / 1.355 GB, free: 6.016 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.383e-05/0.3206, allocations: 12.38 kB / 1.355 GB, free: 6.004 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000164/0.3208, allocations: 102.8 kB / 1.355 GB, free: 5.891 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.708e-06/0.3208, allocations: 3.938 kB / 1.355 GB, free: 5.887 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.027e-06/0.3208, allocations: 0 / 1.355 GB, free: 5.887 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.362e-06/0.3208, allocations: 4 kB / 1.355 GB, free: 5.883 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.283e-05/0.3209, allocations: 43.91 kB / 1.355 GB, free: 5.84 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005826/0.3215, allocations: 0.612 MB / 1.356 GB, free: 5.176 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 8.601e-05/0.3215, allocations: 165.1 kB / 1.356 GB, free: 5.004 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.891e-05/0.3216, allocations: 84.14 kB / 1.356 GB, free: 4.918 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 3.278e-05/0.3216, allocations: 79.28 kB / 1.356 GB, free: 4.84 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.377e-05/0.3217, allocations: 109.8 kB / 1.356 GB, free: 4.723 MB / 1.045 GB Notification: Performance of pre-optimization done (n=0): time 8.01e-07/0.3217, allocations: 0 / 1.356 GB, free: 4.723 MB / 1.045 GB Notification: Performance of matching and sorting (n=0): time 8.067e-05/0.3217, allocations: 41.53 kB / 1.356 GB, free: 4.676 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.634e-05/0.3218, allocations: 138.6 kB / 1.357 GB, free: 4.527 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001692/0.322, allocations: 164.9 kB / 1.357 GB, free: 4.355 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.846e-05/0.322, allocations: 25.7 kB / 1.357 GB, free: 4.324 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 7.385e-05/0.3221, allocations: 108 kB / 1.357 GB, free: 4.215 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.465e-06/0.3221, allocations: 0 / 1.357 GB, free: 4.215 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.279e-05/0.3221, allocations: 21.7 kB / 1.357 GB, free: 4.188 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001286/0.3222, allocations: 318.8 kB / 1.357 GB, free: 3.867 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.228e-05/0.3223, allocations: 0 / 1.357 GB, free: 3.867 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.766e-05/0.3223, allocations: 26.56 kB / 1.357 GB, free: 3.832 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.944e-05/0.3223, allocations: 38.55 kB / 1.357 GB, free: 3.785 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.3223, allocations: 0 / 1.357 GB, free: 3.785 MB / 1.045 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001155/0.3224, allocations: 57.58 kB / 1.357 GB, free: 3.723 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.264e-05/0.3225, allocations: 4 kB / 1.357 GB, free: 3.719 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.161e-06/0.3225, allocations: 3.938 kB / 1.357 GB, free: 3.715 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.219e-05/0.3225, allocations: 4 kB / 1.357 GB, free: 3.711 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.445e-05/0.3225, allocations: 4 kB / 1.357 GB, free: 3.707 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.083e-06/0.3225, allocations: 8.031 kB / 1.357 GB, free: 3.699 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.391e-05/0.3226, allocations: 7.953 kB / 1.357 GB, free: 3.691 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.496e-06/0.3226, allocations: 0 / 1.357 GB, free: 3.691 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.0001154/0.3227, allocations: 201.6 kB / 1.357 GB, free: 3.484 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.363e-05/0.3228, allocations: 108.9 kB / 1.358 GB, free: 3.371 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.348e-05/0.3228, allocations: 120.7 kB / 1.358 GB, free: 3.242 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.362e-05/0.3229, allocations: 180.3 kB / 1.358 GB, free: 3.059 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.088e-05/0.323, allocations: 188.2 kB / 1.358 GB, free: 2.867 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.357e-05/0.323, allocations: 180.2 kB / 1.358 GB, free: 2.684 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002453/0.3233, allocations: 392.4 kB / 1.359 GB, free: 2.25 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.366e-05/0.3233, allocations: 109.5 kB / 1.359 GB, free: 2.137 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.673e-05/0.3234, allocations: 105 kB / 1.359 GB, free: 2.027 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.079e-05/0.3235, allocations: 184.3 kB / 1.359 GB, free: 1.84 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.642e-05/0.3235, allocations: 188.1 kB / 1.359 GB, free: 1.648 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.172e-05/0.3236, allocations: 176.5 kB / 1.359 GB, free: 1.469 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.275e-05/0.3237, allocations: 184.2 kB / 1.359 GB, free: 1.281 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001508/0.3238, allocations: 315.8 kB / 1.36 GB, free: 0.9492 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 6.185e-05/0.3239, allocations: 112.9 kB / 1.36 GB, free: 0.832 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.377e-05/0.324, allocations: 188.2 kB / 1.36 GB, free: 0.6406 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.729e-05/0.3241, allocations: 108.9 kB / 1.36 GB, free: 0.5273 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.578e-05/0.3241, allocations: 180.3 kB / 1.36 GB, free: 352 kB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.352e-05/0.3242, allocations: 105 kB / 1.36 GB, free: 240 kB / 1.045 GB Notification: Performance of sorting global known variables: time 0.000102/0.3243, allocations: 128.7 kB / 1.361 GB, free: 112 kB / 1.045 GB Notification: Performance of sort global known variables: time 9.1e-08/0.3243, allocations: 3.938 kB / 1.361 GB, free: 108 kB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002079/0.3245, allocations: 8 kB / 1.361 GB, free: 100 kB / 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.0004562/0.3249, allocations: 0.8125 MB / 1.361 GB, free: 15.26 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 7.144e-05/0.325, allocations: 15.94 kB / 1.361 GB, free: 15.24 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.325, allocations: 0 / 1.361 GB, free: 15.24 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 1.011e-06/0.325, allocations: 0 / 1.361 GB, free: 15.24 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003757/0.3254, allocations: 463.7 kB / 1.362 GB, free: 14.79 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00142/0.3268, allocations: 1.627 MB / 1.363 GB, free: 13.07 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000299/0.3271, allocations: 0.6924 MB / 1.364 GB, free: 12.35 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 1.903e-05/0.3271, allocations: 7.984 kB / 1.364 GB, free: 12.34 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.887e-05/0.3272, allocations: 15.44 kB / 1.364 GB, free: 12.33 MB / 1.061 GB Notification: Performance of SimCode: time 3.01e-07/0.3272, allocations: 0 / 1.364 GB, free: 12.33 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02585/0.353, allocations: 1.822 MB / 1.366 GB, free: 10.64 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.866/10.22, allocations: 3.047 kB / 1.366 GB, free: 10.64 MB / 1.061 GB " [Timeout remaining time 290] (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: 16.490579781000633]