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.001916/0.001916, allocations: 107.8 kB / 19.71 MB, free: 2.145 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.001467/0.001467, allocations: 215.1 kB / 23 MB, free: 4.965 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.529/1.529, allocations: 230.6 MB / 256.8 MB, free: 7.82 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.491/3.491, allocations: 0.49 GB / 0.7959 GB, free: 35.52 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: 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_12_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_12_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset") [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.002069/0.002069, allocations: 69.25 kB / 1.155 GB, free: 25.29 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4145/0.4166, allocations: 176.1 MB / 1.327 GB, free: 1.008 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.004115/0.4207, allocations: 1.795 MB / 1.329 GB, free: 15.21 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.0005324/0.4212, allocations: 119.5 kB / 1.329 GB, free: 15.09 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001432/0.4214, allocations: 4 kB / 1.329 GB, free: 15.09 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001548/0.4215, allocations: 19.8 kB / 1.329 GB, free: 15.07 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001234/0.4216, allocations: 47.55 kB / 1.329 GB, free: 15.02 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001689/0.4218, allocations: 31.95 kB / 1.329 GB, free: 14.99 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002883/0.4221, allocations: 175.1 kB / 1.329 GB, free: 14.82 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001422/0.4222, allocations: 17.23 kB / 1.329 GB, free: 14.8 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 9.562e-05/0.4223, allocations: 55.84 kB / 1.329 GB, free: 14.74 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001406/0.4225, allocations: 79.69 kB / 1.329 GB, free: 14.66 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.182e-05/0.4225, allocations: 8 kB / 1.329 GB, free: 14.66 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 3.316e-05/0.4225, allocations: 8 kB / 1.329 GB, free: 14.65 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 5.149e-05/0.4226, allocations: 23.92 kB / 1.329 GB, free: 14.62 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 9.35e-05/0.4227, allocations: 55.72 kB / 1.329 GB, free: 14.57 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002268/0.4229, allocations: 119.5 kB / 1.33 GB, free: 14.45 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 6.642e-06/0.4229, allocations: 3.938 kB / 1.33 GB, free: 14.45 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.525e-06/0.4229, allocations: 0 / 1.33 GB, free: 14.45 MB / 1.029 GB Notification: Performance of Transformations before backend: time 9.057e-06/0.4229, allocations: 0 / 1.33 GB, free: 14.45 MB / 1.029 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.0009892/0.4239, allocations: 381.7 kB / 1.33 GB, free: 14.04 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.774e-05/0.424, allocations: 11.97 kB / 1.33 GB, free: 14.03 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.843e-05/0.424, allocations: 20.83 kB / 1.33 GB, free: 14.01 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003491/0.4244, allocations: 150.3 kB / 1.33 GB, free: 13.84 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.331e-05/0.4244, allocations: 384 / 1.33 GB, free: 13.84 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.34e-05/0.4244, allocations: 8.375 kB / 1.33 GB, free: 13.83 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003329/0.4247, allocations: 123.8 kB / 1.33 GB, free: 13.7 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.041e-05/0.4248, allocations: 4.188 kB / 1.33 GB, free: 13.7 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.99e-05/0.4248, allocations: 7.938 kB / 1.33 GB, free: 13.69 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.323e-06/0.4248, allocations: 4 kB / 1.33 GB, free: 13.68 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003094/0.4251, allocations: 91.92 kB / 1.33 GB, free: 13.59 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007611/0.4259, allocations: 396.4 kB / 1.331 GB, free: 13.17 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004002/0.4263, allocations: 125.2 kB / 1.331 GB, free: 13.03 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001803/0.4264, allocations: 53.78 kB / 1.331 GB, free: 12.97 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.628e-05/0.4265, allocations: 4 kB / 1.331 GB, free: 12.97 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.364e-05/0.4265, allocations: 38.55 kB / 1.331 GB, free: 12.92 MB / 1.029 GB Notification: Performance of pre-optimization done (n=9): time 1.233e-06/0.4265, allocations: 0 / 1.331 GB, free: 12.92 MB / 1.029 GB Notification: Performance of matching and sorting (n=9): time 0.0006088/0.4271, allocations: 177.5 kB / 1.331 GB, free: 12.74 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.432e-05/0.4272, allocations: 81.11 kB / 1.331 GB, free: 12.64 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001863/0.4273, allocations: 160.9 kB / 1.331 GB, free: 12.47 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.692e-05/0.4274, allocations: 33.64 kB / 1.331 GB, free: 12.43 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001021/0.4275, allocations: 116 kB / 1.331 GB, free: 12.31 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.464e-05/0.4275, allocations: 31.73 kB / 1.331 GB, free: 12.28 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.903e-05/0.4276, allocations: 21.72 kB / 1.331 GB, free: 12.25 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000185/0.4278, allocations: 322.8 kB / 1.332 GB, free: 11.93 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001546/0.4279, allocations: 47.97 kB / 1.332 GB, free: 11.88 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001649/0.4281, allocations: 61.62 kB / 1.332 GB, free: 11.82 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002942/0.4284, allocations: 109.9 kB / 1.332 GB, free: 11.7 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.4284, allocations: 0 / 1.332 GB, free: 11.7 MB / 1.029 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003761/0.4287, allocations: 145.5 kB / 1.332 GB, free: 11.55 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.08e-05/0.4288, allocations: 8 kB / 1.332 GB, free: 11.55 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.035e-06/0.4288, allocations: 4 kB / 1.332 GB, free: 11.54 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.914e-05/0.4288, allocations: 0 / 1.332 GB, free: 11.54 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001641/0.429, allocations: 23.92 kB / 1.332 GB, free: 11.52 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.242e-05/0.429, allocations: 0 / 1.332 GB, free: 11.52 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001216/0.4291, allocations: 11.98 kB / 1.332 GB, free: 11.51 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.558e-05/0.4291, allocations: 8 kB / 1.332 GB, free: 11.5 MB / 1.029 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.0001406/0.4292, allocations: 126.2 kB / 1.332 GB, free: 11.37 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.764e-05/0.4293, allocations: 11.91 kB / 1.332 GB, free: 11.36 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004631/0.4298, allocations: 158.6 kB / 1.332 GB, free: 11.19 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.979e-06/0.4298, allocations: 0 / 1.332 GB, free: 11.19 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.4298, allocations: 0 / 1.332 GB, free: 11.19 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 3.461e-05/0.4298, allocations: 15.88 kB / 1.332 GB, free: 11.18 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.912e-05/0.4298, allocations: 8.234 kB / 1.333 GB, free: 11.17 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001675/0.43, allocations: 7.938 kB / 1.333 GB, free: 11.16 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.004e-05/0.4301, allocations: 7.984 kB / 1.333 GB, free: 11.15 MB / 1.029 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000498/0.4306, allocations: 304.1 kB / 1.333 GB, free: 10.85 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004917/0.4311, allocations: 389.9 kB / 1.333 GB, free: 10.45 MB / 1.029 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001685/0.4312, allocations: 48.2 kB / 1.333 GB, free: 10.4 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001022/0.4313, allocations: 123.9 kB / 1.333 GB, free: 10.28 MB / 1.029 GB Notification: Performance of Backend: time 6.91e-07/0.4313, allocations: 4.281 kB / 1.333 GB, free: 10.28 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0006007/0.4319, allocations: 130.4 kB / 1.333 GB, free: 10.14 MB / 1.029 GB Notification: Performance of SimCode: time 0.0008349/0.4328, allocations: 0.6796 MB / 1.334 GB, free: 9.414 MB / 1.029 GB Notification: Performance of Templates: time 0.006238/0.439, allocations: 2.591 MB / 1.337 GB, free: 6.879 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.makefile [Timeout 300] (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 & ./Buildings_12_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_SetPoints_Examples_SupplyReturnTemperatureReset.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.6303329020011]