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.001691/0.001691, allocations: 109.2 kB / 18.94 MB, free: 2.949 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.002093/0.002093, allocations: 219 kB / 22.26 MB, free: 5.125 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.608/1.608, allocations: 230.6 MB / 256 MB, free: 7.977 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.64/3.64, allocations: 0.49 GB / 0.7951 GB, free: 33.4 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.002065/0.002065, allocations: 70.38 kB / 1.154 GB, free: 25.71 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5179/0.52, allocations: 176.1 MB / 1.326 GB, free: 1.961 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.004128/0.5241, allocations: 1.855 MB / 1.328 GB, free: 100 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0003698/0.5245, allocations: 127.8 kB / 1.328 GB, free: 15.97 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.82e-05/0.5246, allocations: 0 / 1.328 GB, free: 15.97 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001455/0.5248, allocations: 19.84 kB / 1.328 GB, free: 15.95 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 9.857e-05/0.5249, allocations: 47.52 kB / 1.328 GB, free: 15.91 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001826/0.525, allocations: 35.94 kB / 1.328 GB, free: 15.87 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002508/0.5253, allocations: 167.2 kB / 1.328 GB, free: 15.71 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001301/0.5254, allocations: 21.23 kB / 1.328 GB, free: 15.68 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001125/0.5255, allocations: 63.72 kB / 1.328 GB, free: 15.62 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001288/0.5257, allocations: 67.75 kB / 1.328 GB, free: 15.55 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.844e-05/0.5257, allocations: 12 kB / 1.328 GB, free: 15.54 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 2.395e-05/0.5257, allocations: 8 kB / 1.328 GB, free: 15.54 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 4.096e-05/0.5258, allocations: 27.86 kB / 1.328 GB, free: 15.51 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 8.143e-05/0.5258, allocations: 63.73 kB / 1.328 GB, free: 15.45 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002134/0.5261, allocations: 127.5 kB / 1.328 GB, free: 15.32 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.69e-06/0.5261, allocations: 0 / 1.328 GB, free: 15.32 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.224e-06/0.5261, allocations: 0 / 1.328 GB, free: 15.32 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.033e-06/0.5261, allocations: 0 / 1.328 GB, free: 15.32 MB / 1.029 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.0009163/0.527, allocations: 377.6 kB / 1.329 GB, free: 14.92 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.344e-05/0.527, allocations: 12.03 kB / 1.329 GB, free: 14.91 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.971e-05/0.5271, allocations: 34.75 kB / 1.329 GB, free: 14.86 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.651e-05/0.5271, allocations: 16.84 kB / 1.329 GB, free: 14.85 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003494/0.5275, allocations: 152.7 kB / 1.329 GB, free: 14.68 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.571e-05/0.5275, allocations: 4.375 kB / 1.329 GB, free: 14.67 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.093e-05/0.5275, allocations: 4.375 kB / 1.329 GB, free: 14.67 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003309/0.5279, allocations: 130 kB / 1.329 GB, free: 14.53 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.474e-05/0.5279, allocations: 7.875 kB / 1.329 GB, free: 14.52 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.496e-05/0.5279, allocations: 0 / 1.329 GB, free: 14.52 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.837e-06/0.5279, allocations: 11.88 kB / 1.329 GB, free: 14.51 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003031/0.5282, allocations: 91.92 kB / 1.329 GB, free: 14.42 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008775/0.5291, allocations: 451.8 kB / 1.33 GB, free: 13.93 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004266/0.5295, allocations: 113.3 kB / 1.33 GB, free: 13.8 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001758/0.5297, allocations: 69.72 kB / 1.33 GB, free: 13.73 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.678e-05/0.5297, allocations: 3.984 kB / 1.33 GB, free: 13.73 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.881e-05/0.5298, allocations: 34.56 kB / 1.33 GB, free: 13.68 MB / 1.029 GB Notification: Performance of pre-optimization done (n=9): time 1.323e-06/0.5298, allocations: 0 / 1.33 GB, free: 13.68 MB / 1.029 GB Notification: Performance of matching and sorting (n=9): time 0.0005961/0.5303, allocations: 181.5 kB / 1.33 GB, free: 13.5 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.84e-05/0.5304, allocations: 81.11 kB / 1.33 GB, free: 13.4 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001849/0.5306, allocations: 174.8 kB / 1.33 GB, free: 13.22 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.555e-05/0.5306, allocations: 25.7 kB / 1.33 GB, free: 13.19 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 9.498e-05/0.5307, allocations: 112 kB / 1.33 GB, free: 13.07 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.553e-05/0.5307, allocations: 27.75 kB / 1.33 GB, free: 13.05 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.567e-05/0.5308, allocations: 25.7 kB / 1.33 GB, free: 13.02 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001725/0.531, allocations: 334.8 kB / 1.331 GB, free: 12.68 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001321/0.5311, allocations: 39.97 kB / 1.331 GB, free: 12.64 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001396/0.5312, allocations: 61.62 kB / 1.331 GB, free: 12.57 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002803/0.5315, allocations: 97.67 kB / 1.331 GB, free: 12.47 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.5315, allocations: 0 / 1.331 GB, free: 12.47 MB / 1.029 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000347/0.5319, allocations: 153.5 kB / 1.331 GB, free: 12.32 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.105e-05/0.5319, allocations: 8 kB / 1.331 GB, free: 12.31 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.446e-06/0.5319, allocations: 0 / 1.331 GB, free: 12.31 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.272e-05/0.5319, allocations: 0 / 1.331 GB, free: 12.31 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001498/0.5321, allocations: 20.36 kB / 1.331 GB, free: 12.29 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.897e-06/0.5321, allocations: 4 kB / 1.331 GB, free: 12.29 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001172/0.5322, allocations: 15.92 kB / 1.331 GB, free: 12.27 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.488e-05/0.5322, allocations: 12 kB / 1.331 GB, free: 12.26 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.0001196/0.5323, allocations: 118.3 kB / 1.331 GB, free: 12.13 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.189e-05/0.5324, allocations: 15.91 kB / 1.331 GB, free: 12.12 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004357/0.5328, allocations: 154.7 kB / 1.331 GB, free: 11.96 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.1e-06/0.5328, allocations: 4 kB / 1.331 GB, free: 11.95 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.611e-06/0.5328, allocations: 8.172 kB / 1.331 GB, free: 11.95 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.503e-06/0.5328, allocations: 3.938 kB / 1.331 GB, free: 11.94 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003194/0.5332, allocations: 196.6 kB / 1.332 GB, free: 11.71 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.907e-06/0.5332, allocations: 4.172 kB / 1.332 GB, free: 11.7 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001436/0.5333, allocations: 23.98 kB / 1.332 GB, free: 11.68 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.5333, allocations: 3.938 kB / 1.332 GB, free: 11.68 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.313e-05/0.5333, allocations: 4 kB / 1.332 GB, free: 11.67 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.107e-05/0.5333, allocations: 3.984 kB / 1.332 GB, free: 11.67 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.5333, allocations: 0 / 1.332 GB, free: 11.67 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004629/0.5338, allocations: 318.6 kB / 1.332 GB, free: 11.34 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 3.507e-05/0.5338, allocations: 11.91 kB / 1.332 GB, free: 11.33 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.611e-05/0.5339, allocations: 0 / 1.332 GB, free: 11.33 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001667/0.534, allocations: 11.98 kB / 1.332 GB, free: 11.32 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.297e-05/0.5341, allocations: 15.92 kB / 1.332 GB, free: 11.3 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.137e-06/0.5341, allocations: 4 kB / 1.332 GB, free: 11.3 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001088/0.5342, allocations: 123.2 kB / 1.332 GB, free: 11.18 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.5342, allocations: 0 / 1.332 GB, free: 11.18 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002921/0.5345, allocations: 28 kB / 1.332 GB, free: 11.15 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.0007799/0.5353, allocations: 0.8483 MB / 1.333 GB, free: 10.27 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003686/0.5357, allocations: 95.92 kB / 1.333 GB, free: 10.18 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.5357, allocations: 0 / 1.333 GB, free: 10.18 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001554/0.5358, allocations: 51.91 kB / 1.333 GB, free: 10.12 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004505/0.5363, allocations: 52.47 kB / 1.333 GB, free: 10.07 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002632/0.5389, allocations: 1.827 MB / 1.335 GB, free: 8.16 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003975/0.5393, allocations: 0.7045 MB / 1.336 GB, free: 7.43 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 8.74e-05/0.5394, allocations: 12.64 kB / 1.336 GB, free: 7.418 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.69e-05/0.5395, allocations: 35.42 kB / 1.336 GB, free: 7.383 MB / 1.029 GB Notification: Performance of SimCode: time 7.92e-07/0.5395, allocations: 0 / 1.336 GB, free: 7.383 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03789/0.5774, allocations: 3.799 MB / 1.339 GB, free: 3.77 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.56/12.14, allocations: 5.484 kB / 1.339 GB, free: 3.766 MB / 1.029 GB " [Timeout remaining time 288] (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: 19.975593655137345]