Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001856/0.001856, allocations: 111 kB / 16.46 MB, free: 6.453 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.002172/0.002172, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.38/1.38, allocations: 230.6 MB / 252.8 MB, free: 8.973 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.626/2.626, allocations: 476.7 MB / 0.7672 GB, free: 5.238 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/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_11_Buildings_ThermalZones_Detailed_BaseClasses_Examples_HeatGain",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain,fileNamePrefix="Buildings_11_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.002002/0.002002, allocations: 79.88 kB / 1.112 GB, free: 1.543 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7681/0.7701, allocations: 169.9 MB / 1.278 GB, free: 13.42 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain): time 0.002994/0.7731, allocations: 1.546 MB / 1.28 GB, free: 11.87 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0001306/0.7733, allocations: 35.84 kB / 1.28 GB, free: 11.83 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.37e-05/0.7733, allocations: 4 kB / 1.28 GB, free: 11.83 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001204/0.7734, allocations: 15.86 kB / 1.28 GB, free: 11.81 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 3.457e-05/0.7735, allocations: 3.938 kB / 1.28 GB, free: 11.81 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001032/0.7736, allocations: 19.98 kB / 1.28 GB, free: 11.79 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001038/0.7737, allocations: 51.83 kB / 1.28 GB, free: 11.74 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001296/0.7738, allocations: 25.81 kB / 1.28 GB, free: 11.71 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 3.513e-05/0.7738, allocations: 27.86 kB / 1.28 GB, free: 11.69 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 6.384e-05/0.7739, allocations: 31.84 kB / 1.28 GB, free: 11.66 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.659e-05/0.7739, allocations: 4 kB / 1.28 GB, free: 11.65 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 9.628e-06/0.7739, allocations: 4 kB / 1.28 GB, free: 11.65 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 4.792e-05/0.774, allocations: 23.92 kB / 1.28 GB, free: 11.62 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.214e-05/0.774, allocations: 23.86 kB / 1.28 GB, free: 11.6 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001112/0.7741, allocations: 63.61 kB / 1.28 GB, free: 11.54 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.788e-06/0.7741, allocations: 0 / 1.28 GB, free: 11.54 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.142e-06/0.7741, allocations: 0 / 1.28 GB, free: 11.54 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.877e-06/0.7742, allocations: 0 / 1.28 GB, free: 11.54 MB / 0.9825 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.0004223/0.7746, allocations: 371.2 kB / 1.28 GB, free: 11.12 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.736e-05/0.7746, allocations: 12.03 kB / 1.28 GB, free: 11.11 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.221e-05/0.7747, allocations: 42.73 kB / 1.281 GB, free: 11.06 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.276e-05/0.7747, allocations: 8.891 kB / 1.281 GB, free: 11.05 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001813/0.7749, allocations: 192.2 kB / 1.281 GB, free: 10.83 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.736e-06/0.7749, allocations: 384 / 1.281 GB, free: 10.83 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.598e-05/0.7749, allocations: 8.375 kB / 1.281 GB, free: 10.82 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001644/0.775, allocations: 103.2 kB / 1.281 GB, free: 10.71 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/0.7751, allocations: 3.938 kB / 1.281 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.07e-05/0.7751, allocations: 4 kB / 1.281 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.428e-06/0.7751, allocations: 4 kB / 1.281 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.96e-05/0.7752, allocations: 39.91 kB / 1.281 GB, free: 10.66 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005999/0.7758, allocations: 0.6519 MB / 1.281 GB, free: 9.945 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 9.187e-05/0.7758, allocations: 165.1 kB / 1.282 GB, free: 9.773 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.142e-05/0.7759, allocations: 84.08 kB / 1.282 GB, free: 9.688 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.304e-05/0.7759, allocations: 75.28 kB / 1.282 GB, free: 9.613 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.063e-05/0.776, allocations: 105.8 kB / 1.282 GB, free: 9.5 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=0): time 1.332e-06/0.776, allocations: 7.938 kB / 1.282 GB, free: 9.492 MB / 0.9825 GB Notification: Performance of matching and sorting (n=0): time 7.938e-05/0.7761, allocations: 37.59 kB / 1.282 GB, free: 9.449 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.776e-05/0.7761, allocations: 130.7 kB / 1.282 GB, free: 9.309 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001762/0.7763, allocations: 169.1 kB / 1.282 GB, free: 9.129 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.475e-05/0.7763, allocations: 29.7 kB / 1.282 GB, free: 9.094 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.951e-05/0.7764, allocations: 96.09 kB / 1.282 GB, free: 8.996 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.745e-06/0.7764, allocations: 0 / 1.282 GB, free: 8.996 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.633e-05/0.7764, allocations: 21.67 kB / 1.282 GB, free: 8.969 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001291/0.7765, allocations: 322.8 kB / 1.283 GB, free: 8.645 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.717e-05/0.7766, allocations: 7.938 kB / 1.283 GB, free: 8.637 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.684e-05/0.7766, allocations: 26.56 kB / 1.283 GB, free: 8.602 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.398e-05/0.7766, allocations: 22.58 kB / 1.283 GB, free: 8.57 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.7766, allocations: 4 kB / 1.283 GB, free: 8.566 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001401/0.7768, allocations: 53.59 kB / 1.283 GB, free: 8.508 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.54e-05/0.7768, allocations: 8 kB / 1.283 GB, free: 8.5 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.684e-06/0.7768, allocations: 11.86 kB / 1.283 GB, free: 8.488 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.241e-05/0.7768, allocations: 0 / 1.283 GB, free: 8.488 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.07e-05/0.7769, allocations: 7.938 kB / 1.283 GB, free: 8.48 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.244e-06/0.7769, allocations: 4 kB / 1.283 GB, free: 8.477 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.409e-05/0.7769, allocations: 3.938 kB / 1.283 GB, free: 8.473 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.72e-06/0.7769, allocations: 4 kB / 1.283 GB, free: 8.469 MB / 0.9825 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.0001109/0.777, allocations: 194.5 kB / 1.283 GB, free: 8.27 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.29e-05/0.7771, allocations: 114.6 kB / 1.283 GB, free: 8.152 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.7e-05/0.7772, allocations: 120.7 kB / 1.283 GB, free: 8.023 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.818e-05/0.7773, allocations: 176.3 kB / 1.283 GB, free: 7.844 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.59e-05/0.7773, allocations: 180.2 kB / 1.284 GB, free: 7.66 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.401e-05/0.7774, allocations: 188.2 kB / 1.284 GB, free: 7.469 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000261/0.7777, allocations: 417.2 kB / 1.284 GB, free: 7.004 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.47e-05/0.7777, allocations: 104.9 kB / 1.284 GB, free: 6.895 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.537e-05/0.7778, allocations: 109 kB / 1.284 GB, free: 6.781 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.413e-05/0.7778, allocations: 184.2 kB / 1.285 GB, free: 6.594 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.684e-05/0.7779, allocations: 188.2 kB / 1.285 GB, free: 6.402 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.42e-05/0.778, allocations: 180.3 kB / 1.285 GB, free: 6.219 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.361e-05/0.7781, allocations: 180.2 kB / 1.285 GB, free: 6.035 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001612/0.7782, allocations: 316 kB / 1.285 GB, free: 5.703 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 9.388e-05/0.7783, allocations: 186 kB / 1.286 GB, free: 5.496 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.996e-05/0.7784, allocations: 196.2 kB / 1.286 GB, free: 5.297 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.67e-05/0.7785, allocations: 104.9 kB / 1.286 GB, free: 5.188 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.589e-05/0.7786, allocations: 180.3 kB / 1.286 GB, free: 5.004 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.561e-05/0.7786, allocations: 108.9 kB / 1.286 GB, free: 4.891 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001019/0.7787, allocations: 121.3 kB / 1.286 GB, free: 4.773 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.7787, allocations: 4 kB / 1.286 GB, free: 4.77 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002174/0.7789, allocations: 8 kB / 1.286 GB, free: 4.762 MB / 0.9825 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.0004729/0.7794, allocations: 0.8131 MB / 1.287 GB, free: 3.922 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 7.689e-05/0.7795, allocations: 15.94 kB / 1.287 GB, free: 3.906 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.7795, allocations: 0 / 1.287 GB, free: 3.906 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.703e-06/0.7795, allocations: 4.188 kB / 1.287 GB, free: 3.902 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003805/0.7799, allocations: 459.7 kB / 1.287 GB, free: 3.449 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001557/0.7814, allocations: 1.644 MB / 1.289 GB, free: 1.711 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003112/0.7817, allocations: 0.691 MB / 1.29 GB, free: 0.9961 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.068e-05/0.7817, allocations: 7.984 kB / 1.29 GB, free: 0.9883 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.49e-05/0.7818, allocations: 19.44 kB / 1.29 GB, free: 0.9688 MB / 0.9825 GB Notification: Performance of SimCode: time 4.31e-07/0.7818, allocations: 3.938 kB / 1.29 GB, free: 0.9648 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02463/0.8064, allocations: 1.716 MB / 1.291 GB, free: 15.36 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.674/8.48, allocations: 11.38 kB / 1.291 GB, free: 15.35 MB / 0.9981 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe ; mkfifo Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe ; head -c 1048576 < Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe >> ../files/Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain_res.csv --start-time 0 --stop-time 3600 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 Buildings_11_Buildings_ThermalZones_Detailed_BaseClasses_Examples_HeatGain.fmu > Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_ThermalZones_Detailed_BaseClasses_Examples_HeatGain.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.19812887092121]