Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001443/0.001443, allocations: 109.1 kB / 16.46 MB, free: 6.504 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.001449/0.001449, allocations: 196.5 kB / 19.41 MB, free: 3.668 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.464/1.464, allocations: 225.6 MB / 247.8 MB, free: 13.92 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.829/2.829, allocations: 476.7 MB / 0.7611 GB, free: 11.28 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Controls_SetPoints_Examples_SupplyReturnTemperatureReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,fileNamePrefix="Buildings_11_Buildings_Controls_SetPoints_Examples_SupplyReturnTemperatureReset",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001992/0.001992, allocations: 64.08 kB / 1.104 GB, free: 9.289 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.157/1.159, allocations: 168.7 MB / 1.269 GB, free: 5.289 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.003599/1.162, allocations: 1.834 MB / 1.27 GB, free: 3.445 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0003612/1.163, allocations: 119.6 kB / 1.271 GB, free: 3.328 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.644e-05/1.163, allocations: 0 / 1.271 GB, free: 3.328 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001357/1.163, allocations: 19.8 kB / 1.271 GB, free: 3.309 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001049/1.163, allocations: 51.56 kB / 1.271 GB, free: 3.258 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001593/1.163, allocations: 31.95 kB / 1.271 GB, free: 3.227 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.000266/1.163, allocations: 167.2 kB / 1.271 GB, free: 3.062 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001316/1.163, allocations: 26.88 kB / 1.271 GB, free: 3.039 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001073/1.164, allocations: 59.78 kB / 1.271 GB, free: 2.98 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001149/1.164, allocations: 63.75 kB / 1.271 GB, free: 2.918 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 3.295e-05/1.164, allocations: 12 kB / 1.271 GB, free: 2.906 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 2.691e-05/1.164, allocations: 12 kB / 1.271 GB, free: 2.895 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 3.569e-05/1.164, allocations: 19.92 kB / 1.271 GB, free: 2.875 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 8.314e-05/1.164, allocations: 67.66 kB / 1.271 GB, free: 2.809 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.000209/1.164, allocations: 127.4 kB / 1.271 GB, free: 2.684 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/1.164, allocations: 0 / 1.271 GB, free: 2.684 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.314e-06/1.164, allocations: 0 / 1.271 GB, free: 2.684 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.251e-06/1.164, allocations: 0 / 1.271 GB, free: 2.684 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0009166/1.165, allocations: 462.7 kB / 1.272 GB, free: 2.18 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 5.229e-05/1.165, allocations: 8.031 kB / 1.272 GB, free: 2.172 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.814e-05/1.165, allocations: 42.73 kB / 1.272 GB, free: 2.121 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.247e-05/1.165, allocations: 20.84 kB / 1.272 GB, free: 2.102 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003743/1.166, allocations: 204.1 kB / 1.272 GB, free: 1.863 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.654e-05/1.166, allocations: 4.375 kB / 1.272 GB, free: 1.859 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.23e-05/1.166, allocations: 8.375 kB / 1.272 GB, free: 1.852 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003071/1.166, allocations: 115.9 kB / 1.272 GB, free: 1.727 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.521e-05/1.166, allocations: 7.875 kB / 1.272 GB, free: 1.719 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.967e-05/1.166, allocations: 7.984 kB / 1.272 GB, free: 1.711 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.584e-06/1.166, allocations: 4 kB / 1.272 GB, free: 1.707 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003051/1.166, allocations: 87.94 kB / 1.272 GB, free: 1.621 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008854/1.167, allocations: 484.6 kB / 1.273 GB, free: 1.094 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004219/1.168, allocations: 125.2 kB / 1.273 GB, free: 0.9531 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001707/1.168, allocations: 53.78 kB / 1.273 GB, free: 0.8945 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 3.187e-05/1.168, allocations: 0 / 1.273 GB, free: 0.8945 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.709e-05/1.168, allocations: 42.55 kB / 1.273 GB, free: 0.8438 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=9): time 9.52e-07/1.168, allocations: 0 / 1.273 GB, free: 0.8438 MB / 0.9669 GB Notification: Performance of matching and sorting (n=9): time 0.0006415/1.168, allocations: 177.5 kB / 1.273 GB, free: 0.6641 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.87e-05/1.169, allocations: 85.05 kB / 1.273 GB, free: 0.5625 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002005/1.169, allocations: 166.4 kB / 1.273 GB, free: 400 kB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.529e-05/1.169, allocations: 29.64 kB / 1.273 GB, free: 364 kB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001058/1.169, allocations: 112.1 kB / 1.273 GB, free: 248 kB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.922e-05/1.169, allocations: 31.73 kB / 1.273 GB, free: 216 kB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.213e-05/1.169, allocations: 21.72 kB / 1.273 GB, free: 188 kB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.000225/1.169, allocations: 330.8 kB / 1.274 GB, free: 15.85 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001492/1.169, allocations: 39.97 kB / 1.274 GB, free: 15.81 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001675/1.17, allocations: 61.61 kB / 1.274 GB, free: 15.75 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002922/1.17, allocations: 101.7 kB / 1.274 GB, free: 15.64 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/1.17, allocations: 4 kB / 1.274 GB, free: 15.64 MB / 0.9825 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003547/1.17, allocations: 149.8 kB / 1.274 GB, free: 15.48 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.511e-05/1.17, allocations: 6.188 kB / 1.274 GB, free: 15.48 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.227e-06/1.17, allocations: 3.984 kB / 1.274 GB, free: 15.48 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.61e-05/1.17, allocations: 0 / 1.274 GB, free: 15.48 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001563/1.17, allocations: 27.98 kB / 1.274 GB, free: 15.45 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.314e-06/1.17, allocations: 0 / 1.274 GB, free: 15.45 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001269/1.171, allocations: 27.81 kB / 1.274 GB, free: 15.42 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.009e-05/1.171, allocations: 0 / 1.274 GB, free: 15.42 MB / 0.9825 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.0001174/1.171, allocations: 120.4 kB / 1.274 GB, free: 15.3 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.408e-05/1.171, allocations: 11.95 kB / 1.274 GB, free: 15.29 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004646/1.171, allocations: 166.5 kB / 1.274 GB, free: 15.11 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/1.171, allocations: 0 / 1.274 GB, free: 15.11 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/1.171, allocations: 0 / 1.274 GB, free: 15.11 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.506e-06/1.171, allocations: 3.938 kB / 1.274 GB, free: 15.11 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003485/1.172, allocations: 221.7 kB / 1.275 GB, free: 14.84 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/1.172, allocations: 0 / 1.275 GB, free: 14.84 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001402/1.172, allocations: 19.98 kB / 1.275 GB, free: 14.82 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.368e-06/1.172, allocations: 4 kB / 1.275 GB, free: 14.82 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.376e-05/1.172, allocations: 4 kB / 1.275 GB, free: 14.81 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/1.172, allocations: 4 kB / 1.275 GB, free: 14.81 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/1.172, allocations: 0 / 1.275 GB, free: 14.81 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005008/1.172, allocations: 316.3 kB / 1.275 GB, free: 14.48 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 7.148e-05/1.172, allocations: 93 kB / 1.275 GB, free: 14.38 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.694e-05/1.172, allocations: 96 / 1.275 GB, free: 14.38 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001671/1.172, allocations: 16.16 kB / 1.275 GB, free: 14.36 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.327e-05/1.173, allocations: 19.86 kB / 1.275 GB, free: 14.34 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.237e-06/1.173, allocations: 4 kB / 1.275 GB, free: 14.34 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001123/1.173, allocations: 120.2 kB / 1.275 GB, free: 14.22 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.1e-07/1.173, allocations: 4 kB / 1.275 GB, free: 14.21 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002904/1.173, allocations: 28 kB / 1.275 GB, free: 14.19 MB / 0.9825 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.0008184/1.174, allocations: 0.8488 MB / 1.276 GB, free: 13.31 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004292/1.174, allocations: 100.2 kB / 1.276 GB, free: 13.21 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/1.174, allocations: 4 kB / 1.276 GB, free: 13.21 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.000207/1.174, allocations: 55.91 kB / 1.276 GB, free: 13.15 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000588/1.175, allocations: 46.2 kB / 1.276 GB, free: 13.11 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002527/1.177, allocations: 1.829 MB / 1.278 GB, free: 11.19 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003735/1.178, allocations: 0.7083 MB / 1.279 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 9.579e-05/1.178, allocations: 12.66 kB / 1.279 GB, free: 10.44 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.467e-05/1.178, allocations: 39.42 kB / 1.279 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of SimCode: time 6.72e-07/1.178, allocations: 0 / 1.279 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03183/1.21, allocations: 3.672 MB / 1.282 GB, free: 6.926 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.552/9.762, allocations: 8.703 kB / 1.282 GB, free: 6.918 MB / 0.9825 GB " [Timeout remaining time 290] (rm -f Buildings_11_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; mkfifo Buildings_11_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe >> ../files/Buildings_11_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_SetPoints_Examples_SupplyReturnTemperatureReset_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_SetPoints_Examples_SupplyReturnTemperatureReset.fmu > Buildings_11_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_SetPoints_Examples_SupplyReturnTemperatureReset.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_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.37238380778581]