Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.Utilities.SetPoints.Validation.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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaCur.TSup|heaCur.TRet|heaCur.TOut|heaCur1.TSetZon|heaCur1.TSup|heaCur1.TRet",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset") translateModel(Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaCur.TSup|heaCur.TRet|heaCur.TOut|heaCur1.TSetZon|heaCur1.TSup|heaCur1.TRet",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001836/0.001836, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001821/0.001822, allocations: 193.6 kB / 16.25 MB, free: 6.633 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.538/1.538, allocations: 222.9 MB / 239.9 MB, free: 4.547 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.47/2.47, allocations: 390.2 MB / 0.6644 GB, free: 0.6094 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001745/0.001745, allocations: 67.88 kB / 0.812 GB, free: 14.8 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7146/0.7164, allocations: 140.4 MB / 0.9491 GB, free: 9.195 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset): time 0.003334/0.7198, allocations: 2.237 MB / 0.9513 GB, free: 7.43 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001925/0.7217, allocations: 1.497 MB / 0.9528 GB, free: 6.199 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000216/0.722, allocations: 9.031 kB / 0.9528 GB, free: 6.199 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001274/0.7221, allocations: 35.58 kB / 0.9528 GB, free: 6.164 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002341/0.7223, allocations: 67.53 kB / 0.9529 GB, free: 6.105 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006334/0.723, allocations: 260.4 kB / 0.9531 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0005096/0.7235, allocations: 0.6395 MB / 0.9537 GB, free: 5.52 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000459/0.724, allocations: 367.8 kB / 0.9541 GB, free: 5.285 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000245/0.7242, allocations: 232.2 kB / 0.9543 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002147/0.7245, allocations: 250.7 kB / 0.9545 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001013/0.7246, allocations: 70.94 kB / 0.9546 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001644/0.7247, allocations: 88.02 kB / 0.9547 GB, free: 4.926 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 8.277e-05/0.7248, allocations: 131.9 kB / 0.9548 GB, free: 4.812 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0002125/0.7251, allocations: 288.8 kB / 0.9551 GB, free: 4.598 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0005446/0.7256, allocations: 0.7565 MB / 0.9558 GB, free: 3.984 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.742e-06/0.7256, allocations: 5.422 kB / 0.9558 GB, free: 3.98 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.664e-06/0.7256, allocations: 0 / 0.9558 GB, free: 3.98 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.023e-05/0.7256, allocations: 0 / 0.9558 GB, free: 3.98 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: 139 * Number of variables: 139 Notification: Performance of Generate backend data structure: time 0.001075/0.7267, allocations: 0.8071 MB / 0.9566 GB, free: 3.281 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.343e-05/0.7268, allocations: 13.64 kB / 0.9566 GB, free: 3.277 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001075/0.7269, allocations: 70.22 kB / 0.9567 GB, free: 3.238 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003381/0.7272, allocations: 351.1 kB / 0.957 GB, free: 2.91 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.257e-05/0.7273, allocations: 49.25 kB / 0.9571 GB, free: 2.883 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.678e-05/0.7274, allocations: 55.69 kB / 0.9571 GB, free: 2.867 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000788/0.7282, allocations: 0.5063 MB / 0.9576 GB, free: 2.555 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.75e-05/0.7282, allocations: 192 / 0.9576 GB, free: 2.555 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.904e-05/0.7282, allocations: 33.38 kB / 0.9577 GB, free: 2.527 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.316e-05/0.7282, allocations: 12.38 kB / 0.9577 GB, free: 2.527 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006657/0.7289, allocations: 353.1 kB / 0.958 GB, free: 2.367 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001846/0.7308, allocations: 1.464 MB / 0.9595 GB, free: 1.207 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005449/0.7313, allocations: 290 kB / 0.9597 GB, free: 1.035 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003737/0.7317, allocations: 179.9 kB / 0.9599 GB, free: 0.9453 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.482e-05/0.7318, allocations: 3.812 kB / 0.9599 GB, free: 0.9453 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004359/0.7322, allocations: 198.7 kB / 0.9601 GB, free: 0.8008 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=34): time 2.044e-06/0.7322, allocations: 0 / 0.9601 GB, free: 0.8008 MB / 0.7169 GB Notification: Performance of matching and sorting (n=34): time 0.0009483/0.7332, allocations: 395.3 kB / 0.9605 GB, free: 0.6016 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.659e-05/0.7332, allocations: 81.42 kB / 0.9605 GB, free: 0.5078 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004634/0.7337, allocations: 407.3 kB / 0.9609 GB, free: 260 kB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 5.409e-05/0.7338, allocations: 37.8 kB / 0.961 GB, free: 220 kB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001875/0.734, allocations: 276 kB / 0.9612 GB, free: 15.96 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 9.646e-05/0.7341, allocations: 107.6 kB / 0.9613 GB, free: 15.87 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001893/0.7343, allocations: 84.12 kB / 0.9614 GB, free: 15.81 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001959/0.7345, allocations: 352 kB / 0.9618 GB, free: 15.47 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003359/0.7348, allocations: 132.4 kB / 0.9619 GB, free: 15.41 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003798/0.7352, allocations: 211.7 kB / 0.9621 GB, free: 15.25 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005999/0.7358, allocations: 340.6 kB / 0.9624 GB, free: 15.03 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/0.7358, allocations: 3.938 kB / 0.9624 GB, free: 15.03 MB / 0.7325 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0008961/0.7367, allocations: 467.5 kB / 0.9629 GB, free: 14.78 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 4.934e-05/0.7368, allocations: 42 kB / 0.9629 GB, free: 14.74 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.067e-05/0.7368, allocations: 1.094 kB / 0.9629 GB, free: 14.74 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.942e-05/0.7368, allocations: 3.812 kB / 0.9629 GB, free: 14.74 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003313/0.7372, allocations: 88.55 kB / 0.963 GB, free: 14.71 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.195e-05/0.7372, allocations: 13.42 kB / 0.963 GB, free: 14.7 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003969/0.7376, allocations: 75.81 kB / 0.9631 GB, free: 14.66 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.128e-05/0.7376, allocations: 17.86 kB / 0.9631 GB, free: 14.65 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,TRoo1.booPul.y,$PRE.TRoo1.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (48): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 1 * 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.0002392/0.7379, allocations: 174 kB / 0.9633 GB, free: 14.5 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.803e-05/0.738, allocations: 41.38 kB / 0.9633 GB, free: 14.47 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000667/0.7386, allocations: 330.6 kB / 0.9636 GB, free: 14.28 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.155e-06/0.7386, allocations: 3.531 kB / 0.9636 GB, free: 14.28 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.793e-06/0.7387, allocations: 9.281 kB / 0.9636 GB, free: 14.27 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.464e-06/0.7387, allocations: 5.297 kB / 0.9636 GB, free: 14.27 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001313/0.74, allocations: 0.9763 MB / 0.9646 GB, free: 13.47 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.659e-06/0.74, allocations: 2.188 kB / 0.9646 GB, free: 13.47 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002437/0.7403, allocations: 60.56 kB / 0.9646 GB, free: 13.46 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.554e-06/0.7403, allocations: 4.094 kB / 0.9646 GB, free: 13.46 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.282e-05/0.7403, allocations: 7.281 kB / 0.9647 GB, free: 13.45 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.963e-06/0.7403, allocations: 7.062 kB / 0.9647 GB, free: 13.45 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.917e-06/0.7403, allocations: 7.375 kB / 0.9647 GB, free: 13.45 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006579/0.741, allocations: 0.5063 MB / 0.9652 GB, free: 13.05 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000102/0.7411, allocations: 125.7 kB / 0.9653 GB, free: 12.92 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.982e-05/0.7412, allocations: 11.28 kB / 0.9653 GB, free: 12.91 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000227/0.7414, allocations: 18.55 kB / 0.9653 GB, free: 12.9 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.192e-05/0.7415, allocations: 19.25 kB / 0.9653 GB, free: 12.89 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.469e-05/0.7415, allocations: 16.75 kB / 0.9653 GB, free: 12.89 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0003396/0.7418, allocations: 287.6 kB / 0.9656 GB, free: 12.71 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.7e-07/0.7418, allocations: 0 / 0.9656 GB, free: 12.71 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0005224/0.7424, allocations: 108.5 kB / 0.9657 GB, free: 12.68 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$whenCondition2,TRoo1.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (34): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0002125/0.7426, allocations: 118.1 kB / 0.9658 GB, free: 12.58 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0008585/0.7435, allocations: 404.6 kB / 0.9662 GB, free: 12.36 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.897e-06/0.7435, allocations: 1.062 kB / 0.9662 GB, free: 12.36 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002961/0.7438, allocations: 138.7 kB / 0.9664 GB, free: 12.3 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006408/0.7444, allocations: 69.17 kB / 0.9664 GB, free: 12.26 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001538/0.746, allocations: 0.9198 MB / 0.9673 GB, free: 11.55 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005451/0.7465, allocations: 0.8373 MB / 0.9681 GB, free: 10.78 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001919/0.7467, allocations: 43.58 kB / 0.9682 GB, free: 10.77 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.023e-05/0.7468, allocations: 34.44 kB / 0.9682 GB, free: 10.75 MB / 0.7325 GB Notification: Performance of SimCode: time 2.91e-07/0.7468, allocations: 0 / 0.9682 GB, free: 10.75 MB / 0.7325 GB Notification: Performance of Templates: time 0.01084/0.7577, allocations: 3.894 MB / 0.972 GB, free: 8.871 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.makefile (rm -f Buildings_9_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.sim & ./Buildings_9_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_Utilities_SetPoints_Validation_SupplyReturnTemperatureReset.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches