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.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.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.005506/0.005506, 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.001121/0.001121, 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.404/1.404, allocations: 222.9 MB / 240.5 MB, free: 4.582 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.375/2.375, allocations: 390.2 MB / 0.6649 GB, free: 0.5781 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001396/0.001396, allocations: 63.91 kB / 0.8125 GB, free: 14.85 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6401/0.6415, allocations: 140.4 MB / 0.9496 GB, free: 9.191 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset): time 0.002824/0.6444, allocations: 2.233 MB / 0.9518 GB, free: 7.426 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00202/0.6464, allocations: 1.515 MB / 0.9533 GB, free: 6.188 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002616/0.6467, allocations: 8.094 kB / 0.9533 GB, free: 6.188 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.000128/0.6468, allocations: 39.58 kB / 0.9533 GB, free: 6.148 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002218/0.6471, allocations: 63.91 kB / 0.9534 GB, free: 6.094 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005492/0.6477, allocations: 262.8 kB / 0.9536 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.00044/0.6481, allocations: 0.5813 MB / 0.9542 GB, free: 5.551 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004602/0.6486, allocations: 347.2 kB / 0.9545 GB, free: 5.324 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000214/0.6488, allocations: 196 kB / 0.9547 GB, free: 5.207 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001983/0.649, allocations: 238.9 kB / 0.9549 GB, free: 5.023 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 7.039e-05/0.6491, allocations: 35.12 kB / 0.955 GB, free: 5.023 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001349/0.6492, allocations: 52.27 kB / 0.955 GB, free: 5.012 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 7.819e-05/0.6493, allocations: 95.64 kB / 0.9551 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001866/0.6495, allocations: 256.5 kB / 0.9553 GB, free: 4.75 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0004055/0.6499, allocations: 0.6017 MB / 0.9559 GB, free: 4.262 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.59e-06/0.6499, allocations: 0 / 0.9559 GB, free: 4.262 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.223e-06/0.6499, allocations: 1.406 kB / 0.9559 GB, free: 4.262 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.087e-05/0.6499, allocations: 0 / 0.9559 GB, free: 4.262 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.001131/0.6511, allocations: 0.8098 MB / 0.9567 GB, free: 3.559 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.552e-05/0.6511, allocations: 10.66 kB / 0.9567 GB, free: 3.559 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001174/0.6513, allocations: 60.59 kB / 0.9568 GB, free: 3.527 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003805/0.6516, allocations: 355.9 kB / 0.9571 GB, free: 3.195 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.491e-05/0.6517, allocations: 45.34 kB / 0.9572 GB, free: 3.172 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.351e-05/0.6518, allocations: 55.47 kB / 0.9572 GB, free: 3.156 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007836/0.6525, allocations: 0.5105 MB / 0.9577 GB, free: 2.84 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.439e-05/0.6526, allocations: 192 / 0.9577 GB, free: 2.84 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.724e-05/0.6526, allocations: 28.34 kB / 0.9578 GB, free: 2.816 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.578e-05/0.6526, allocations: 18.3 kB / 0.9578 GB, free: 2.812 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006367/0.6533, allocations: 356.6 kB / 0.9581 GB, free: 2.648 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001748/0.655, allocations: 1.459 MB / 0.9595 GB, free: 1.492 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005273/0.6556, allocations: 293.2 kB / 0.9598 GB, free: 1.316 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003757/0.656, allocations: 183.2 kB / 0.96 GB, free: 1.223 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.328e-05/0.656, allocations: 7.984 kB / 0.96 GB, free: 1.219 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003854/0.6564, allocations: 197.9 kB / 0.9602 GB, free: 1.074 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=34): time 1.743e-06/0.6564, allocations: 3.938 kB / 0.9602 GB, free: 1.07 MB / 0.7169 GB Notification: Performance of matching and sorting (n=34): time 0.0008289/0.6572, allocations: 392.7 kB / 0.9606 GB, free: 0.875 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.763e-05/0.6573, allocations: 84.98 kB / 0.9606 GB, free: 0.7773 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004256/0.6577, allocations: 407.9 kB / 0.961 GB, free: 0.5234 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 3.161e-05/0.6578, allocations: 37.33 kB / 0.9611 GB, free: 496 kB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001343/0.6579, allocations: 271.4 kB / 0.9613 GB, free: 248 kB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 6.32e-05/0.658, allocations: 112.4 kB / 0.9614 GB, free: 148 kB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001451/0.6581, allocations: 84.88 kB / 0.9615 GB, free: 88 kB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001448/0.6583, allocations: 348.1 kB / 0.9619 GB, free: 15.75 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003111/0.6586, allocations: 135.8 kB / 0.962 GB, free: 15.68 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003383/0.6589, allocations: 203.4 kB / 0.9622 GB, free: 15.54 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005764/0.6595, allocations: 347.8 kB / 0.9625 GB, free: 15.3 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.699e-06/0.6595, allocations: 1.406 kB / 0.9625 GB, free: 15.3 MB / 0.7325 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0008406/0.6604, allocations: 474.4 kB / 0.963 GB, free: 15.05 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 4.417e-05/0.6604, allocations: 37.42 kB / 0.963 GB, free: 15.01 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.594e-06/0.6605, allocations: 1.406 kB / 0.963 GB, free: 15.01 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.523e-05/0.6605, allocations: 3.938 kB / 0.963 GB, free: 15.01 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003256/0.6608, allocations: 81.3 kB / 0.9631 GB, free: 14.99 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.188e-05/0.6608, allocations: 7.562 kB / 0.9631 GB, free: 14.99 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003836/0.6612, allocations: 81.67 kB / 0.9632 GB, free: 14.94 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.568e-05/0.6613, allocations: 13.22 kB / 0.9632 GB, free: 14.94 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.0001901/0.6615, allocations: 182 kB / 0.9633 GB, free: 14.77 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.585e-05/0.6615, allocations: 41.28 kB / 0.9634 GB, free: 14.75 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006569/0.6622, allocations: 326.6 kB / 0.9637 GB, free: 14.56 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.844e-06/0.6622, allocations: 4.812 kB / 0.9637 GB, free: 14.56 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.096e-06/0.6622, allocations: 7.938 kB / 0.9637 GB, free: 14.55 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.011e-06/0.6622, allocations: 1.188 kB / 0.9637 GB, free: 14.55 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001304/0.6636, allocations: 0.9724 MB / 0.9647 GB, free: 13.76 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.549e-06/0.6636, allocations: 2.281 kB / 0.9647 GB, free: 13.76 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002414/0.6638, allocations: 61.53 kB / 0.9647 GB, free: 13.75 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.968e-06/0.6638, allocations: 6.734 kB / 0.9647 GB, free: 13.74 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.243e-05/0.6639, allocations: 11.66 kB / 0.9647 GB, free: 13.73 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.749e-06/0.6639, allocations: 3.531 kB / 0.9647 GB, free: 13.73 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.768e-06/0.6639, allocations: 10.22 kB / 0.9648 GB, free: 13.73 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006653/0.6646, allocations: 0.5111 MB / 0.9653 GB, free: 13.33 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001002/0.6647, allocations: 125.5 kB / 0.9654 GB, free: 13.2 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.164e-05/0.6647, allocations: 11.09 kB / 0.9654 GB, free: 13.19 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002216/0.665, allocations: 18.86 kB / 0.9654 GB, free: 13.18 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.535e-05/0.665, allocations: 19.47 kB / 0.9654 GB, free: 13.17 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.263e-05/0.6651, allocations: 16.25 kB / 0.9654 GB, free: 13.16 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0003239/0.6654, allocations: 287.8 kB / 0.9657 GB, free: 12.99 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6654, allocations: 0 / 0.9657 GB, free: 12.99 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0005527/0.6659, allocations: 108.3 kB / 0.9658 GB, free: 12.96 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.0001949/0.6662, allocations: 117.5 kB / 0.9659 GB, free: 12.86 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0007735/0.6669, allocations: 382.8 kB / 0.9663 GB, free: 12.65 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.6669, allocations: 0 / 0.9663 GB, free: 12.65 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0003091/0.6673, allocations: 154.8 kB / 0.9664 GB, free: 12.58 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006378/0.6679, allocations: 62.8 kB / 0.9665 GB, free: 12.55 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001789/0.6697, allocations: 0.9487 MB / 0.9674 GB, free: 11.81 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004781/0.6702, allocations: 0.826 MB / 0.9682 GB, free: 11.05 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001136/0.6703, allocations: 37.06 kB / 0.9683 GB, free: 11.04 MB / 0.7325 GB Notification: Performance of SimCode: time 1.042e-06/0.6703, allocations: 5.344 kB / 0.9683 GB, free: 11.04 MB / 0.7325 GB Notification: Performance of Templates: time 0.008714/0.6791, allocations: 4.992 MB / 0.9731 GB, free: 8.426 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/jenkins1/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