Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001401/0.001401, allocations: 109 kB / 17.54 MB, free: 4.746 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001408/0.001408, allocations: 185.9 kB / 20.71 MB, free: 1.586 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.297/1.297, allocations: 225.6 MB / 249.3 MB, free: 3.168 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.384/2.384, allocations: 443.5 MB / 0.7304 GB, free: 13.96 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,fileNamePrefix="Buildings_10_Buildings_Controls_SetPoints_Examples_SupplyReturnTemperatureReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,fileNamePrefix="Buildings_10_Buildings_Controls_SetPoints_Examples_SupplyReturnTemperatureReset",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001863/0.001863, allocations: 71.88 kB / 1.059 GB, free: 1.023 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2561/0.258, allocations: 160.7 MB / 1.216 GB, free: 0 / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.003025/0.261, allocations: 1.845 MB / 1.217 GB, free: 14.13 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0003099/0.2613, allocations: 119.6 kB / 1.217 GB, free: 14.02 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.682e-05/0.2614, allocations: 4 kB / 1.217 GB, free: 14.01 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 9.524e-05/0.2615, allocations: 11.86 kB / 1.217 GB, free: 14 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 9.965e-05/0.2616, allocations: 51.48 kB / 1.217 GB, free: 13.95 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001405/0.2618, allocations: 39.95 kB / 1.218 GB, free: 13.91 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0002298/0.262, allocations: 175.1 kB / 1.218 GB, free: 13.74 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 9.837e-05/0.2621, allocations: 21.27 kB / 1.218 GB, free: 13.71 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 9.626e-05/0.2622, allocations: 55.84 kB / 1.218 GB, free: 13.66 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001156/0.2623, allocations: 71.64 kB / 1.218 GB, free: 13.59 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.913e-05/0.2623, allocations: 8 kB / 1.218 GB, free: 13.58 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 2.39e-05/0.2624, allocations: 12 kB / 1.218 GB, free: 13.57 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 3.154e-05/0.2624, allocations: 27.89 kB / 1.218 GB, free: 13.54 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 7.504e-05/0.2625, allocations: 63.67 kB / 1.218 GB, free: 13.48 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001788/0.2626, allocations: 123.5 kB / 1.218 GB, free: 13.36 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.2626, allocations: 0 / 1.218 GB, free: 13.36 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.513e-06/0.2626, allocations: 4 kB / 1.218 GB, free: 13.36 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.522e-06/0.2627, allocations: 0 / 1.218 GB, free: 13.36 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0007982/0.2635, allocations: 458.7 kB / 1.218 GB, free: 12.86 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.83e-05/0.2635, allocations: 12.03 kB / 1.219 GB, free: 12.84 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.583e-05/0.2635, allocations: 38.75 kB / 1.219 GB, free: 12.8 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.78e-05/0.2636, allocations: 12.89 kB / 1.219 GB, free: 12.79 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002832/0.2639, allocations: 214.9 kB / 1.219 GB, free: 12.54 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.2e-05/0.2639, allocations: 4.375 kB / 1.219 GB, free: 12.54 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.71e-05/0.2639, allocations: 8.375 kB / 1.219 GB, free: 12.53 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002909/0.2642, allocations: 117.5 kB / 1.219 GB, free: 12.4 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.052e-05/0.2642, allocations: 3.938 kB / 1.219 GB, free: 12.4 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.383e-05/0.2642, allocations: 8 kB / 1.219 GB, free: 12.39 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.051e-06/0.2642, allocations: 3.984 kB / 1.219 GB, free: 12.39 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002952/0.2645, allocations: 95.88 kB / 1.219 GB, free: 12.29 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007323/0.2652, allocations: 468.8 kB / 1.219 GB, free: 11.78 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003694/0.2656, allocations: 121.2 kB / 1.22 GB, free: 11.64 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001687/0.2658, allocations: 61.7 kB / 1.22 GB, free: 11.58 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.328e-05/0.2658, allocations: 8 kB / 1.22 GB, free: 11.57 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.426e-05/0.2658, allocations: 30.56 kB / 1.22 GB, free: 11.53 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=9): time 1.233e-06/0.2658, allocations: 0 / 1.22 GB, free: 11.53 MB / 0.9669 GB Notification: Performance of matching and sorting (n=9): time 0.0005806/0.2664, allocations: 185.4 kB / 1.22 GB, free: 11.34 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.386e-05/0.2665, allocations: 81.11 kB / 1.22 GB, free: 11.25 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001763/0.2666, allocations: 171.9 kB / 1.22 GB, free: 11.07 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.134e-05/0.2667, allocations: 33.7 kB / 1.22 GB, free: 11.03 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 7.274e-05/0.2667, allocations: 108 kB / 1.22 GB, free: 10.92 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.1e-05/0.2668, allocations: 35.8 kB / 1.22 GB, free: 10.89 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.881e-05/0.2668, allocations: 21.72 kB / 1.22 GB, free: 10.86 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001351/0.267, allocations: 326.8 kB / 1.221 GB, free: 10.53 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001483/0.2671, allocations: 47.97 kB / 1.221 GB, free: 10.48 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001436/0.2673, allocations: 57.62 kB / 1.221 GB, free: 10.42 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002969/0.2676, allocations: 113.8 kB / 1.221 GB, free: 10.3 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.694e-06/0.2676, allocations: 0 / 1.221 GB, free: 10.3 MB / 0.9669 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003672/0.2679, allocations: 149.5 kB / 1.221 GB, free: 10.15 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.374e-05/0.2679, allocations: 4 kB / 1.221 GB, free: 10.15 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.2679, allocations: 0 / 1.221 GB, free: 10.15 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.492e-05/0.268, allocations: 4 kB / 1.221 GB, free: 10.14 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001503/0.2681, allocations: 19.98 kB / 1.221 GB, free: 10.12 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.336e-06/0.2681, allocations: 3.984 kB / 1.221 GB, free: 10.12 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001136/0.2682, allocations: 19.83 kB / 1.221 GB, free: 10.1 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.447e-06/0.2682, allocations: 0 / 1.221 GB, free: 10.1 MB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (10): * Single equations (assignments): 10 * 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.0001016/0.2683, allocations: 129.8 kB / 1.221 GB, free: 9.965 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.336e-05/0.2684, allocations: 7.953 kB / 1.221 GB, free: 9.957 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004251/0.2688, allocations: 154.5 kB / 1.221 GB, free: 9.801 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.2688, allocations: 0 / 1.221 GB, free: 9.801 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/0.2688, allocations: 4 kB / 1.221 GB, free: 9.797 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.522e-06/0.2688, allocations: 7.938 kB / 1.221 GB, free: 9.789 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003016/0.2691, allocations: 225.5 kB / 1.221 GB, free: 9.52 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/0.2691, allocations: 7.938 kB / 1.221 GB, free: 9.512 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001369/0.2693, allocations: 19.98 kB / 1.222 GB, free: 9.492 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.315e-06/0.2693, allocations: 0 / 1.222 GB, free: 9.492 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.748e-06/0.2693, allocations: 0 / 1.222 GB, free: 9.492 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.2693, allocations: 192 / 1.222 GB, free: 9.492 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/0.2693, allocations: 4 kB / 1.222 GB, free: 9.488 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004365/0.2697, allocations: 318.6 kB / 1.222 GB, free: 9.16 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.897e-05/0.2698, allocations: 89.05 kB / 1.222 GB, free: 9.055 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.471e-05/0.2698, allocations: 4 kB / 1.222 GB, free: 9.051 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001658/0.27, allocations: 11.98 kB / 1.222 GB, free: 9.039 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.01e-05/0.27, allocations: 7.938 kB / 1.222 GB, free: 9.031 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.422e-06/0.27, allocations: 0 / 1.222 GB, free: 9.031 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0001112/0.2701, allocations: 135.2 kB / 1.222 GB, free: 8.898 MB / 0.9669 GB Notification: Performance of sort global known variables: time 9e-08/0.2701, allocations: 0 / 1.222 GB, free: 8.898 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002814/0.2704, allocations: 28.28 kB / 1.222 GB, free: 8.871 MB / 0.9669 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (9): * Single equations (assignments): 9 * 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.0007303/0.2711, allocations: 0.8444 MB / 1.223 GB, free: 7.996 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0003438/0.2715, allocations: 99.88 kB / 1.223 GB, free: 7.898 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.2715, allocations: 4 kB / 1.223 GB, free: 7.895 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001504/0.2716, allocations: 47.91 kB / 1.223 GB, free: 7.848 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004142/0.2721, allocations: 46.31 kB / 1.223 GB, free: 7.805 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002302/0.2744, allocations: 1.836 MB / 1.225 GB, free: 5.879 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003356/0.2747, allocations: 0.7084 MB / 1.226 GB, free: 5.145 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 7.437e-05/0.2748, allocations: 8.656 kB / 1.226 GB, free: 5.137 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.369e-05/0.2749, allocations: 35.42 kB / 1.226 GB, free: 5.102 MB / 0.9669 GB Notification: Performance of SimCode: time 6.01e-07/0.2749, allocations: 96 / 1.226 GB, free: 5.102 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0271/0.302, allocations: 3.632 MB / 1.229 GB, free: 1.598 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.04/7.342, allocations: 8.047 kB / 1.229 GB, free: 1.59 MB / 0.9669 GB " [Timeout remaining time 293] (rm -f Buildings_10_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; mkfifo Buildings_10_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe >> ../files/Buildings_10_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_10_Buildings_Controls_SetPoints_Examples_SupplyReturnTemperatureReset.fmu > Buildings_10_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_SetPoints_Examples_SupplyReturnTemperatureReset.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable heaCur.TOut in file Buildings_10_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset_res.csv. Warning: Get data of variable heaCur.TOut from file Buildings_10_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset_res.csv failed! Error: Could not read variable heaCur1.TRoo_in in file Buildings_10_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset_res.csv. Warning: Get data of variable heaCur1.TRoo_in from file Buildings_10_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset_res.csv failed! Error: Could not read variable heaCur1.TSup in file Buildings_10_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset_res.csv. Warning: Get data of variable heaCur1.TSup from file Buildings_10_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 12.545738590000838]