Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.SetPoints.Examples.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.001368/0.001368, allocations: 107.5 kB / 16.45 MB, free: 6.488 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: 196.6 kB / 19.41 MB, free: 3.68 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.469/1.469, allocations: 225.6 MB / 247.8 MB, free: 13.95 MB / 206.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.705/2.705, allocations: 443.5 MB / 0.7287 GB, free: 13.29 MB / 0.5919 GB " [Timeout remaining time 176] 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.SetPoints.Examples.SupplyReturnTemperatureReset,fileNamePrefix="Buildings_10_Buildings_Controls_SetPoints_Examples_SupplyReturnTemperatureReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,fileNamePrefix="Buildings_10_Buildings_Controls_SetPoints_Examples_SupplyReturnTemperatureReset",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00228/0.00228, allocations: 67.88 kB / 1.056 GB, free: 4.48 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.107/1.11, allocations: 160.7 MB / 1.213 GB, free: 5.391 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.005269/1.115, allocations: 1.838 MB / 1.215 GB, free: 3.543 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0006396/1.115, allocations: 111.6 kB / 1.215 GB, free: 3.434 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002274/1.116, allocations: 8 kB / 1.215 GB, free: 3.426 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0002145/1.116, allocations: 15.8 kB / 1.215 GB, free: 3.41 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0002122/1.116, allocations: 47.55 kB / 1.215 GB, free: 3.363 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002406/1.116, allocations: 31.95 kB / 1.215 GB, free: 3.332 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0003635/1.117, allocations: 175.1 kB / 1.215 GB, free: 3.16 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000169/1.117, allocations: 14.94 kB / 1.215 GB, free: 3.145 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001498/1.117, allocations: 55.84 kB / 1.215 GB, free: 3.09 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001824/1.117, allocations: 71.7 kB / 1.215 GB, free: 3.02 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 4.711e-05/1.117, allocations: 12 kB / 1.215 GB, free: 3.008 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 3.917e-05/1.117, allocations: 8 kB / 1.215 GB, free: 3 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 5.347e-05/1.117, allocations: 27.89 kB / 1.215 GB, free: 2.973 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0001152/1.117, allocations: 63.67 kB / 1.215 GB, free: 2.91 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002649/1.118, allocations: 135.3 kB / 1.215 GB, free: 2.777 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 6.062e-06/1.118, allocations: 0 / 1.215 GB, free: 2.777 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.755e-06/1.118, allocations: 0 / 1.215 GB, free: 2.777 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.005e-05/1.118, allocations: 0 / 1.215 GB, free: 2.777 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.001045/1.119, allocations: 458.7 kB / 1.216 GB, free: 2.277 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 6.362e-05/1.119, allocations: 12.62 kB / 1.216 GB, free: 2.266 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.16e-05/1.119, allocations: 34.75 kB / 1.216 GB, free: 2.223 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.168e-05/1.119, allocations: 12.89 kB / 1.216 GB, free: 2.211 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004025/1.119, allocations: 217.6 kB / 1.216 GB, free: 1.961 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.711e-05/1.119, allocations: 4.375 kB / 1.216 GB, free: 1.957 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.137e-05/1.119, allocations: 8.375 kB / 1.216 GB, free: 1.949 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00034/1.12, allocations: 122 kB / 1.216 GB, free: 1.82 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.708e-05/1.12, allocations: 7.922 kB / 1.216 GB, free: 1.812 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.064e-05/1.12, allocations: 7.984 kB / 1.216 GB, free: 1.805 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.023e-06/1.12, allocations: 0 / 1.216 GB, free: 1.805 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003348/1.12, allocations: 87.94 kB / 1.216 GB, free: 1.719 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001067/1.121, allocations: 472.7 kB / 1.217 GB, free: 1.203 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004691/1.122, allocations: 129.2 kB / 1.217 GB, free: 1.059 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001932/1.122, allocations: 57.78 kB / 1.217 GB, free: 0.9961 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 3.601e-05/1.122, allocations: 0 / 1.217 GB, free: 0.9961 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.558e-05/1.122, allocations: 30.56 kB / 1.217 GB, free: 0.957 MB / 0.92 GB Notification: Performance of pre-optimization done (n=9): time 1.402e-06/1.122, allocations: 0 / 1.217 GB, free: 0.957 MB / 0.92 GB Notification: Performance of matching and sorting (n=9): time 0.0006921/1.123, allocations: 189.6 kB / 1.217 GB, free: 0.7656 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.525e-05/1.123, allocations: 81.11 kB / 1.217 GB, free: 0.668 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002204/1.123, allocations: 174.4 kB / 1.217 GB, free: 500 kB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.399e-05/1.123, allocations: 25.7 kB / 1.217 GB, free: 468 kB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001084/1.123, allocations: 108.1 kB / 1.218 GB, free: 356 kB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 4.034e-05/1.123, allocations: 31.73 kB / 1.218 GB, free: 324 kB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.472e-05/1.123, allocations: 33.66 kB / 1.218 GB, free: 284 kB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0002001/1.123, allocations: 322.8 kB / 1.218 GB, free: 15.95 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001618/1.124, allocations: 47.91 kB / 1.218 GB, free: 15.91 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001557/1.124, allocations: 61.75 kB / 1.218 GB, free: 15.84 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003081/1.124, allocations: 105.7 kB / 1.218 GB, free: 15.73 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/1.124, allocations: 0 / 1.218 GB, free: 15.73 MB / 0.9356 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004108/1.124, allocations: 145.5 kB / 1.218 GB, free: 15.58 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.17e-05/1.124, allocations: 4 kB / 1.218 GB, free: 15.58 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.564e-06/1.124, allocations: 0 / 1.218 GB, free: 15.58 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.989e-05/1.124, allocations: 4 kB / 1.218 GB, free: 15.57 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001825/1.125, allocations: 27.97 kB / 1.218 GB, free: 15.55 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.468e-05/1.125, allocations: 7.922 kB / 1.218 GB, free: 15.54 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001355/1.125, allocations: 19.83 kB / 1.218 GB, free: 15.52 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.559e-05/1.125, allocations: 4 kB / 1.218 GB, free: 15.52 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * 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.0001479/1.125, allocations: 121.8 kB / 1.218 GB, free: 15.39 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.696e-05/1.125, allocations: 12.14 kB / 1.218 GB, free: 15.38 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004842/1.126, allocations: 154.5 kB / 1.219 GB, free: 15.21 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.193e-06/1.126, allocations: 7.938 kB / 1.219 GB, free: 15.21 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.763e-06/1.126, allocations: 0 / 1.219 GB, free: 15.21 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.895e-06/1.126, allocations: 3.938 kB / 1.219 GB, free: 15.2 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003898/1.126, allocations: 221.7 kB / 1.219 GB, free: 14.94 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.893e-06/1.126, allocations: 8 kB / 1.219 GB, free: 14.93 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001459/1.126, allocations: 19.98 kB / 1.219 GB, free: 14.91 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.486e-06/1.126, allocations: 0 / 1.219 GB, free: 14.91 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.172e-05/1.126, allocations: 0 / 1.219 GB, free: 14.91 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.188e-06/1.126, allocations: 8 kB / 1.219 GB, free: 14.9 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/1.126, allocations: 0 / 1.219 GB, free: 14.9 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004832/1.127, allocations: 314.5 kB / 1.219 GB, free: 14.58 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 9.72e-05/1.127, allocations: 89 kB / 1.219 GB, free: 14.47 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.608e-05/1.127, allocations: 8 kB / 1.219 GB, free: 14.46 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001718/1.127, allocations: 12.22 kB / 1.219 GB, free: 14.45 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.311e-05/1.127, allocations: 11.88 kB / 1.219 GB, free: 14.44 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.286e-05/1.127, allocations: 7.984 kB / 1.219 GB, free: 14.43 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001296/1.127, allocations: 124.2 kB / 1.219 GB, free: 14.31 MB / 0.9356 GB Notification: Performance of sort global known variables: time 7e-08/1.127, allocations: 0 / 1.219 GB, free: 14.31 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003108/1.127, allocations: 28 kB / 1.219 GB, free: 14.29 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0009687/1.128, allocations: 0.8444 MB / 1.22 GB, free: 13.41 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0004007/1.129, allocations: 103.9 kB / 1.22 GB, free: 13.31 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/1.129, allocations: 7.938 kB / 1.22 GB, free: 13.3 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001542/1.129, allocations: 43.97 kB / 1.22 GB, free: 13.26 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004904/1.129, allocations: 55.16 kB / 1.22 GB, free: 13.21 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002919/1.132, allocations: 1.821 MB / 1.222 GB, free: 11.3 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004854/1.133, allocations: 0.7123 MB / 1.223 GB, free: 10.56 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0001185/1.133, allocations: 12.66 kB / 1.223 GB, free: 10.55 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.352e-05/1.133, allocations: 35.42 kB / 1.223 GB, free: 10.51 MB / 0.9356 GB Notification: Performance of SimCode: time 1.533e-06/1.133, allocations: 0 / 1.223 GB, free: 10.51 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03213/1.165, allocations: 3.66 MB / 1.227 GB, free: 7.035 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.474/9.64, allocations: 3.828 kB / 1.227 GB, free: 7.035 MB / 0.9356 GB " [Timeout remaining time 290] (rm -f Buildings_10_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; mkfifo Buildings_10_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe >> ../files/Buildings_10_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_SetPoints_Examples_SupplyReturnTemperatureReset_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Controls_SetPoints_Examples_SupplyReturnTemperatureReset.fmu > Buildings_10_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_SetPoints_Examples_SupplyReturnTemperatureReset.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.SetPoints.Examples.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.894886560272425]