Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.SetPoints.Examples.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.00178/0.00178, allocations: 111 kB / 16.46 MB, free: 6.453 MB / 14.72 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.002544/0.002544, allocations: 213.7 kB / 19.43 MB, free: 3.625 MB / 14.72 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 1.665/1.665, allocations: 230.6 MB / 252.8 MB, free: 8.965 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.424/3.424, allocations: 0.49 GB / 0.7916 GB, free: 33.31 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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.SetPoints.Examples.SupplyReturnTemperatureReset,fileNamePrefix="Buildings_12_Buildings_Controls_SetPoints_Examples_SupplyReturnTemperatureReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,fileNamePrefix="Buildings_12_Buildings_Controls_SetPoints_Examples_SupplyReturnTemperatureReset",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002358/0.002358, allocations: 73.11 kB / 1.149 GB, free: 26.3 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4842/0.4866, allocations: 176.1 MB / 1.321 GB, free: 3.316 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.003613/0.4902, allocations: 1.851 MB / 1.323 GB, free: 1.453 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.000331/0.4905, allocations: 119.8 kB / 1.323 GB, free: 1.336 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.93e-05/0.4906, allocations: 8 kB / 1.323 GB, free: 1.328 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0001308/0.4907, allocations: 19.78 kB / 1.323 GB, free: 1.309 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001005/0.4908, allocations: 43.56 kB / 1.323 GB, free: 1.266 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001436/0.491, allocations: 35.94 kB / 1.323 GB, free: 1.23 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0002591/0.4912, allocations: 175.1 kB / 1.323 GB, free: 1.059 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001249/0.4914, allocations: 13.06 kB / 1.323 GB, free: 1.043 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 9.724e-05/0.4915, allocations: 59.78 kB / 1.323 GB, free: 0.9844 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001439/0.4916, allocations: 75.73 kB / 1.323 GB, free: 0.9102 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 3.048e-05/0.4916, allocations: 12 kB / 1.323 GB, free: 0.8984 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 2.653e-05/0.4917, allocations: 8 kB / 1.323 GB, free: 0.8906 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 4.524e-05/0.4917, allocations: 23.86 kB / 1.323 GB, free: 0.8672 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 8.625e-05/0.4918, allocations: 63.72 kB / 1.323 GB, free: 0.8047 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0002153/0.492, allocations: 123.5 kB / 1.323 GB, free: 0.6836 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.492, allocations: 0 / 1.323 GB, free: 0.6836 MB / 1.014 GB Notification: Performance of FrontEnd: time 3.015e-06/0.492, allocations: 0 / 1.323 GB, free: 0.6836 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.237e-05/0.492, allocations: 0 / 1.323 GB, free: 0.6836 MB / 1.014 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.0008479/0.4929, allocations: 458.8 kB / 1.324 GB, free: 188 kB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.956e-05/0.4929, allocations: 11.98 kB / 1.324 GB, free: 176 kB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.118e-05/0.493, allocations: 42.73 kB / 1.324 GB, free: 124 kB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.927e-05/0.493, allocations: 16.78 kB / 1.324 GB, free: 108 kB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003375/0.4934, allocations: 205.9 kB / 1.324 GB, free: 15.87 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.373e-05/0.4934, allocations: 4.375 kB / 1.324 GB, free: 15.86 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.077e-05/0.4934, allocations: 8.375 kB / 1.324 GB, free: 15.86 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003251/0.4937, allocations: 123.8 kB / 1.324 GB, free: 15.72 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.868e-06/0.4937, allocations: 7.875 kB / 1.324 GB, free: 15.71 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.341e-05/0.4937, allocations: 3.938 kB / 1.324 GB, free: 15.71 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.274e-06/0.4937, allocations: 7.938 kB / 1.324 GB, free: 15.7 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000321/0.4941, allocations: 91.92 kB / 1.324 GB, free: 15.61 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007975/0.4949, allocations: 476.7 kB / 1.325 GB, free: 15.09 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004166/0.4953, allocations: 125.2 kB / 1.325 GB, free: 14.95 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001901/0.4955, allocations: 57.78 kB / 1.325 GB, free: 14.89 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.189e-05/0.4955, allocations: 3.984 kB / 1.325 GB, free: 14.89 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.888e-05/0.4955, allocations: 34.56 kB / 1.325 GB, free: 14.84 MB / 1.029 GB Notification: Performance of pre-optimization done (n=9): time 1.332e-06/0.4955, allocations: 0 / 1.325 GB, free: 14.84 MB / 1.029 GB Notification: Performance of matching and sorting (n=9): time 0.0006254/0.4962, allocations: 189.5 kB / 1.325 GB, free: 14.65 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.067e-05/0.4962, allocations: 77.11 kB / 1.325 GB, free: 14.56 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001635/0.4964, allocations: 162.9 kB / 1.325 GB, free: 14.39 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.637e-05/0.4964, allocations: 33.69 kB / 1.325 GB, free: 14.35 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 8.36e-05/0.4965, allocations: 104 kB / 1.325 GB, free: 14.25 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.813e-05/0.4965, allocations: 31.73 kB / 1.326 GB, free: 14.21 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.901e-05/0.4966, allocations: 29.72 kB / 1.326 GB, free: 14.18 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000176/0.4968, allocations: 330.8 kB / 1.326 GB, free: 13.85 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000151/0.4969, allocations: 39.97 kB / 1.326 GB, free: 13.81 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000158/0.4971, allocations: 61.62 kB / 1.326 GB, free: 13.74 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003057/0.4974, allocations: 97.67 kB / 1.326 GB, free: 13.64 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.4974, allocations: 0 / 1.326 GB, free: 13.64 MB / 1.029 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003748/0.4978, allocations: 149.5 kB / 1.326 GB, free: 13.49 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/0.4978, allocations: 8 kB / 1.326 GB, free: 13.48 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.4978, allocations: 0 / 1.326 GB, free: 13.48 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.675e-05/0.4978, allocations: 0 / 1.326 GB, free: 13.48 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001597/0.498, allocations: 27.98 kB / 1.326 GB, free: 13.45 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.021e-06/0.498, allocations: 4 kB / 1.326 GB, free: 13.45 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001215/0.4981, allocations: 11.92 kB / 1.326 GB, free: 13.44 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.27e-05/0.4981, allocations: 4 kB / 1.326 GB, free: 13.43 MB / 1.029 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.0001147/0.4982, allocations: 121.8 kB / 1.326 GB, free: 13.3 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.774e-05/0.4983, allocations: 15.91 kB / 1.326 GB, free: 13.29 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004666/0.4987, allocations: 158.9 kB / 1.327 GB, free: 13.13 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.4987, allocations: 4.297 kB / 1.327 GB, free: 13.12 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.184e-06/0.4987, allocations: 4 kB / 1.327 GB, free: 13.12 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.656e-06/0.4988, allocations: 7.922 kB / 1.327 GB, free: 13.11 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003241/0.4991, allocations: 225.8 kB / 1.327 GB, free: 12.84 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.4991, allocations: 0 / 1.327 GB, free: 12.84 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000154/0.4992, allocations: 27.86 kB / 1.327 GB, free: 12.82 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.4992, allocations: 0 / 1.327 GB, free: 12.82 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.275e-05/0.4993, allocations: 8 kB / 1.327 GB, free: 12.81 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.4993, allocations: 0 / 1.327 GB, free: 12.81 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/0.4993, allocations: 3.984 kB / 1.327 GB, free: 12.8 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004621/0.4997, allocations: 310.6 kB / 1.327 GB, free: 12.48 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 6.635e-05/0.4998, allocations: 89.02 kB / 1.327 GB, free: 12.38 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.536e-05/0.4998, allocations: 4 kB / 1.327 GB, free: 12.38 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001743/0.5, allocations: 11.98 kB / 1.327 GB, free: 12.36 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.936e-05/0.5001, allocations: 11.92 kB / 1.327 GB, free: 12.35 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.788e-06/0.5001, allocations: 4 kB / 1.327 GB, free: 12.35 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001247/0.5002, allocations: 128.2 kB / 1.327 GB, free: 12.22 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.5002, allocations: 0 / 1.327 GB, free: 12.22 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002916/0.5005, allocations: 28 kB / 1.327 GB, free: 12.2 MB / 1.029 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.0008209/0.5013, allocations: 0.851 MB / 1.328 GB, free: 11.32 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003784/0.5017, allocations: 95.94 kB / 1.328 GB, free: 11.22 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.5017, allocations: 0 / 1.328 GB, free: 11.22 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001677/0.5018, allocations: 51.91 kB / 1.328 GB, free: 11.17 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004623/0.5023, allocations: 48.41 kB / 1.328 GB, free: 11.12 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002545/0.5049, allocations: 1.84 MB / 1.33 GB, free: 9.191 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003665/0.5052, allocations: 0.7045 MB / 1.331 GB, free: 8.457 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 9.576e-05/0.5053, allocations: 12.66 kB / 1.331 GB, free: 8.445 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.005e-05/0.5054, allocations: 31.42 kB / 1.331 GB, free: 8.414 MB / 1.029 GB Notification: Performance of SimCode: time 7.41e-07/0.5054, allocations: 0 / 1.331 GB, free: 8.414 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02994/0.5354, allocations: 3.663 MB / 1.334 GB, free: 4.938 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.233/8.768, allocations: 8.5 kB / 1.334 GB, free: 4.934 MB / 1.029 GB " [Timeout remaining time 291] (rm -f Buildings_12_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; mkfifo Buildings_12_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe >> ../files/Buildings_12_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_SetPoints_Examples_SupplyReturnTemperatureReset_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_SetPoints_Examples_SupplyReturnTemperatureReset.fmu > Buildings_12_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_SetPoints_Examples_SupplyReturnTemperatureReset.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 16.222473329864442]