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.0008416/0.0008416, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.000795/0.000795, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.8441/0.8441, allocations: 177.1 MB / 202.8 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.563/1.563, allocations: 359 MB / 0.6037 GB, free: 11.08 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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: Performance of FrontEnd - loaded program: time 1.162e-06/1.162e-06, allocations: 0 / 0.9505 GB, free: 3.492 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.462e-05/1.578e-05, allocations: 9.031 kB / 0.9505 GB, free: 3.484 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain): time 0.001682/0.001698, allocations: 1.541 MB / 0.952 GB, free: 1.926 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 9.483e-05/0.001793, allocations: 31.86 kB / 0.952 GB, free: 1.895 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.426e-05/0.001837, allocations: 0 / 0.952 GB, free: 1.895 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.0001008/0.001938, allocations: 19.86 kB / 0.9521 GB, free: 1.875 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 2.758e-05/0.001965, allocations: 3.938 kB / 0.9521 GB, free: 1.871 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001004/0.002066, allocations: 19.97 kB / 0.9521 GB, free: 1.852 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 7.766e-05/0.002143, allocations: 47.84 kB / 0.9521 GB, free: 1.805 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000102/0.002245, allocations: 19.97 kB / 0.9521 GB, free: 1.785 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 4.06e-05/0.002286, allocations: 31.91 kB / 0.9522 GB, free: 1.754 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 5.43e-05/0.00234, allocations: 23.91 kB / 0.9522 GB, free: 1.73 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 2.624e-05/0.002367, allocations: 8 kB / 0.9522 GB, free: 1.723 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 8.166e-06/0.002375, allocations: 4 kB / 0.9522 GB, free: 1.719 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 3.751e-05/0.002412, allocations: 19.91 kB / 0.9522 GB, free: 1.699 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 2.567e-05/0.002438, allocations: 16 kB / 0.9522 GB, free: 1.684 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 8.716e-05/0.002525, allocations: 59.73 kB / 0.9523 GB, free: 1.625 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 1.994e-06/0.002527, allocations: 0 / 0.9523 GB, free: 1.625 MB / 0.9011 GB Notification: Performance of FrontEnd: time 7.71e-07/0.002528, allocations: 0 / 0.9523 GB, free: 1.625 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 3.357e-06/0.002531, allocations: 3.938 kB / 0.9523 GB, free: 1.621 MB / 0.9011 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.0002857/0.002817, allocations: 295.8 kB / 0.9526 GB, free: 1.301 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.326e-05/0.00285, allocations: 11.97 kB / 0.9526 GB, free: 1.289 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.181e-05/0.002882, allocations: 42.73 kB / 0.9526 GB, free: 1.238 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.793e-05/0.0029, allocations: 8.891 kB / 0.9527 GB, free: 1.23 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001145/0.003014, allocations: 117.7 kB / 0.9528 GB, free: 1.09 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.378e-06/0.003024, allocations: 8.375 kB / 0.9528 GB, free: 1.082 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.246e-06/0.003032, allocations: 8.375 kB / 0.9528 GB, free: 1.074 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001172/0.003149, allocations: 100.8 kB / 0.9529 GB, free: 0.9609 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.543e-06/0.003156, allocations: 192 / 0.9529 GB, free: 0.9609 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.426e-06/0.003164, allocations: 4.375 kB / 0.9529 GB, free: 0.957 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.181e-05/0.003176, allocations: 8.109 kB / 0.9529 GB, free: 0.9492 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.862e-05/0.003235, allocations: 43.92 kB / 0.9529 GB, free: 0.9062 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003895/0.003624, allocations: 0.6003 MB / 0.9535 GB, free: 260 kB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 5.676e-05/0.003681, allocations: 169.1 kB / 0.9537 GB, free: 80 kB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.143e-05/0.003712, allocations: 84.75 kB / 0.9538 GB, free: 15.99 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 1.657e-05/0.003729, allocations: 75.28 kB / 0.9538 GB, free: 15.92 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.837e-05/0.003757, allocations: 105.8 kB / 0.9539 GB, free: 15.8 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=0): time 7.02e-07/0.003758, allocations: 0 / 0.9539 GB, free: 15.8 MB / 0.9167 GB Notification: Performance of matching and sorting (n=0): time 5.184e-05/0.00381, allocations: 41.58 kB / 0.954 GB, free: 15.76 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.312e-05/0.003853, allocations: 134.6 kB / 0.9541 GB, free: 15.61 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001178/0.003971, allocations: 172.9 kB / 0.9543 GB, free: 15.43 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 7.584e-06/0.003978, allocations: 25.7 kB / 0.9543 GB, free: 15.4 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 5.112e-05/0.004029, allocations: 104 kB / 0.9544 GB, free: 15.3 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 2.074e-06/0.004031, allocations: 3.938 kB / 0.9544 GB, free: 15.29 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.463e-05/0.004056, allocations: 17.72 kB / 0.9544 GB, free: 15.27 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 6.648e-05/0.004122, allocations: 318.8 kB / 0.9547 GB, free: 14.95 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.163e-05/0.004134, allocations: 7.984 kB / 0.9547 GB, free: 14.94 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.61e-05/0.00415, allocations: 22.58 kB / 0.9547 GB, free: 14.91 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.23e-05/0.004183, allocations: 30.52 kB / 0.9548 GB, free: 14.87 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.004184, allocations: 0 / 0.9548 GB, free: 14.87 MB / 0.9167 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.079e-05/0.004275, allocations: 57.58 kB / 0.9548 GB, free: 14.81 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.061e-05/0.004286, allocations: 4 kB / 0.9548 GB, free: 14.8 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.469e-06/0.00429, allocations: 4.094 kB / 0.9548 GB, free: 14.8 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.759e-06/0.0043, allocations: 4 kB / 0.9548 GB, free: 14.8 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.757e-05/0.004347, allocations: 8 kB / 0.9548 GB, free: 14.79 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.899e-06/0.004352, allocations: 3.938 kB / 0.9548 GB, free: 14.79 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.953e-05/0.004372, allocations: 7.953 kB / 0.9549 GB, free: 14.78 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.587e-06/0.004375, allocations: 0 / 0.9549 GB, free: 14.78 MB / 0.9167 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 6.59e-05/0.004441, allocations: 201 kB / 0.955 GB, free: 14.57 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.557e-05/0.004477, allocations: 108.9 kB / 0.9552 GB, free: 14.46 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.015e-05/0.004507, allocations: 112.8 kB / 0.9553 GB, free: 14.34 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.766e-05/0.004545, allocations: 184.3 kB / 0.9554 GB, free: 14.15 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.846e-05/0.004583, allocations: 188.2 kB / 0.9556 GB, free: 13.96 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.828e-05/0.004621, allocations: 188.1 kB / 0.9558 GB, free: 13.77 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001336/0.004755, allocations: 388.3 kB / 0.9562 GB, free: 13.34 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.305e-05/0.004778, allocations: 105.1 kB / 0.9563 GB, free: 13.23 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.121e-05/0.004799, allocations: 104.9 kB / 0.9564 GB, free: 13.12 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.683e-05/0.004836, allocations: 180.2 kB / 0.9565 GB, free: 12.94 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.885e-05/0.004875, allocations: 188.2 kB / 0.9567 GB, free: 12.75 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.736e-05/0.004912, allocations: 184.2 kB / 0.9569 GB, free: 12.56 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.646e-05/0.004949, allocations: 184.1 kB / 0.9571 GB, free: 12.37 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.77e-05/0.005027, allocations: 303.8 kB / 0.9574 GB, free: 12.05 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 3.612e-05/0.005063, allocations: 124.9 kB / 0.9575 GB, free: 11.92 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.075e-05/0.005103, allocations: 176.3 kB / 0.9576 GB, free: 11.74 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.04e-05/0.005154, allocations: 105 kB / 0.9577 GB, free: 11.63 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.075e-05/0.005195, allocations: 184.1 kB / 0.9579 GB, free: 11.45 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.153e-05/0.005216, allocations: 101 kB / 0.958 GB, free: 11.34 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 6.366e-05/0.00528, allocations: 134.5 kB / 0.9581 GB, free: 11.21 MB / 0.9167 GB Notification: Performance of sort global known variables: time 7e-08/0.00528, allocations: 0 / 0.9581 GB, free: 11.21 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001396/0.005419, allocations: 11.94 kB / 0.9582 GB, free: 11.2 MB / 0.9167 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.005647, allocations: 0.8087 MB / 0.9589 GB, free: 10.36 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 5.449e-05/0.005702, allocations: 15.92 kB / 0.959 GB, free: 10.35 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.042e-06/0.005703, allocations: 0 / 0.959 GB, free: 10.35 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 7.82e-07/0.005703, allocations: 0 / 0.959 GB, free: 10.35 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002264/0.00593, allocations: 470.2 kB / 0.9594 GB, free: 9.887 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009038/0.006834, allocations: 1.645 MB / 0.961 GB, free: 8.148 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.463e-05/0.006878, allocations: 71.33 kB / 0.9611 GB, free: 8.059 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 1.41e-05/0.006892, allocations: 7.781 kB / 0.9611 GB, free: 8.051 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.614e-05/0.006928, allocations: 28.67 kB / 0.9611 GB, free: 8.023 MB / 0.9167 GB Notification: Performance of SimCode: time 5.21e-07/0.006929, allocations: 4 kB / 0.9611 GB, free: 8.02 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01436/0.02129, allocations: 2.357 MB / 0.9634 GB, free: 5.793 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.462/6.484, allocations: 14 kB / 0.9634 GB, free: 5.785 MB / 0.9167 GB " [Timeout remaining time 293] (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/jenkins/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: 10.303140432573855]