Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_9_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_9_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.009683/0.009683, allocations: 100.8 kB / 15.87 MB, free: 5.867 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001927/0.001927, allocations: 195.8 kB / 16.79 MB, free: 5.809 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.399/1.399, allocations: 222.9 MB / 240.5 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.598/2.598, allocations: 390.3 MB / 0.6649 GB, free: 0.5977 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001412/0.001412, allocations: 59.91 kB / 0.8125 GB, free: 14.9 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9196/0.921, allocations: 140.4 MB / 0.9496 GB, free: 9.039 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.003163/0.9243, allocations: 1.888 MB / 0.9514 GB, free: 7.547 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0002691/0.9246, allocations: 114.8 kB / 0.9515 GB, free: 7.449 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001006/0.9247, allocations: 1.375 kB / 0.9515 GB, free: 7.449 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001202/0.9248, allocations: 11.86 kB / 0.9515 GB, free: 7.438 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.982e-05/0.9249, allocations: 46.5 kB / 0.9516 GB, free: 7.398 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001223/0.925, allocations: 26.72 kB / 0.9516 GB, free: 7.375 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001991/0.9252, allocations: 169.2 kB / 0.9518 GB, free: 7.277 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001271/0.9254, allocations: 27.88 kB / 0.9518 GB, free: 7.258 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.438e-05/0.9255, allocations: 57.91 kB / 0.9519 GB, free: 7.227 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001036/0.9256, allocations: 64.5 kB / 0.9519 GB, free: 7.188 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.178e-05/0.9256, allocations: 9.438 kB / 0.9519 GB, free: 7.184 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 3.161e-05/0.9256, allocations: 5.5 kB / 0.9519 GB, free: 7.184 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.983e-05/0.9257, allocations: 14.67 kB / 0.9519 GB, free: 7.172 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 7.421e-05/0.9258, allocations: 59.05 kB / 0.952 GB, free: 7.137 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001169/0.9259, allocations: 87.89 kB / 0.9521 GB, free: 7.078 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.9259, allocations: 1.375 kB / 0.9521 GB, free: 7.078 MB / 0.7169 GB Notification: Performance of FrontEnd: time 9.82e-07/0.9259, allocations: 0 / 0.9521 GB, free: 7.078 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.49e-06/0.9259, allocations: 0 / 0.9521 GB, free: 7.078 MB / 0.7169 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.0007628/0.9267, allocations: 453.7 kB / 0.9525 GB, free: 6.641 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.471e-05/0.9267, allocations: 7.812 kB / 0.9525 GB, free: 6.641 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.621e-05/0.9268, allocations: 16.59 kB / 0.9525 GB, free: 6.633 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002147/0.927, allocations: 208 kB / 0.9527 GB, free: 6.402 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.465e-05/0.927, allocations: 7.094 kB / 0.9527 GB, free: 6.398 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.01e-05/0.9271, allocations: 4.812 kB / 0.9527 GB, free: 6.398 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003033/0.9274, allocations: 124.2 kB / 0.9529 GB, free: 6.305 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.858e-06/0.9274, allocations: 192 / 0.9529 GB, free: 6.305 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.804e-05/0.9274, allocations: 5.312 kB / 0.9529 GB, free: 6.301 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.9274, allocations: 1.281 kB / 0.9529 GB, free: 6.301 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003174/0.9277, allocations: 99.7 kB / 0.953 GB, free: 6.254 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008004/0.9285, allocations: 480.7 kB / 0.9534 GB, free: 5.789 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004272/0.929, allocations: 128.3 kB / 0.9535 GB, free: 5.699 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001765/0.9292, allocations: 61.97 kB / 0.9536 GB, free: 5.66 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.243e-05/0.9292, allocations: 1.938 kB / 0.9536 GB, free: 5.66 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.685e-05/0.9293, allocations: 40.11 kB / 0.9536 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=9): time 1.142e-06/0.9293, allocations: 0 / 0.9536 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of matching and sorting (n=9): time 0.0006231/0.9299, allocations: 184.5 kB / 0.9538 GB, free: 5.508 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.018e-05/0.9299, allocations: 78.42 kB / 0.9539 GB, free: 5.414 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001695/0.9301, allocations: 167.8 kB / 0.9541 GB, free: 5.281 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.503e-05/0.9301, allocations: 29.69 kB / 0.9541 GB, free: 5.246 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 6.307e-05/0.9302, allocations: 105.1 kB / 0.9542 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.239e-05/0.9302, allocations: 34.95 kB / 0.9542 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.866e-05/0.9303, allocations: 20.34 kB / 0.9542 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001081/0.9304, allocations: 337.6 kB / 0.9546 GB, free: 4.758 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001446/0.9306, allocations: 38.75 kB / 0.9546 GB, free: 4.742 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001518/0.9307, allocations: 55.31 kB / 0.9547 GB, free: 4.707 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003028/0.931, allocations: 111.7 kB / 0.9548 GB, free: 4.641 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.033e-06/0.9311, allocations: 0 / 0.9548 GB, free: 4.641 MB / 0.7169 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003705/0.9314, allocations: 146.2 kB / 0.9549 GB, free: 4.555 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.465e-05/0.9315, allocations: 8.359 kB / 0.9549 GB, free: 4.551 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.074e-06/0.9315, allocations: 1.094 kB / 0.9549 GB, free: 4.551 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.226e-05/0.9315, allocations: 1.219 kB / 0.9549 GB, free: 4.551 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001727/0.9317, allocations: 25.73 kB / 0.9549 GB, free: 4.543 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.065e-05/0.9317, allocations: 0.9688 kB / 0.9549 GB, free: 4.543 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000133/0.9318, allocations: 22.27 kB / 0.955 GB, free: 4.527 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.599e-05/0.9319, allocations: 6.594 kB / 0.955 GB, free: 4.523 MB / 0.7169 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.0001009/0.932, allocations: 116.1 kB / 0.9551 GB, free: 4.406 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.513e-05/0.932, allocations: 10.5 kB / 0.9551 GB, free: 4.402 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000445/0.9325, allocations: 169.2 kB / 0.9552 GB, free: 4.293 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.979e-06/0.9325, allocations: 1.344 kB / 0.9552 GB, free: 4.293 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.683e-06/0.9325, allocations: 1.312 kB / 0.9552 GB, free: 4.293 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.9325, allocations: 0 / 0.9552 GB, free: 4.293 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002901/0.9328, allocations: 221.4 kB / 0.9555 GB, free: 4.055 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.9328, allocations: 3.938 kB / 0.9555 GB, free: 4.051 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001502/0.933, allocations: 19.42 kB / 0.9555 GB, free: 4.047 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.009e-06/0.933, allocations: 6 kB / 0.9555 GB, free: 4.043 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.796e-05/0.933, allocations: 8.875 kB / 0.9555 GB, free: 4.035 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.855e-06/0.933, allocations: 1.219 kB / 0.9555 GB, free: 4.035 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.933, allocations: 4 kB / 0.9555 GB, free: 4.031 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004114/0.9335, allocations: 313.5 kB / 0.9558 GB, free: 3.77 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 5.1e-05/0.9335, allocations: 92.64 kB / 0.9559 GB, free: 3.664 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.096e-05/0.9336, allocations: 1.188 kB / 0.9559 GB, free: 3.664 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001733/0.9337, allocations: 9.641 kB / 0.9559 GB, free: 3.66 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.111e-05/0.9338, allocations: 11.67 kB / 0.9559 GB, free: 3.652 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.149e-05/0.9338, allocations: 6.125 kB / 0.9559 GB, free: 3.648 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001079/0.9339, allocations: 123.9 kB / 0.956 GB, free: 3.555 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.21e-07/0.9339, allocations: 0 / 0.956 GB, free: 3.555 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003053/0.9342, allocations: 32.19 kB / 0.9561 GB, free: 3.547 MB / 0.7169 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.0001326/0.9344, allocations: 104.9 kB / 0.9562 GB, free: 3.453 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003966/0.9348, allocations: 102.5 kB / 0.9563 GB, free: 3.41 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.9348, allocations: 0 / 0.9563 GB, free: 3.41 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001631/0.935, allocations: 55.25 kB / 0.9563 GB, free: 3.387 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005847/0.9356, allocations: 46.58 kB / 0.9564 GB, free: 3.359 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006052/0.9362, allocations: 286.7 kB / 0.9566 GB, free: 3.105 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002058/0.9364, allocations: 0.7023 MB / 0.9573 GB, free: 2.398 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.89e-05/0.9365, allocations: 21.62 kB / 0.9573 GB, free: 2.383 MB / 0.7169 GB Notification: Performance of SimCode: time 5.72e-07/0.9365, allocations: 1.469 kB / 0.9573 GB, free: 2.383 MB / 0.7169 GB Notification: Performance of Templates: time 0.004093/0.9406, allocations: 1.747 MB / 0.959 GB, free: 1.496 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.makefile (rm -f Buildings_9_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; mkfifo Buildings_9_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe >> ../files/Buildings_9_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.sim & ./Buildings_9_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_SetPoints_Examples_SupplyReturnTemperatureReset.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches