Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001736/0.001736, allocations: 111.5 kB / 16.41 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00205/0.00205, allocations: 191.7 kB / 19.36 MB, free: 3.727 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.584/1.584, allocations: 222.9 MB / 245.1 MB, free: 4.336 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.729/2.729, allocations: 437.1 MB / 0.7171 GB, free: 4.504 MB / 0.5606 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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: "" <> buildModelFMU(Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_Utilities_SetPoints_Validation_SupplyReturnTemperatureReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_Utilities_SetPoints_Validation_SupplyReturnTemperatureReset",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001995/0.001995, allocations: 63.89 kB / 1.027 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3628/0.3648, allocations: 151.6 MB / 1.175 GB, free: 6.41 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset): time 0.005231/0.3701, allocations: 2.23 MB / 1.177 GB, free: 4.164 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.002517/0.3727, allocations: 1.521 MB / 1.178 GB, free: 2.625 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003491/0.3731, allocations: 8 kB / 1.178 GB, free: 2.617 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0001732/0.3733, allocations: 63.2 kB / 1.178 GB, free: 2.555 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0003521/0.3736, allocations: 91.08 kB / 1.178 GB, free: 2.465 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008285/0.3745, allocations: 291.5 kB / 1.179 GB, free: 2.18 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.000913/0.3754, allocations: 0.6488 MB / 1.179 GB, free: 1.531 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006453/0.3761, allocations: 361.8 kB / 1.18 GB, free: 1.164 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003801/0.3764, allocations: 235.1 kB / 1.18 GB, free: 0.9336 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004463/0.3769, allocations: 261.7 kB / 1.18 GB, free: 0.6797 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0001657/0.3771, allocations: 72 kB / 1.18 GB, free: 0.6094 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000214/0.3773, allocations: 83.98 kB / 1.18 GB, free: 0.5273 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0001396/0.3774, allocations: 127.6 kB / 1.18 GB, free: 412 kB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0003907/0.3778, allocations: 298.5 kB / 1.181 GB, free: 112 kB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.001048/0.3789, allocations: 0.79 MB / 1.182 GB, free: 15.32 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.3789, allocations: 0 / 1.182 GB, free: 15.32 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.803e-06/0.3789, allocations: 0 / 1.182 GB, free: 15.32 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 2.835e-05/0.379, allocations: 0 / 1.182 GB, free: 15.32 MB / 0.9356 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.001712/0.3807, allocations: 0.8317 MB / 1.182 GB, free: 14.42 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.836e-05/0.3807, allocations: 12.03 kB / 1.182 GB, free: 14.41 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001483/0.3809, allocations: 94.7 kB / 1.182 GB, free: 14.31 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001302/0.381, allocations: 64.56 kB / 1.183 GB, free: 14.25 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005076/0.3815, allocations: 363.8 kB / 1.183 GB, free: 13.85 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.652e-05/0.3816, allocations: 45.62 kB / 1.183 GB, free: 13.81 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.871e-05/0.3817, allocations: 60.38 kB / 1.183 GB, free: 13.75 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009211/0.3826, allocations: 0.5031 MB / 1.183 GB, free: 13.23 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.874e-05/0.3826, allocations: 3.938 kB / 1.183 GB, free: 13.23 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.997e-05/0.3827, allocations: 24 kB / 1.183 GB, free: 13.2 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.186e-05/0.3827, allocations: 12 kB / 1.183 GB, free: 13.19 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000708/0.3834, allocations: 360.6 kB / 1.184 GB, free: 12.84 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002224/0.3857, allocations: 1.458 MB / 1.185 GB, free: 11.32 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006181/0.3863, allocations: 283 kB / 1.186 GB, free: 11.03 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000424/0.3867, allocations: 177.6 kB / 1.186 GB, free: 10.85 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 3.866e-05/0.3868, allocations: 11.98 kB / 1.186 GB, free: 10.84 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004559/0.3873, allocations: 194.9 kB / 1.186 GB, free: 10.63 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=34): time 2.144e-06/0.3873, allocations: 4 kB / 1.186 GB, free: 10.63 MB / 0.9356 GB Notification: Performance of matching and sorting (n=34): time 0.0008918/0.3882, allocations: 402 kB / 1.186 GB, free: 10.23 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.2e-05/0.3883, allocations: 85.11 kB / 1.186 GB, free: 10.13 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005078/0.3888, allocations: 405.6 kB / 1.187 GB, free: 9.73 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 4.654e-05/0.3888, allocations: 37.7 kB / 1.187 GB, free: 9.688 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.000236/0.3891, allocations: 264.4 kB / 1.187 GB, free: 9.426 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 9.649e-05/0.3892, allocations: 119 kB / 1.187 GB, free: 9.309 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001567/0.3893, allocations: 82.12 kB / 1.187 GB, free: 9.223 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001813/0.3895, allocations: 358.7 kB / 1.188 GB, free: 8.863 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003143/0.3898, allocations: 132.8 kB / 1.188 GB, free: 8.73 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003619/0.3902, allocations: 203.1 kB / 1.188 GB, free: 8.512 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006045/0.3908, allocations: 348.3 kB / 1.188 GB, free: 8.145 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.3908, allocations: 0 / 1.188 GB, free: 8.145 MB / 0.9356 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0009108/0.3918, allocations: 473.4 kB / 1.189 GB, free: 7.672 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 4.609e-05/0.3918, allocations: 33.7 kB / 1.189 GB, free: 7.633 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.657e-06/0.3918, allocations: 4 kB / 1.189 GB, free: 7.629 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.767e-05/0.3919, allocations: 4 kB / 1.189 GB, free: 7.625 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003157/0.3922, allocations: 79.89 kB / 1.189 GB, free: 7.547 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.424e-05/0.3922, allocations: 12.06 kB / 1.189 GB, free: 7.535 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003686/0.3926, allocations: 87.47 kB / 1.189 GB, free: 7.449 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.379e-05/0.3926, allocations: 24 kB / 1.189 GB, free: 7.426 MB / 0.9356 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.0002108/0.3928, allocations: 165.8 kB / 1.189 GB, free: 7.254 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.458e-05/0.3929, allocations: 39.72 kB / 1.189 GB, free: 7.215 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000681/0.3936, allocations: 335.2 kB / 1.189 GB, free: 6.883 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.265e-05/0.3936, allocations: 11.92 kB / 1.189 GB, free: 6.871 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.93e-06/0.3936, allocations: 0 / 1.189 GB, free: 6.871 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.98e-06/0.3937, allocations: 0 / 1.189 GB, free: 6.871 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001329/0.395, allocations: 0.9746 MB / 1.19 GB, free: 5.82 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.395, allocations: 0 / 1.19 GB, free: 5.82 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002353/0.3952, allocations: 55.91 kB / 1.19 GB, free: 5.766 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.893e-06/0.3953, allocations: 4 kB / 1.19 GB, free: 5.762 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.316e-05/0.3953, allocations: 12 kB / 1.19 GB, free: 5.75 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.45e-06/0.3953, allocations: 4 kB / 1.19 GB, free: 5.746 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.418e-06/0.3953, allocations: 15.91 kB / 1.19 GB, free: 5.73 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006793/0.396, allocations: 0.5049 MB / 1.191 GB, free: 5.191 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001248/0.3961, allocations: 128.8 kB / 1.191 GB, free: 5.047 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.65e-05/0.3962, allocations: 11.98 kB / 1.191 GB, free: 5.035 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002138/0.3964, allocations: 12 kB / 1.191 GB, free: 5.023 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.679e-05/0.3965, allocations: 31.84 kB / 1.191 GB, free: 4.992 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.082e-05/0.3965, allocations: 12 kB / 1.191 GB, free: 4.98 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0003221/0.3968, allocations: 291.2 kB / 1.191 GB, free: 4.699 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3968, allocations: 0 / 1.191 GB, free: 4.699 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0004782/0.3973, allocations: 111.8 kB / 1.192 GB, free: 4.59 MB / 0.9356 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.001086/0.3984, allocations: 1.068 MB / 1.193 GB, free: 3.473 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0007388/0.3992, allocations: 378.3 kB / 1.193 GB, free: 3.094 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 4.458e-06/0.3992, allocations: 4 kB / 1.193 GB, free: 3.09 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0002774/0.3995, allocations: 131.8 kB / 1.193 GB, free: 2.961 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005656/0.4, allocations: 68.25 kB / 1.193 GB, free: 2.898 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005462/0.4055, allocations: 3.782 MB / 1.197 GB, free: 14.95 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004905/0.406, allocations: 0.8275 MB / 1.198 GB, free: 14.09 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0001603/0.4062, allocations: 43.27 kB / 1.198 GB, free: 14.05 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002188/0.4064, allocations: 155.4 kB / 1.198 GB, free: 13.9 MB / 0.9512 GB Notification: Performance of SimCode: time 5.61e-07/0.4064, allocations: 0 / 1.198 GB, free: 13.9 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03095/0.4374, allocations: 7.219 MB / 1.205 GB, free: 6.879 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.75/9.187, allocations: 10.52 kB / 1.205 GB, free: 6.871 MB / 0.9512 GB " [Timeout remaining time 291] (rm -f Buildings_10_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_Utilities_SetPoints_Validation_SupplyReturnTemperatureReset_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_Utilities_SetPoints_Validation_SupplyReturnTemperatureReset.fmu > Buildings_10_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_Utilities_SetPoints_Validation_SupplyReturnTemperatureReset.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.238079295959324]