Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001213/0.001213, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001159/0.001159, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9212/0.9212, allocations: 177.1 MB / 202.8 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.667/1.667, allocations: 359 MB / 0.6037 GB, free: 11.09 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_Utilities_SetPoints_Validation_SupplyReturnTemperatureReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_Utilities_SetPoints_Validation_SupplyReturnTemperatureReset",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.134e-06/2.134e-06, allocations: 0 / 0.9505 GB, free: 3.512 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.635e-05/1.848e-05, allocations: 2.281 kB / 0.9505 GB, free: 3.508 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset): time 0.002091/0.002109, allocations: 1.931 MB / 0.9524 GB, free: 1.566 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.001565/0.003674, allocations: 1.571 MB / 0.9539 GB, free: 15.98 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001439/0.003818, allocations: 7.969 kB / 0.9539 GB, free: 15.97 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 8.705e-05/0.003905, allocations: 59.25 kB / 0.954 GB, free: 15.91 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.000174/0.004079, allocations: 103 kB / 0.9541 GB, free: 15.81 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005117/0.004591, allocations: 310.3 kB / 0.9543 GB, free: 15.51 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.0003988/0.004989, allocations: 0.6447 MB / 0.955 GB, free: 14.87 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002809/0.00527, allocations: 258.3 kB / 0.9552 GB, free: 14.6 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000247/0.005517, allocations: 359.3 kB / 0.9556 GB, free: 14.25 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001633/0.005681, allocations: 187.3 kB / 0.9557 GB, free: 14.07 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 5.564e-05/0.005736, allocations: 68 kB / 0.9558 GB, free: 14 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001022/0.005839, allocations: 95.92 kB / 0.9559 GB, free: 13.91 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 6.517e-05/0.005904, allocations: 131.5 kB / 0.956 GB, free: 13.78 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.0001207/0.006025, allocations: 199.5 kB / 0.9562 GB, free: 13.59 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.000506/0.00653, allocations: 0.837 MB / 0.957 GB, free: 12.75 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.006534, allocations: 0 / 0.957 GB, free: 12.75 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.343e-06/0.006536, allocations: 0 / 0.957 GB, free: 12.75 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 9.698e-06/0.006545, allocations: 4 kB / 0.957 GB, free: 12.74 MB / 0.9167 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.0007949/0.00734, allocations: 0.7486 MB / 0.9578 GB, free: 11.95 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.628e-05/0.007377, allocations: 8.031 kB / 0.9578 GB, free: 11.94 MB / 0.9167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.535e-05/0.007442, allocations: 98.7 kB / 0.9579 GB, free: 11.84 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001581/0.0076, allocations: 68.55 kB / 0.9579 GB, free: 11.77 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003035/0.007904, allocations: 297.7 kB / 0.9582 GB, free: 11.46 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.978e-05/0.007933, allocations: 41.69 kB / 0.9583 GB, free: 11.42 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.626e-05/0.00798, allocations: 64.38 kB / 0.9583 GB, free: 11.36 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00053/0.00851, allocations: 0.5071 MB / 0.9588 GB, free: 10.83 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.315e-05/0.008523, allocations: 4.125 kB / 0.9588 GB, free: 10.83 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.62e-05/0.008549, allocations: 20.38 kB / 0.9588 GB, free: 10.81 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.145e-05/0.00856, allocations: 20.06 kB / 0.9589 GB, free: 10.79 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004224/0.008983, allocations: 361.1 kB / 0.9592 GB, free: 10.44 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001379/0.01036, allocations: 1.264 MB / 0.9604 GB, free: 9.125 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003948/0.01076, allocations: 257.4 kB / 0.9607 GB, free: 8.855 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002446/0.011, allocations: 161.6 kB / 0.9608 GB, free: 8.691 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 2.737e-05/0.01103, allocations: 7.938 kB / 0.9608 GB, free: 8.684 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003114/0.01134, allocations: 202.9 kB / 0.961 GB, free: 8.465 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=34): time 1.403e-06/0.01134, allocations: 0 / 0.961 GB, free: 8.465 MB / 0.9167 GB Notification: Performance of matching and sorting (n=34): time 0.0005392/0.01188, allocations: 392.1 kB / 0.9614 GB, free: 8.078 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.201e-05/0.01192, allocations: 85.09 kB / 0.9615 GB, free: 7.977 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000289/0.01221, allocations: 417.5 kB / 0.9619 GB, free: 7.562 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 2.546e-05/0.01224, allocations: 37.7 kB / 0.9619 GB, free: 7.52 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001259/0.01236, allocations: 268.4 kB / 0.9622 GB, free: 7.25 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 5.588e-05/0.01242, allocations: 115 kB / 0.9623 GB, free: 7.137 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.649e-05/0.01252, allocations: 82.14 kB / 0.9624 GB, free: 7.051 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 9.688e-05/0.01261, allocations: 358.8 kB / 0.9627 GB, free: 6.691 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001989/0.01281, allocations: 158.6 kB / 0.9629 GB, free: 6.531 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002137/0.01303, allocations: 237.5 kB / 0.9631 GB, free: 6.27 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003656/0.01339, allocations: 353.2 kB / 0.9634 GB, free: 5.898 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.427e-06/0.01339, allocations: 0 / 0.9634 GB, free: 5.898 MB / 0.9167 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0005743/0.01397, allocations: 0.499 MB / 0.9639 GB, free: 5.383 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 4.736e-05/0.01402, allocations: 39.73 kB / 0.964 GB, free: 5.34 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.264e-06/0.01402, allocations: 3.938 kB / 0.964 GB, free: 5.336 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.958e-05/0.01404, allocations: 7.984 kB / 0.964 GB, free: 5.328 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001785/0.01422, allocations: 75.91 kB / 0.964 GB, free: 5.254 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.067e-06/0.01423, allocations: 4 kB / 0.964 GB, free: 5.25 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001981/0.01443, allocations: 79.52 kB / 0.9641 GB, free: 5.172 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.672e-05/0.01446, allocations: 19.94 kB / 0.9641 GB, free: 5.152 MB / 0.9167 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.0001507/0.01461, allocations: 177.7 kB / 0.9643 GB, free: 4.969 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.371e-05/0.01464, allocations: 51.64 kB / 0.9644 GB, free: 4.918 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004032/0.01504, allocations: 324.9 kB / 0.9647 GB, free: 4.59 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.137e-06/0.01505, allocations: 4 kB / 0.9647 GB, free: 4.586 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.01505, allocations: 0 / 0.9647 GB, free: 4.586 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.017e-06/0.01506, allocations: 0 / 0.9647 GB, free: 4.586 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00075/0.01581, allocations: 0.8919 MB / 0.9655 GB, free: 3.625 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.446e-06/0.01581, allocations: 7.922 kB / 0.9655 GB, free: 3.617 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000122/0.01593, allocations: 63.84 kB / 0.9656 GB, free: 3.555 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.779e-06/0.01594, allocations: 4 kB / 0.9656 GB, free: 3.551 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.457e-05/0.01595, allocations: 8 kB / 0.9656 GB, free: 3.543 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.109e-06/0.01596, allocations: 3.938 kB / 0.9656 GB, free: 3.539 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.01596, allocations: 4.188 kB / 0.9656 GB, free: 3.535 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003915/0.01635, allocations: 0.5061 MB / 0.9661 GB, free: 2.988 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 5.182e-05/0.0164, allocations: 55.62 kB / 0.9662 GB, free: 2.934 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.956e-05/0.01643, allocations: 8 kB / 0.9662 GB, free: 2.926 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001112/0.01654, allocations: 11.98 kB / 0.9662 GB, free: 2.914 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.006e-05/0.01659, allocations: 27.95 kB / 0.9662 GB, free: 2.887 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.573e-05/0.01661, allocations: 12 kB / 0.9662 GB, free: 2.875 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0002045/0.01681, allocations: 287.2 kB / 0.9665 GB, free: 2.598 MB / 0.9167 GB Notification: Performance of sort global known variables: time 7e-08/0.01681, allocations: 4 kB / 0.9665 GB, free: 2.594 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0003173/0.01713, allocations: 107.7 kB / 0.9666 GB, free: 2.488 MB / 0.9167 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.0007279/0.01786, allocations: 1.068 MB / 0.9677 GB, free: 1.375 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0004501/0.01831, allocations: 395.2 kB / 0.968 GB, free: 0.9727 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.01831, allocations: 0 / 0.968 GB, free: 0.9727 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0001527/0.01846, allocations: 134.6 kB / 0.9682 GB, free: 0.8438 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003943/0.01886, allocations: 77.95 kB / 0.9682 GB, free: 0.7695 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003356/0.02221, allocations: 3.914 MB / 0.9721 GB, free: 12.66 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001483/0.02236, allocations: 220.8 kB / 0.9723 GB, free: 12.42 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.000114/0.02248, allocations: 43.27 kB / 0.9723 GB, free: 12.38 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001437/0.02262, allocations: 160.4 kB / 0.9725 GB, free: 12.22 MB / 0.9323 GB Notification: Performance of SimCode: time 8.12e-07/0.02262, allocations: 0 / 0.9725 GB, free: 12.22 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02067/0.04329, allocations: 8.132 MB / 0.9804 GB, free: 4.332 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.858/6.901, allocations: 11.94 kB / 0.9804 GB, free: 4.32 MB / 0.9323 GB " [Timeout remaining time 293] (rm -f Buildings_11_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_11_Buildings_Controls_OBC_Utilities_SetPoints_Validation_SupplyReturnTemperatureReset.fmu > Buildings_11_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_Utilities_SetPoints_Validation_SupplyReturnTemperatureReset.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable heaCur.TOut in file Buildings_11_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset_res.csv. Warning: Get data of variable heaCur.TOut from file Buildings_11_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset_res.csv failed! Error: Could not read variable heaCur1.TSetZon in file Buildings_11_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset_res.csv. Warning: Get data of variable heaCur1.TSetZon from file Buildings_11_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset_res.csv failed! Error: Could not read variable heaCur1.TSup in file Buildings_11_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset_res.csv. Warning: Get data of variable heaCur1.TSup from file Buildings_11_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.950140385888517]