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.001325/0.001325, allocations: 105.8 kB / 16.45 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.00137/0.00137, allocations: 187.7 kB / 19.4 MB, free: 3.66 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.491/1.491, allocations: 225.6 MB / 247.8 MB, free: 3.715 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.681/2.681, allocations: 443.5 MB / 0.7287 GB, free: 14.48 MB / 0.5762 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.001969/0.001969, allocations: 67.89 kB / 1.056 GB, free: 2.453 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3397/0.3417, allocations: 160.7 MB / 1.213 GB, free: 1.426 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset): time 0.003955/0.3457, allocations: 2.229 MB / 1.215 GB, free: 15.18 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.002626/0.3483, allocations: 1.525 MB / 1.217 GB, free: 13.64 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002984/0.3486, allocations: 11.94 kB / 1.217 GB, free: 13.62 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001709/0.3488, allocations: 59.2 kB / 1.217 GB, free: 13.57 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0002826/0.349, allocations: 95.08 kB / 1.217 GB, free: 13.47 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008169/0.3499, allocations: 303.1 kB / 1.217 GB, free: 13.18 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0007637/0.3506, allocations: 0.6409 MB / 1.218 GB, free: 12.54 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004995/0.3511, allocations: 277.8 kB / 1.218 GB, free: 12.25 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003528/0.3515, allocations: 227.2 kB / 1.218 GB, free: 12.03 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002992/0.3518, allocations: 258.8 kB / 1.218 GB, free: 11.78 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0001485/0.3519, allocations: 72 kB / 1.218 GB, free: 11.71 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000139/0.3521, allocations: 87.92 kB / 1.219 GB, free: 11.62 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001181/0.3522, allocations: 123.6 kB / 1.219 GB, free: 11.5 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0002914/0.3525, allocations: 294.6 kB / 1.219 GB, free: 11.21 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0008667/0.3533, allocations: 0.7938 MB / 1.22 GB, free: 10.41 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.3533, allocations: 0 / 1.22 GB, free: 10.41 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.512e-06/0.3534, allocations: 4 kB / 1.22 GB, free: 10.41 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 9.237e-06/0.3534, allocations: 0 / 1.22 GB, free: 10.41 MB / 0.9669 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.001347/0.3547, allocations: 0.8301 MB / 1.22 GB, free: 9.52 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.555e-05/0.3548, allocations: 12.03 kB / 1.221 GB, free: 9.508 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001257/0.3549, allocations: 102.6 kB / 1.221 GB, free: 9.398 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001107/0.355, allocations: 68.56 kB / 1.221 GB, free: 9.332 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005208/0.3555, allocations: 351.8 kB / 1.221 GB, free: 8.953 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.622e-05/0.3556, allocations: 45.69 kB / 1.221 GB, free: 8.91 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.292e-05/0.3556, allocations: 52.38 kB / 1.221 GB, free: 8.859 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008771/0.3565, allocations: 0.5031 MB / 1.222 GB, free: 8.34 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.27e-05/0.3565, allocations: 7.875 kB / 1.222 GB, free: 8.332 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.751e-05/0.3566, allocations: 28 kB / 1.222 GB, free: 8.305 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.495e-05/0.3566, allocations: 12 kB / 1.222 GB, free: 8.293 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006955/0.3573, allocations: 360.7 kB / 1.222 GB, free: 7.941 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002277/0.3596, allocations: 1.45 MB / 1.223 GB, free: 6.434 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000574/0.3601, allocations: 269.4 kB / 1.224 GB, free: 6.152 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004175/0.3606, allocations: 173.5 kB / 1.224 GB, free: 5.977 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.995e-05/0.3606, allocations: 4 kB / 1.224 GB, free: 5.973 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004376/0.361, allocations: 194.9 kB / 1.224 GB, free: 5.766 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=34): time 1.833e-06/0.361, allocations: 4 kB / 1.224 GB, free: 5.762 MB / 0.9669 GB Notification: Performance of matching and sorting (n=34): time 0.0008625/0.3619, allocations: 398 kB / 1.224 GB, free: 5.371 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.736e-05/0.362, allocations: 81.11 kB / 1.224 GB, free: 5.273 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005758/0.3625, allocations: 413.6 kB / 1.225 GB, free: 4.863 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 4.008e-05/0.3626, allocations: 29.7 kB / 1.225 GB, free: 4.828 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002202/0.3628, allocations: 272.4 kB / 1.225 GB, free: 4.559 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001039/0.3629, allocations: 123 kB / 1.225 GB, free: 4.438 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001937/0.3631, allocations: 82.12 kB / 1.225 GB, free: 4.352 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001812/0.3633, allocations: 358.7 kB / 1.226 GB, free: 3.992 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003133/0.3636, allocations: 140.8 kB / 1.226 GB, free: 3.852 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003479/0.3639, allocations: 207.1 kB / 1.226 GB, free: 3.625 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00065/0.3646, allocations: 350.2 kB / 1.226 GB, free: 3.254 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.876e-06/0.3646, allocations: 0 / 1.226 GB, free: 3.254 MB / 0.9669 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0008607/0.3655, allocations: 465.1 kB / 1.227 GB, free: 2.789 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 4.862e-05/0.3655, allocations: 37.7 kB / 1.227 GB, free: 2.746 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.962e-06/0.3655, allocations: 0 / 1.227 GB, free: 2.746 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.931e-05/0.3655, allocations: 8.172 kB / 1.227 GB, free: 2.738 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003185/0.3658, allocations: 87.84 kB / 1.227 GB, free: 2.652 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.201e-05/0.3659, allocations: 7.938 kB / 1.227 GB, free: 2.645 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003999/0.3663, allocations: 83.47 kB / 1.227 GB, free: 2.562 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.435e-05/0.3663, allocations: 12 kB / 1.227 GB, free: 2.551 MB / 0.9669 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.0002093/0.3665, allocations: 173.8 kB / 1.227 GB, free: 2.371 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001263/0.3666, allocations: 47.72 kB / 1.227 GB, free: 2.324 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007048/0.3673, allocations: 326.5 kB / 1.228 GB, free: 2 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.107e-06/0.3673, allocations: 7.938 kB / 1.228 GB, free: 1.992 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.678e-06/0.3673, allocations: 0 / 1.228 GB, free: 1.992 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.059e-06/0.3674, allocations: 0 / 1.228 GB, free: 1.992 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001365/0.3687, allocations: 0.9669 MB / 1.228 GB, free: 0.9492 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.155e-06/0.3687, allocations: 4 kB / 1.228 GB, free: 0.9453 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002359/0.369, allocations: 55.91 kB / 1.229 GB, free: 0.8906 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.232e-06/0.369, allocations: 4 kB / 1.229 GB, free: 0.8867 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.412e-05/0.369, allocations: 16.17 kB / 1.229 GB, free: 0.8711 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.814e-06/0.369, allocations: 7.938 kB / 1.229 GB, free: 0.8633 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.564e-06/0.369, allocations: 3.938 kB / 1.229 GB, free: 0.8594 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000737/0.3697, allocations: 0.5163 MB / 1.229 GB, free: 316 kB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001626/0.3699, allocations: 128.8 kB / 1.229 GB, free: 168 kB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.206e-05/0.37, allocations: 8 kB / 1.229 GB, free: 160 kB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002145/0.3702, allocations: 15.98 kB / 1.229 GB, free: 144 kB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.157e-05/0.3702, allocations: 31.91 kB / 1.229 GB, free: 112 kB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.271e-05/0.3703, allocations: 12 kB / 1.229 GB, free: 100 kB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0004549/0.3707, allocations: 287.2 kB / 1.23 GB, free: 15.82 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.3707, allocations: 0 / 1.23 GB, free: 15.82 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000567/0.3713, allocations: 103.8 kB / 1.23 GB, free: 15.72 MB / 0.9825 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.001157/0.3724, allocations: 1.064 MB / 1.231 GB, free: 14.61 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.000722/0.3732, allocations: 367.6 kB / 1.231 GB, free: 14.24 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.3732, allocations: 0 / 1.231 GB, free: 14.24 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0002723/0.3734, allocations: 119.2 kB / 1.231 GB, free: 14.12 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005656/0.374, allocations: 77.41 kB / 1.231 GB, free: 14.05 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005534/0.3795, allocations: 3.787 MB / 1.235 GB, free: 10.1 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005695/0.3801, allocations: 0.8237 MB / 1.236 GB, free: 9.25 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.000171/0.3803, allocations: 43.27 kB / 1.236 GB, free: 9.211 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002251/0.3805, allocations: 159.4 kB / 1.236 GB, free: 9.055 MB / 0.9825 GB Notification: Performance of SimCode: time 9.92e-07/0.3805, allocations: 0 / 1.236 GB, free: 9.055 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03528/0.4158, allocations: 7.246 MB / 1.243 GB, free: 2.004 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.808/9.223, allocations: 6.016 kB / 1.243 GB, free: 2.004 MB / 0.9825 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.359136627987027]