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.001409/0.001409, allocations: 108.8 kB / 18.93 MB, free: 2.945 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.001667/0.001667, allocations: 189.8 kB / 22.23 MB, free: 5.16 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.538/1.538, allocations: 225.6 MB / 251 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.691/2.691, allocations: 443.4 MB / 0.7321 GB, free: 12.29 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-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: translateModel(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|heaCur.TSup|heaCur.TRet|heaCur.TOut|heaCur1.TRoo_in|heaCur1.TSup|heaCur1.TRet",fileNamePrefix="Buildings_10_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset") translateModel(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|heaCur.TSup|heaCur.TRet|heaCur.TOut|heaCur1.TRoo_in|heaCur1.TSup|heaCur1.TRet",fileNamePrefix="Buildings_10_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002556/0.002556, allocations: 68.03 kB / 1.061 GB, free: 3.035 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.325/1.328, allocations: 160.8 MB / 1.218 GB, free: 3.793 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.004353/1.332, allocations: 1.852 MB / 1.22 GB, free: 2.336 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0003714/1.333, allocations: 114.8 kB / 1.22 GB, free: 2.238 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.274e-05/1.333, allocations: 1 kB / 1.22 GB, free: 2.238 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0001285/1.333, allocations: 16.92 kB / 1.22 GB, free: 2.223 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0001114/1.333, allocations: 53.64 kB / 1.22 GB, free: 2.176 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001879/1.333, allocations: 35.3 kB / 1.22 GB, free: 2.145 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0002864/1.333, allocations: 168.6 kB / 1.221 GB, free: 2.047 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001419/1.334, allocations: 23.03 kB / 1.221 GB, free: 2.035 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 9.759e-05/1.334, allocations: 47.7 kB / 1.221 GB, free: 2.016 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001413/1.334, allocations: 80.02 kB / 1.221 GB, free: 1.961 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 3.711e-05/1.334, allocations: 9.188 kB / 1.221 GB, free: 1.961 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 3.611e-05/1.334, allocations: 10.47 kB / 1.221 GB, free: 1.961 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 4.446e-05/1.334, allocations: 26.48 kB / 1.221 GB, free: 1.938 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0001044/1.334, allocations: 67.72 kB / 1.221 GB, free: 1.895 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002386/1.334, allocations: 126.5 kB / 1.221 GB, free: 1.812 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 6.833e-06/1.334, allocations: 0 / 1.221 GB, free: 1.812 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.104e-06/1.334, allocations: 0 / 1.221 GB, free: 1.812 MB / 0.92 GB Notification: Performance of Transformations before backend: time 8.316e-06/1.334, allocations: 0.875 kB / 1.221 GB, free: 1.812 MB / 0.92 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.0009768/1.335, allocations: 457 kB / 1.221 GB, free: 1.371 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 5.101e-05/1.335, allocations: 9.469 kB / 1.221 GB, free: 1.371 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.596e-05/1.335, allocations: 23.41 kB / 1.221 GB, free: 1.355 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003945/1.336, allocations: 215.1 kB / 1.222 GB, free: 1.121 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.388e-05/1.336, allocations: 7.656 kB / 1.222 GB, free: 1.117 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.186e-05/1.336, allocations: 4.625 kB / 1.222 GB, free: 1.117 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000362/1.336, allocations: 127.6 kB / 1.222 GB, free: 1.02 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.317e-05/1.336, allocations: 192 / 1.222 GB, free: 1.02 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.983e-05/1.336, allocations: 4.812 kB / 1.222 GB, free: 1.016 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.967e-06/1.336, allocations: 2.094 kB / 1.222 GB, free: 1.016 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003093/1.337, allocations: 87.44 kB / 1.222 GB, free: 0.9805 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009173/1.337, allocations: 480.3 kB / 1.222 GB, free: 0.5156 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004118/1.338, allocations: 120.9 kB / 1.222 GB, free: 440 kB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001798/1.338, allocations: 59.53 kB / 1.223 GB, free: 400 kB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 3.334e-05/1.338, allocations: 5.281 kB / 1.223 GB, free: 396 kB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.476e-05/1.338, allocations: 31.97 kB / 1.223 GB, free: 356 kB / 0.92 GB Notification: Performance of pre-optimization done (n=9): time 1.132e-06/1.338, allocations: 1.312 kB / 1.223 GB, free: 356 kB / 0.92 GB Notification: Performance of matching and sorting (n=9): time 0.0006278/1.339, allocations: 184.6 kB / 1.223 GB, free: 248 kB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.931e-05/1.339, allocations: 82.2 kB / 1.223 GB, free: 148 kB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002084/1.339, allocations: 166.8 kB / 1.223 GB, free: 12 kB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 4.869e-05/1.339, allocations: 30.98 kB / 1.223 GB, free: 15.98 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001074/1.339, allocations: 108.6 kB / 1.223 GB, free: 15.87 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.647e-05/1.339, allocations: 30.98 kB / 1.223 GB, free: 15.84 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.564e-05/1.339, allocations: 24.09 kB / 1.223 GB, free: 15.82 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.000185/1.339, allocations: 330.4 kB / 1.223 GB, free: 15.49 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001437/1.34, allocations: 42.88 kB / 1.224 GB, free: 15.47 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001643/1.34, allocations: 63.73 kB / 1.224 GB, free: 15.43 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000306/1.34, allocations: 98.73 kB / 1.224 GB, free: 15.38 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/1.34, allocations: 0 / 1.224 GB, free: 15.38 MB / 0.9356 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003747/1.34, allocations: 157.9 kB / 1.224 GB, free: 15.28 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.168e-05/1.341, allocations: 5.844 kB / 1.224 GB, free: 15.28 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.042e-06/1.341, allocations: 0 / 1.224 GB, free: 15.28 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.43e-05/1.341, allocations: 1.375 kB / 1.224 GB, free: 15.28 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001647/1.341, allocations: 29.16 kB / 1.224 GB, free: 15.27 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.095e-06/1.341, allocations: 1.062 kB / 1.224 GB, free: 15.27 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001318/1.341, allocations: 22 kB / 1.224 GB, free: 15.25 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.584e-05/1.341, allocations: 11.38 kB / 1.224 GB, free: 15.24 MB / 0.9356 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.0001317/1.341, allocations: 117.8 kB / 1.224 GB, free: 15.12 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.286e-05/1.341, allocations: 10.42 kB / 1.224 GB, free: 15.12 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004514/1.341, allocations: 157.5 kB / 1.224 GB, free: 15.02 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.059e-06/1.342, allocations: 2.25 kB / 1.224 GB, free: 15.02 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.618e-06/1.342, allocations: 4 kB / 1.224 GB, free: 15.01 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.023e-06/1.342, allocations: 5.047 kB / 1.224 GB, free: 15.01 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003505/1.342, allocations: 223.4 kB / 1.224 GB, free: 14.77 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.963e-06/1.342, allocations: 1 kB / 1.224 GB, free: 14.77 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001348/1.342, allocations: 20.02 kB / 1.224 GB, free: 14.76 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.587e-06/1.342, allocations: 1.188 kB / 1.224 GB, free: 14.76 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.521e-05/1.342, allocations: 5.281 kB / 1.224 GB, free: 14.76 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.515e-06/1.342, allocations: 1.344 kB / 1.224 GB, free: 14.76 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.038e-06/1.342, allocations: 3.938 kB / 1.224 GB, free: 14.75 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004766/1.343, allocations: 317.5 kB / 1.225 GB, free: 14.49 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 7.535e-05/1.343, allocations: 84.38 kB / 1.225 GB, free: 14.39 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.681e-05/1.343, allocations: 2.062 kB / 1.225 GB, free: 14.39 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001667/1.343, allocations: 13.08 kB / 1.225 GB, free: 14.38 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.946e-05/1.343, allocations: 11.05 kB / 1.225 GB, free: 14.38 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.072e-05/1.343, allocations: 10.12 kB / 1.225 GB, free: 14.37 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001222/1.343, allocations: 130.7 kB / 1.225 GB, free: 14.27 MB / 0.9356 GB Notification: Performance of sort global known variables: time 7e-08/1.343, allocations: 0 / 1.225 GB, free: 14.27 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003071/1.343, allocations: 29.03 kB / 1.225 GB, free: 14.26 MB / 0.9356 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.000135/1.343, allocations: 106.7 kB / 1.225 GB, free: 14.16 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0004069/1.344, allocations: 104.5 kB / 1.225 GB, free: 14.11 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/1.344, allocations: 1.188 kB / 1.225 GB, free: 14.11 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001638/1.344, allocations: 57.19 kB / 1.225 GB, free: 14.09 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004689/1.344, allocations: 42.2 kB / 1.225 GB, free: 14.06 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006299/1.345, allocations: 229.7 kB / 1.225 GB, free: 13.87 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004335/1.346, allocations: 0.7025 MB / 1.226 GB, free: 13.16 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 8.472e-05/1.346, allocations: 19.33 kB / 1.226 GB, free: 13.15 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.402e-05/1.346, allocations: 13.5 kB / 1.226 GB, free: 13.14 MB / 0.9356 GB Notification: Performance of SimCode: time 2.9e-07/1.346, allocations: 0 / 1.226 GB, free: 13.14 MB / 0.9356 GB Notification: Performance of Templates: time 0.007842/1.354, allocations: 2.158 MB / 1.228 GB, free: 12.09 MB / 0.9356 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.makefile [Timeout 300] (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 & ./Buildings_10_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_SetPoints_Examples_SupplyReturnTemperatureReset.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.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: 9.956205458380282]