Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.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.0008097/0.0008097, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.0008694/0.0008694, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.9465/0.9465, allocations: 177.1 MB / 202.8 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.778/1.778, allocations: 377.8 MB / 0.6221 GB, free: 8.676 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,fileNamePrefix="Buildings_12_Buildings_Controls_SetPoints_Examples_SupplyReturnTemperatureReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,fileNamePrefix="Buildings_12_Buildings_Controls_SetPoints_Examples_SupplyReturnTemperatureReset",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.404e-06/2.404e-06, allocations: 0 / 0.9809 GB, free: 2.637 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.813e-05/3.054e-05, allocations: 8.75 kB / 0.9809 GB, free: 2.629 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.003364/0.003395, allocations: 1.778 MB / 0.9827 GB, free: 0.8398 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0003446/0.003739, allocations: 131.5 kB / 0.9828 GB, free: 0.7109 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.189e-05/0.003831, allocations: 0 / 0.9828 GB, free: 0.7109 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 0.0001181/0.003949, allocations: 15.8 kB / 0.9828 GB, free: 0.6953 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 0.0001008/0.00405, allocations: 55.5 kB / 0.9828 GB, free: 0.6406 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001455/0.004195, allocations: 35.94 kB / 0.9829 GB, free: 0.6055 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.0002199/0.004415, allocations: 179 kB / 0.9831 GB, free: 440 kB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000129/0.004544, allocations: 17.25 kB / 0.9831 GB, free: 424 kB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000134/0.004678, allocations: 83.8 kB / 0.9832 GB, free: 340 kB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001093/0.004788, allocations: 55.86 kB / 0.9832 GB, free: 284 kB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 4.064e-05/0.004828, allocations: 12 kB / 0.9832 GB, free: 272 kB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 2.506e-05/0.004853, allocations: 8 kB / 0.9832 GB, free: 264 kB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 3.31e-05/0.004886, allocations: 23.92 kB / 0.9832 GB, free: 240 kB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 6.45e-05/0.004951, allocations: 51.84 kB / 0.9833 GB, free: 188 kB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.0001956/0.005146, allocations: 127.6 kB / 0.9834 GB, free: 60 kB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.00515, allocations: 0 / 0.9834 GB, free: 60 kB / 0.9323 GB Notification: Performance of FrontEnd: time 1.032e-06/0.005151, allocations: 0 / 0.9834 GB, free: 60 kB / 0.9323 GB Notification: Performance of Transformations before backend: time 5.36e-06/0.005156, allocations: 0 / 0.9834 GB, free: 60 kB / 0.9323 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.0007206/0.005877, allocations: 377.8 kB / 0.9838 GB, free: 15.65 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.537e-05/0.005922, allocations: 12.03 kB / 0.9838 GB, free: 15.64 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.602e-05/0.005968, allocations: 42.73 kB / 0.9838 GB, free: 15.59 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.125e-05/0.006009, allocations: 12.84 kB / 0.9838 GB, free: 15.58 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002567/0.006266, allocations: 149.6 kB / 0.984 GB, free: 15.41 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.255e-05/0.006278, allocations: 4.375 kB / 0.984 GB, free: 15.4 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.869e-05/0.006297, allocations: 20.25 kB / 0.984 GB, free: 15.38 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002758/0.006573, allocations: 111.9 kB / 0.9841 GB, free: 15.26 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.758e-06/0.006583, allocations: 192 / 0.9841 GB, free: 15.26 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.531e-05/0.006598, allocations: 4.375 kB / 0.9841 GB, free: 15.26 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.068e-05/0.006609, allocations: 20.05 kB / 0.9841 GB, free: 15.24 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000259/0.006868, allocations: 91.88 kB / 0.9842 GB, free: 15.15 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000713/0.007581, allocations: 419.9 kB / 0.9846 GB, free: 14.69 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000368/0.007949, allocations: 125.2 kB / 0.9847 GB, free: 14.55 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001461/0.008095, allocations: 57.78 kB / 0.9848 GB, free: 14.49 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.406e-05/0.008119, allocations: 4 kB / 0.9848 GB, free: 14.48 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.245e-05/0.008141, allocations: 30.56 kB / 0.9848 GB, free: 14.45 MB / 0.948 GB Notification: Performance of pre-optimization done (n=9): time 1.633e-06/0.008143, allocations: 0 / 0.9848 GB, free: 14.45 MB / 0.948 GB Notification: Performance of matching and sorting (n=9): time 0.0005452/0.008688, allocations: 181.5 kB / 0.985 GB, free: 14.26 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.924e-05/0.008737, allocations: 89.05 kB / 0.9851 GB, free: 14.16 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001521/0.008889, allocations: 167.2 kB / 0.9853 GB, free: 13.98 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.774e-05/0.008907, allocations: 29.7 kB / 0.9853 GB, free: 13.95 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 6.878e-05/0.008976, allocations: 108 kB / 0.9854 GB, free: 13.84 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 2.914e-05/0.009005, allocations: 35.69 kB / 0.9854 GB, free: 13.8 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.194e-05/0.009057, allocations: 25.72 kB / 0.9854 GB, free: 13.77 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001035/0.00916, allocations: 326.8 kB / 0.9858 GB, free: 13.45 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001278/0.009288, allocations: 39.97 kB / 0.9858 GB, free: 13.41 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001344/0.009423, allocations: 61.69 kB / 0.9858 GB, free: 13.34 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002892/0.009712, allocations: 105.6 kB / 0.9859 GB, free: 13.23 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.457e-06/0.009715, allocations: 0 / 0.9859 GB, free: 13.23 MB / 0.948 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002339/0.009949, allocations: 137.9 kB / 0.9861 GB, free: 13.09 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.893e-05/0.009968, allocations: 8 kB / 0.9861 GB, free: 13.08 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.394e-06/0.009975, allocations: 0 / 0.9861 GB, free: 13.08 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.629e-05/0.009992, allocations: 4.062 kB / 0.9861 GB, free: 13.08 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001009/0.01009, allocations: 31.92 kB / 0.9861 GB, free: 13.05 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.633e-06/0.0101, allocations: 0 / 0.9861 GB, free: 13.05 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.42e-05/0.01016, allocations: 11.94 kB / 0.9861 GB, free: 13.04 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.384e-06/0.01017, allocations: 4 kB / 0.9861 GB, free: 13.03 MB / 0.948 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 7.915e-05/0.01025, allocations: 125.8 kB / 0.9863 GB, free: 12.9 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.049e-05/0.01028, allocations: 15.91 kB / 0.9863 GB, free: 12.88 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002795/0.01056, allocations: 158.9 kB / 0.9864 GB, free: 12.72 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.926e-06/0.01056, allocations: 240 / 0.9864 GB, free: 12.72 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.01057, allocations: 3.984 kB / 0.9864 GB, free: 12.72 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.109e-06/0.01057, allocations: 7.938 kB / 0.9864 GB, free: 12.71 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001959/0.01077, allocations: 176.7 kB / 0.9866 GB, free: 12.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.01077, allocations: 0 / 0.9866 GB, free: 12.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.244e-05/0.01084, allocations: 27.91 kB / 0.9866 GB, free: 12.47 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.01085, allocations: 4 kB / 0.9866 GB, free: 12.46 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.757e-06/0.01085, allocations: 0 / 0.9866 GB, free: 12.46 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.01086, allocations: 4 kB / 0.9866 GB, free: 12.46 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.01086, allocations: 0 / 0.9866 GB, free: 12.46 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002479/0.01111, allocations: 314.6 kB / 0.9869 GB, free: 12.14 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 2.342e-05/0.01113, allocations: 7.953 kB / 0.9869 GB, free: 12.13 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.912e-05/0.01115, allocations: 7.984 kB / 0.987 GB, free: 12.12 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001572/0.0113, allocations: 8 kB / 0.987 GB, free: 12.11 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.478e-05/0.01135, allocations: 11.92 kB / 0.987 GB, free: 12.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.199e-06/0.01135, allocations: 4 kB / 0.987 GB, free: 12.1 MB / 0.948 GB Notification: Performance of sorting global known variables: time 6.996e-05/0.01142, allocations: 140.2 kB / 0.9871 GB, free: 11.96 MB / 0.948 GB Notification: Performance of sort global known variables: time 6e-08/0.01142, allocations: 0 / 0.9871 GB, free: 11.96 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001876/0.01161, allocations: 27.95 kB / 0.9871 GB, free: 11.93 MB / 0.948 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.0004402/0.01205, allocations: 0.8405 MB / 0.988 GB, free: 11.07 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0002118/0.01226, allocations: 103.9 kB / 0.9881 GB, free: 10.96 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.01227, allocations: 0 / 0.9881 GB, free: 10.96 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 7.652e-05/0.01234, allocations: 48.28 kB / 0.9881 GB, free: 10.92 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003074/0.01265, allocations: 52.14 kB / 0.9882 GB, free: 10.87 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001484/0.01413, allocations: 1.839 MB / 0.9899 GB, free: 8.934 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.591e-05/0.0142, allocations: 85.81 kB / 0.99 GB, free: 8.832 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 6.339e-05/0.01426, allocations: 12.66 kB / 0.99 GB, free: 8.82 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.343e-05/0.01433, allocations: 36.48 kB / 0.9901 GB, free: 8.785 MB / 0.948 GB Notification: Performance of SimCode: time 1.011e-06/0.01433, allocations: 0 / 0.9901 GB, free: 8.785 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01875/0.03308, allocations: 4.601 MB / 0.9946 GB, free: 4.398 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.743/6.776, allocations: 0 / 0.9946 GB, free: 4.398 MB / 0.948 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; mkfifo Buildings_12_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe >> ../files/Buildings_12_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.sim & python3 -m fmpy simulate --output-file Buildings_12_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_12_Buildings_Controls_SetPoints_Examples_SupplyReturnTemperatureReset.fmu > Buildings_12_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_SetPoints_Examples_SupplyReturnTemperatureReset.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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_12_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset_res.csv. Warning: Get data of variable heaCur.TOut from file Buildings_12_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset_res.csv failed! Error: Could not read variable heaCur1.TRoo_in in file Buildings_12_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset_res.csv. Warning: Get data of variable heaCur1.TRoo_in from file Buildings_12_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset_res.csv failed! Error: Could not read variable heaCur1.TSup in file Buildings_12_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset_res.csv. Warning: Get data of variable heaCur1.TSup from file Buildings_12_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.185000604018569]