Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_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_latest_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.00134/0.001346, 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.001447/0.001447, allocations: 194.7 kB / 16.53 MB, free: 6.699 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.528/1.528, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.18/3.18, allocations: 472.7 MB / 0.7452 GB, free: 4.586 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001455/0.001456, allocations: 60.47 kB / 0.9121 GB, free: 33.38 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5124/0.5139, allocations: 159.9 MB / 1.068 GB, free: 10.4 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.003991/0.5179, allocations: 1.826 MB / 1.07 GB, free: 8.562 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0003551/0.5183, allocations: 119.6 kB / 1.07 GB, free: 8.445 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001068/0.5184, allocations: 0 / 1.07 GB, free: 8.445 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.000135/0.5186, allocations: 23.8 kB / 1.07 GB, free: 8.422 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 9.955e-05/0.5187, allocations: 47.55 kB / 1.07 GB, free: 8.375 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001627/0.5189, allocations: 31.95 kB / 1.07 GB, free: 8.344 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002435/0.5191, allocations: 171.2 kB / 1.07 GB, free: 8.176 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001733/0.5193, allocations: 36.83 kB / 1.07 GB, free: 8.141 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 9.49e-05/0.5194, allocations: 55.78 kB / 1.07 GB, free: 8.086 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001254/0.5196, allocations: 75.67 kB / 1.071 GB, free: 8.012 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.353e-05/0.5196, allocations: 12 kB / 1.071 GB, free: 8 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 3.009e-05/0.5196, allocations: 8 kB / 1.071 GB, free: 7.992 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 4.435e-05/0.5197, allocations: 19.92 kB / 1.071 GB, free: 7.973 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 8.781e-05/0.5198, allocations: 67.66 kB / 1.071 GB, free: 7.906 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.000214/0.52, allocations: 123.8 kB / 1.071 GB, free: 7.785 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 8.135e-06/0.52, allocations: 0 / 1.071 GB, free: 7.785 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.484e-06/0.52, allocations: 4 kB / 1.071 GB, free: 7.781 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.254e-06/0.52, allocations: 0 / 1.071 GB, free: 7.781 MB / 0.8262 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.0008865/0.5209, allocations: 450.8 kB / 1.071 GB, free: 7.289 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.609e-05/0.521, allocations: 12.03 kB / 1.071 GB, free: 7.277 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.466e-05/0.521, allocations: 8.844 kB / 1.071 GB, free: 7.27 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002643/0.5213, allocations: 209.6 kB / 1.071 GB, free: 7.027 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.224e-05/0.5213, allocations: 8.375 kB / 1.071 GB, free: 7.02 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.969e-05/0.5214, allocations: 8.375 kB / 1.071 GB, free: 7.012 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000308/0.5217, allocations: 115.9 kB / 1.072 GB, free: 6.887 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.997e-06/0.5217, allocations: 192 / 1.072 GB, free: 6.887 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.922e-05/0.5217, allocations: 7.938 kB / 1.072 GB, free: 6.879 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.253e-06/0.5217, allocations: 0 / 1.072 GB, free: 6.879 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003058/0.522, allocations: 99.86 kB / 1.072 GB, free: 6.781 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008186/0.5229, allocations: 476.6 kB / 1.072 GB, free: 6.262 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004091/0.5233, allocations: 129.2 kB / 1.072 GB, free: 6.117 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001664/0.5235, allocations: 61.78 kB / 1.072 GB, free: 6.051 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.229e-05/0.5235, allocations: 4 kB / 1.072 GB, free: 6.047 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.293e-05/0.5236, allocations: 38.5 kB / 1.072 GB, free: 6 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=9): time 1.242e-06/0.5236, allocations: 0 / 1.072 GB, free: 6 MB / 0.8262 GB Notification: Performance of matching and sorting (n=9): time 0.0006257/0.5242, allocations: 177.6 kB / 1.072 GB, free: 5.82 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.09e-05/0.5243, allocations: 81.05 kB / 1.073 GB, free: 5.723 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000181/0.5244, allocations: 175.4 kB / 1.073 GB, free: 5.543 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.51e-05/0.5245, allocations: 33.7 kB / 1.073 GB, free: 5.504 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 9.655e-05/0.5246, allocations: 108.1 kB / 1.073 GB, free: 5.395 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.165e-05/0.5246, allocations: 27.56 kB / 1.073 GB, free: 5.367 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.786e-05/0.5247, allocations: 25.7 kB / 1.073 GB, free: 5.336 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.000134/0.5248, allocations: 326.8 kB / 1.073 GB, free: 5.008 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001601/0.525, allocations: 47.91 kB / 1.073 GB, free: 4.961 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001608/0.5252, allocations: 61.88 kB / 1.073 GB, free: 4.895 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002793/0.5255, allocations: 109.6 kB / 1.073 GB, free: 4.781 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.053e-06/0.5255, allocations: 0 / 1.073 GB, free: 4.781 MB / 0.8262 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003434/0.5258, allocations: 141.5 kB / 1.074 GB, free: 4.637 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.969e-05/0.5258, allocations: 8 kB / 1.074 GB, free: 4.629 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.178e-06/0.5259, allocations: 3.984 kB / 1.074 GB, free: 4.625 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.175e-05/0.5259, allocations: 0 / 1.074 GB, free: 4.625 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001541/0.526, allocations: 31.92 kB / 1.074 GB, free: 4.594 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.618e-06/0.5261, allocations: 0 / 1.074 GB, free: 4.594 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001149/0.5262, allocations: 15.89 kB / 1.074 GB, free: 4.578 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.214e-05/0.5262, allocations: 3.938 kB / 1.074 GB, free: 4.574 MB / 0.8262 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.0001212/0.5263, allocations: 117.8 kB / 1.074 GB, free: 4.449 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.242e-05/0.5264, allocations: 15.91 kB / 1.074 GB, free: 4.434 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004315/0.5268, allocations: 158.5 kB / 1.074 GB, free: 4.273 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.876e-06/0.5268, allocations: 0 / 1.074 GB, free: 4.273 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.186e-06/0.5269, allocations: 0 / 1.074 GB, free: 4.273 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.332e-06/0.5269, allocations: 4 kB / 1.074 GB, free: 4.27 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003122/0.5272, allocations: 225.4 kB / 1.074 GB, free: 4 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.5272, allocations: 192 / 1.074 GB, free: 4 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001362/0.5273, allocations: 35.91 kB / 1.074 GB, free: 3.965 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.007e-06/0.5273, allocations: 4 kB / 1.074 GB, free: 3.961 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.185e-05/0.5274, allocations: 0 / 1.074 GB, free: 3.961 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.5274, allocations: 0 / 1.074 GB, free: 3.961 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.5274, allocations: 0 / 1.074 GB, free: 3.961 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004161/0.5278, allocations: 314.6 kB / 1.074 GB, free: 3.637 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.599e-05/0.5279, allocations: 92.91 kB / 1.075 GB, free: 3.527 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.813e-05/0.5279, allocations: 0 / 1.075 GB, free: 3.527 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001643/0.5281, allocations: 15.98 kB / 1.075 GB, free: 3.512 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.236e-05/0.5281, allocations: 0 / 1.075 GB, free: 3.512 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.108e-05/0.5282, allocations: 7.938 kB / 1.075 GB, free: 3.504 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 9.581e-05/0.5283, allocations: 131.2 kB / 1.075 GB, free: 3.375 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5283, allocations: 0 / 1.075 GB, free: 3.375 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002786/0.5285, allocations: 28 kB / 1.075 GB, free: 3.348 MB / 0.8262 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.0001469/0.5287, allocations: 103.3 kB / 1.075 GB, free: 3.238 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003843/0.5291, allocations: 104.2 kB / 1.075 GB, free: 3.137 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.5291, allocations: 3.938 kB / 1.075 GB, free: 3.133 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001623/0.5293, allocations: 55.91 kB / 1.075 GB, free: 3.078 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005265/0.5298, allocations: 46 kB / 1.075 GB, free: 3.035 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006405/0.5305, allocations: 231.6 kB / 1.075 GB, free: 2.777 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003408/0.5308, allocations: 0.7045 MB / 1.076 GB, free: 2.047 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 8.736e-05/0.5309, allocations: 16.78 kB / 1.076 GB, free: 2.031 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.681e-05/0.531, allocations: 19.44 kB / 1.076 GB, free: 2.012 MB / 0.8262 GB Notification: Performance of SimCode: time 4.91e-07/0.531, allocations: 3.938 kB / 1.076 GB, free: 2.008 MB / 0.8262 GB Notification: Performance of Templates: time 0.005227/0.5362, allocations: 2.09 MB / 1.078 GB, free: 15.96 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.makefile (rm -f Buildings_latest_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; mkfifo Buildings_latest_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe >> ../files/Buildings_latest_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.sim & ./Buildings_latest_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_SetPoints_Examples_SupplyReturnTemperatureReset.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches