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) 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 10.1.1-maint.10.0.x/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001053/0.001053, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001069/0.001069, allocations: 195.7 kB / 16.53 MB, free: 6.664 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.193/1.193, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.284/2.284, allocations: 437 MB / 0.7104 GB, free: 5.125 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001216/0.001216, allocations: 63.91 kB / 0.8694 GB, free: 4.551 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5085/0.5098, allocations: 151.6 MB / 1.017 GB, free: 2.473 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset): time 0.003125/0.5129, allocations: 2.216 MB / 1.02 GB, free: 256 kB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001986/0.5149, allocations: 1.525 MB / 1.021 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000263/0.5152, allocations: 8 kB / 1.021 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.000146/0.5154, allocations: 67.14 kB / 1.021 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0002364/0.5156, allocations: 91.08 kB / 1.021 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006114/0.5162, allocations: 292.5 kB / 1.022 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0005077/0.5168, allocations: 0.6488 MB / 1.022 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004154/0.5172, allocations: 361.8 kB / 1.022 GB, free: 13.24 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001963/0.5174, allocations: 227.2 kB / 1.023 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002063/0.5176, allocations: 254.7 kB / 1.023 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 7.614e-05/0.5177, allocations: 71.98 kB / 1.023 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001239/0.5178, allocations: 83.98 kB / 1.023 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 8.04e-05/0.5179, allocations: 123.6 kB / 1.023 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.000208/0.5181, allocations: 294.5 kB / 1.023 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0005667/0.5187, allocations: 0.7653 MB / 1.024 GB, free: 11.44 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.875e-06/0.5187, allocations: 4 kB / 1.024 GB, free: 11.44 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.092e-06/0.5187, allocations: 0 / 1.024 GB, free: 11.44 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 9.317e-06/0.5187, allocations: 0 / 1.024 GB, free: 11.44 MB / 0.7794 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.000992/0.5197, allocations: 0.809 MB / 1.025 GB, free: 10.57 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.179e-05/0.5197, allocations: 12.03 kB / 1.025 GB, free: 10.56 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.169e-05/0.5198, allocations: 94.7 kB / 1.025 GB, free: 10.46 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.937e-05/0.5199, allocations: 68.19 kB / 1.025 GB, free: 10.39 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003603/0.5203, allocations: 359.6 kB / 1.026 GB, free: 9.996 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.602e-05/0.5203, allocations: 45.69 kB / 1.026 GB, free: 9.953 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.873e-05/0.5204, allocations: 52.38 kB / 1.026 GB, free: 9.902 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007325/0.5211, allocations: 0.507 MB / 1.026 GB, free: 9.383 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.362e-05/0.5212, allocations: 3.938 kB / 1.026 GB, free: 9.379 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.594e-05/0.5212, allocations: 24 kB / 1.026 GB, free: 9.355 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.088e-05/0.5212, allocations: 16 kB / 1.026 GB, free: 9.34 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006181/0.5218, allocations: 364.6 kB / 1.027 GB, free: 8.984 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001709/0.5236, allocations: 1.461 MB / 1.028 GB, free: 7.469 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004826/0.5241, allocations: 277.4 kB / 1.028 GB, free: 7.18 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003552/0.5244, allocations: 177.6 kB / 1.028 GB, free: 7 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.763e-05/0.5245, allocations: 8 kB / 1.028 GB, free: 6.992 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003366/0.5248, allocations: 202.8 kB / 1.029 GB, free: 6.777 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=34): time 1.473e-06/0.5248, allocations: 7.938 kB / 1.029 GB, free: 6.77 MB / 0.7794 GB Notification: Performance of matching and sorting (n=34): time 0.0007295/0.5255, allocations: 388.9 kB / 1.029 GB, free: 6.383 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.573e-05/0.5256, allocations: 81.11 kB / 1.029 GB, free: 6.285 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003766/0.526, allocations: 413.5 kB / 1.029 GB, free: 5.871 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.06e-05/0.526, allocations: 33.7 kB / 1.029 GB, free: 5.832 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001635/0.5262, allocations: 267.9 kB / 1.03 GB, free: 5.562 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 7.276e-05/0.5263, allocations: 110.5 kB / 1.03 GB, free: 5.453 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001188/0.5264, allocations: 82.03 kB / 1.03 GB, free: 5.367 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001241/0.5265, allocations: 358.7 kB / 1.03 GB, free: 5.008 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002661/0.5268, allocations: 128.8 kB / 1.03 GB, free: 4.883 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003001/0.5271, allocations: 211.1 kB / 1.031 GB, free: 4.648 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005162/0.5276, allocations: 347.8 kB / 1.031 GB, free: 4.281 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.255e-06/0.5276, allocations: 0 / 1.031 GB, free: 4.281 MB / 0.7794 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0007491/0.5284, allocations: 470.3 kB / 1.031 GB, free: 3.812 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 3.916e-05/0.5284, allocations: 38.94 kB / 1.031 GB, free: 3.77 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.5284, allocations: 0 / 1.031 GB, free: 3.77 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.25e-05/0.5285, allocations: 8.188 kB / 1.031 GB, free: 3.762 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002929/0.5288, allocations: 75.91 kB / 1.031 GB, free: 3.688 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.055e-05/0.5288, allocations: 11.88 kB / 1.031 GB, free: 3.676 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003387/0.5291, allocations: 87.2 kB / 1.032 GB, free: 3.594 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.416e-05/0.5292, allocations: 19.98 kB / 1.032 GB, free: 3.574 MB / 0.7794 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.0001593/0.5293, allocations: 167.3 kB / 1.032 GB, free: 3.402 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.874e-05/0.5294, allocations: 47.44 kB / 1.032 GB, free: 3.355 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005728/0.53, allocations: 330.6 kB / 1.032 GB, free: 3.027 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.6e-06/0.53, allocations: 7.938 kB / 1.032 GB, free: 3.02 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.546e-06/0.53, allocations: 0 / 1.032 GB, free: 3.02 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.681e-06/0.53, allocations: 3.984 kB / 1.032 GB, free: 3.016 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001036/0.531, allocations: 0.9746 MB / 1.033 GB, free: 1.965 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.947e-06/0.5311, allocations: 4 kB / 1.033 GB, free: 1.961 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002235/0.5313, allocations: 59.91 kB / 1.033 GB, free: 1.902 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.659e-06/0.5313, allocations: 8.188 kB / 1.033 GB, free: 1.895 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.714e-05/0.5313, allocations: 8 kB / 1.033 GB, free: 1.887 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.838e-06/0.5313, allocations: 4 kB / 1.033 GB, free: 1.883 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.5313, allocations: 3.938 kB / 1.033 GB, free: 1.879 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005617/0.5319, allocations: 0.5098 MB / 1.034 GB, free: 1.336 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 8.193e-05/0.532, allocations: 124.6 kB / 1.034 GB, free: 1.195 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.305e-05/0.532, allocations: 8 kB / 1.034 GB, free: 1.188 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002047/0.5322, allocations: 15.98 kB / 1.034 GB, free: 1.172 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.083e-05/0.5323, allocations: 39.77 kB / 1.034 GB, free: 1.133 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.495e-05/0.5323, allocations: 12 kB / 1.034 GB, free: 1.121 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0002598/0.5326, allocations: 287.2 kB / 1.034 GB, free: 0.8477 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5326, allocations: 0 / 1.034 GB, free: 0.8477 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003804/0.533, allocations: 111.6 kB / 1.034 GB, free: 0.7383 MB / 0.7794 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.0008177/0.5338, allocations: 1.064 MB / 1.035 GB, free: 15.63 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0006199/0.5344, allocations: 387.7 kB / 1.036 GB, free: 15.24 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.5345, allocations: 3.938 kB / 1.036 GB, free: 15.23 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0002299/0.5347, allocations: 140.4 kB / 1.036 GB, free: 15.1 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005181/0.5352, allocations: 74.03 kB / 1.036 GB, free: 15.03 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004198/0.5394, allocations: 3.799 MB / 1.04 GB, free: 11.06 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003265/0.5398, allocations: 0.8198 MB / 1.04 GB, free: 10.22 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0001389/0.5399, allocations: 43.25 kB / 1.04 GB, free: 10.18 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001768/0.5401, allocations: 155.4 kB / 1.041 GB, free: 10.03 MB / 0.795 GB Notification: Performance of SimCode: time 2.11e-07/0.5401, allocations: 0 / 1.041 GB, free: 10.03 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.93/3.47, allocations: 7.129 MB / 1.047 GB, free: 3.07 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.22/13.69, allocations: 19.2 kB / 1.048 GB, free: 3.055 MB / 0.795 GB (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 --timeout=50 --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) 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/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches