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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) 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: translateModel(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,variableFilter="time|heaCur.TSup|heaCur.TRet|heaCur.TOut|heaCur1.TRoo_in|heaCur1.TSup|heaCur1.TRet",fileNamePrefix="Buildings_10_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001655/0.001654, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002105/0.002106, allocations: 194.3 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.475/1.475, allocations: 222.9 MB / 240.2 MB, free: 4.371 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.749/2.749, allocations: 437 MB / 0.7103 GB, free: 5.125 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001513/0.001513, allocations: 68.12 kB / 0.8692 GB, free: 4.707 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.907/0.9086, allocations: 151.6 MB / 1.017 GB, free: 2.645 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.003778/0.9124, allocations: 1.826 MB / 1.019 GB, free: 0.8086 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0004651/0.9129, allocations: 127.6 kB / 1.019 GB, free: 0.6836 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001606/0.9131, allocations: 0 / 1.019 GB, free: 0.6836 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.0001673/0.9133, allocations: 15.8 kB / 1.019 GB, free: 0.668 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0001482/0.9134, allocations: 51.55 kB / 1.019 GB, free: 0.6172 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001831/0.9136, allocations: 35.95 kB / 1.019 GB, free: 0.582 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.000298/0.9139, allocations: 167.1 kB / 1.019 GB, free: 428 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001524/0.9141, allocations: 21.11 kB / 1.019 GB, free: 404 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001226/0.9142, allocations: 59.78 kB / 1.019 GB, free: 344 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000141/0.9144, allocations: 71.75 kB / 1.02 GB, free: 272 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 3.314e-05/0.9144, allocations: 8 kB / 1.02 GB, free: 264 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 3.837e-05/0.9145, allocations: 12 kB / 1.02 GB, free: 252 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 3.766e-05/0.9145, allocations: 23.91 kB / 1.02 GB, free: 228 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.0001019/0.9146, allocations: 67.66 kB / 1.02 GB, free: 160 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0002005/0.9148, allocations: 125.5 kB / 1.02 GB, free: 36 kB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.9148, allocations: 0 / 1.02 GB, free: 36 kB / 0.7637 GB Notification: Performance of FrontEnd: time 2.445e-06/0.9148, allocations: 0 / 1.02 GB, free: 36 kB / 0.7637 GB Notification: Performance of Transformations before backend: time 8.185e-06/0.9149, allocations: 0 / 1.02 GB, free: 36 kB / 0.7637 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.001008/0.9159, allocations: 450.8 kB / 1.02 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 5.933e-05/0.9159, allocations: 11.98 kB / 1.02 GB, free: 15.53 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.865e-05/0.916, allocations: 16.75 kB / 1.02 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003056/0.9163, allocations: 204 kB / 1.02 GB, free: 15.28 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.765e-05/0.9164, allocations: 8.375 kB / 1.02 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.374e-05/0.9164, allocations: 4.375 kB / 1.02 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003142/0.9167, allocations: 119.9 kB / 1.021 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.115e-05/0.9167, allocations: 192 / 1.021 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.745e-05/0.9168, allocations: 3.938 kB / 1.021 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.983e-06/0.9168, allocations: 4 kB / 1.021 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003129/0.9171, allocations: 103.8 kB / 1.021 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008462/0.9179, allocations: 468.7 kB / 1.021 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003983/0.9183, allocations: 133.2 kB / 1.021 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000172/0.9185, allocations: 61.67 kB / 1.021 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.574e-05/0.9186, allocations: 4 kB / 1.021 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.95e-05/0.9186, allocations: 34.5 kB / 1.021 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=9): time 1.262e-06/0.9186, allocations: 0 / 1.021 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of matching and sorting (n=9): time 0.0006275/0.9193, allocations: 181.5 kB / 1.022 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.619e-05/0.9193, allocations: 81.11 kB / 1.022 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001756/0.9195, allocations: 171.9 kB / 1.022 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.962e-05/0.9195, allocations: 25.7 kB / 1.022 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 7.562e-05/0.9196, allocations: 108 kB / 1.022 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.172e-05/0.9196, allocations: 35.56 kB / 1.022 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.424e-05/0.9197, allocations: 29.7 kB / 1.022 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001151/0.9198, allocations: 330.8 kB / 1.022 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001491/0.92, allocations: 35.97 kB / 1.022 GB, free: 13.22 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001563/0.9202, allocations: 57.69 kB / 1.022 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002887/0.9205, allocations: 109.8 kB / 1.022 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.721e-06/0.9205, allocations: 4 kB / 1.022 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003501/0.9208, allocations: 137.7 kB / 1.023 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.7e-05/0.9209, allocations: 7.938 kB / 1.023 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.804e-06/0.9209, allocations: 4 kB / 1.023 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.969e-05/0.9209, allocations: 3.984 kB / 1.023 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001519/0.921, allocations: 23.92 kB / 1.023 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.286e-06/0.9211, allocations: 4 kB / 1.023 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001199/0.9212, allocations: 23.83 kB / 1.023 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.382e-05/0.9212, allocations: 7.938 kB / 1.023 GB, free: 12.82 MB / 0.7794 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.0001058/0.9213, allocations: 116 kB / 1.023 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.865e-05/0.9214, allocations: 15.81 kB / 1.023 GB, free: 12.69 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004268/0.9218, allocations: 162.5 kB / 1.023 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.619e-06/0.9218, allocations: 4 kB / 1.023 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.183e-06/0.9219, allocations: 0 / 1.023 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.9219, allocations: 0 / 1.023 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002997/0.9222, allocations: 217.5 kB / 1.023 GB, free: 12.26 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.9222, allocations: 0 / 1.023 GB, free: 12.26 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001476/0.9223, allocations: 31.91 kB / 1.023 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.968e-06/0.9223, allocations: 0 / 1.023 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.216e-05/0.9224, allocations: 0 / 1.023 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.388e-06/0.9224, allocations: 8 kB / 1.023 GB, free: 12.22 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.9224, allocations: 0 / 1.023 GB, free: 12.22 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000415/0.9228, allocations: 310.5 kB / 1.023 GB, free: 11.9 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.591e-05/0.9229, allocations: 85.02 kB / 1.024 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.451e-05/0.9229, allocations: 8.453 kB / 1.024 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001708/0.9231, allocations: 16 kB / 1.024 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.338e-05/0.9232, allocations: 7.984 kB / 1.024 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.119e-05/0.9232, allocations: 11.88 kB / 1.024 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001018/0.9233, allocations: 128.2 kB / 1.024 GB, free: 11.63 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9233, allocations: 0 / 1.024 GB, free: 11.63 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003002/0.9236, allocations: 27.94 kB / 1.024 GB, free: 11.6 MB / 0.7794 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.0001294/0.9237, allocations: 107.2 kB / 1.024 GB, free: 11.49 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.00038/0.9241, allocations: 107.9 kB / 1.024 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.9241, allocations: 0 / 1.024 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001755/0.9243, allocations: 55.91 kB / 1.024 GB, free: 11.33 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005181/0.9248, allocations: 39.97 kB / 1.024 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005699/0.9254, allocations: 225.1 kB / 1.024 GB, free: 11.04 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003064/0.9257, allocations: 0.7044 MB / 1.025 GB, free: 10.31 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001001/0.9258, allocations: 20.77 kB / 1.025 GB, free: 10.29 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.919e-05/0.9259, allocations: 15.38 kB / 1.025 GB, free: 10.28 MB / 0.7794 GB Notification: Performance of SimCode: time 3.21e-07/0.9259, allocations: 0 / 1.025 GB, free: 10.28 MB / 0.7794 GB Notification: Performance of Templates: time 0.00564/0.9315, allocations: 2.095 MB / 1.027 GB, free: 8.234 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe 2>&1) 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) Reference file matches