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) 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.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001322/0.001322, allocations: 108 kB / 15.6 MB, free: 132 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.001403/0.001403, allocations: 199.7 kB / 16.54 MB, free: 6.672 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.387/1.387, allocations: 222.9 MB / 240.2 MB, free: 4.398 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.764/2.764, allocations: 437.1 MB / 0.7104 GB, free: 5.047 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001651/0.001651, allocations: 67.89 kB / 0.8693 GB, free: 4.52 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9159/0.9176, allocations: 151.6 MB / 1.017 GB, free: 2.426 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.003388/0.921, allocations: 1.82 MB / 1.019 GB, free: 0.5938 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0003877/0.9214, allocations: 119.6 kB / 1.019 GB, free: 488 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001122/0.9216, allocations: 0 / 1.019 GB, free: 488 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.0001228/0.9217, allocations: 23.78 kB / 1.019 GB, free: 464 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0001041/0.9218, allocations: 51.5 kB / 1.019 GB, free: 412 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001433/0.922, allocations: 31.95 kB / 1.019 GB, free: 380 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0002307/0.9222, allocations: 171.1 kB / 1.02 GB, free: 208 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001381/0.9224, allocations: 29.09 kB / 1.02 GB, free: 176 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001291/0.9225, allocations: 55.8 kB / 1.02 GB, free: 120 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001217/0.9226, allocations: 67.75 kB / 1.02 GB, free: 52 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 3.459e-05/0.9227, allocations: 12 kB / 1.02 GB, free: 40 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 3.242e-05/0.9227, allocations: 8 kB / 1.02 GB, free: 32 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 3.573e-05/0.9228, allocations: 23.91 kB / 1.02 GB, free: 8 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.0001058/0.9229, allocations: 63.8 kB / 1.02 GB, free: 15.94 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001898/0.9231, allocations: 125.7 kB / 1.02 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.9231, allocations: 4 kB / 1.02 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.813e-06/0.9231, allocations: 0 / 1.02 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 9.137e-06/0.9231, allocations: 0 / 1.02 GB, free: 15.82 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0008858/0.924, allocations: 454.8 kB / 1.02 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.745e-05/0.924, allocations: 8.031 kB / 1.02 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.784e-05/0.9241, allocations: 38.75 kB / 1.02 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.334e-05/0.9242, allocations: 20.75 kB / 1.02 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002819/0.9245, allocations: 209.5 kB / 1.021 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.418e-06/0.9245, allocations: 4.375 kB / 1.021 GB, free: 15 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.118e-05/0.9245, allocations: 8.375 kB / 1.021 GB, free: 15 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003194/0.9248, allocations: 118.2 kB / 1.021 GB, free: 14.87 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.097e-05/0.9248, allocations: 3.938 kB / 1.021 GB, free: 14.87 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.562e-05/0.9249, allocations: 0 / 1.021 GB, free: 14.87 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.247e-06/0.9249, allocations: 8 kB / 1.021 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003112/0.9252, allocations: 99.86 kB / 1.021 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008536/0.9261, allocations: 476.6 kB / 1.021 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003997/0.9265, allocations: 121.2 kB / 1.021 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000186/0.9267, allocations: 65.77 kB / 1.021 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.697e-05/0.9267, allocations: 11.94 kB / 1.022 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.53e-05/0.9267, allocations: 30.56 kB / 1.022 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=9): time 1.493e-06/0.9268, allocations: 0 / 1.022 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of matching and sorting (n=9): time 0.000594/0.9274, allocations: 177.6 kB / 1.022 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.699e-05/0.9274, allocations: 81.11 kB / 1.022 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001629/0.9276, allocations: 176.6 kB / 1.022 GB, free: 13.53 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.909e-05/0.9276, allocations: 25.7 kB / 1.022 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 7.328e-05/0.9277, allocations: 108 kB / 1.022 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.837e-05/0.9277, allocations: 27.56 kB / 1.022 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.421e-05/0.9278, allocations: 25.7 kB / 1.022 GB, free: 13.33 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001274/0.9279, allocations: 326.8 kB / 1.022 GB, free: 13 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001413/0.9281, allocations: 39.97 kB / 1.022 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001413/0.9282, allocations: 61.62 kB / 1.023 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002906/0.9285, allocations: 113.8 kB / 1.023 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.9285, allocations: 0 / 1.023 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003585/0.9289, allocations: 149.4 kB / 1.023 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.608e-05/0.9289, allocations: 4 kB / 1.023 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.531e-06/0.9289, allocations: 3.938 kB / 1.023 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.741e-05/0.929, allocations: 7.984 kB / 1.023 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001483/0.9291, allocations: 19.98 kB / 1.023 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.554e-06/0.9291, allocations: 0 / 1.023 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001211/0.9292, allocations: 23.86 kB / 1.023 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.134e-05/0.9293, allocations: 4 kB / 1.023 GB, free: 12.56 MB / 0.7794 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 9.848e-05/0.9294, allocations: 117.8 kB / 1.023 GB, free: 12.44 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.819e-05/0.9294, allocations: 15.81 kB / 1.023 GB, free: 12.42 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004387/0.9299, allocations: 158.5 kB / 1.023 GB, free: 12.26 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/0.9299, allocations: 0 / 1.023 GB, free: 12.26 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.408e-06/0.9299, allocations: 4 kB / 1.023 GB, free: 12.26 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.931e-06/0.9299, allocations: 3.938 kB / 1.023 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003062/0.9302, allocations: 217.7 kB / 1.023 GB, free: 11.99 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.9302, allocations: 4 kB / 1.023 GB, free: 11.99 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001387/0.9304, allocations: 27.92 kB / 1.023 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.192e-06/0.9304, allocations: 3.984 kB / 1.023 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.044e-05/0.9304, allocations: 0 / 1.023 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.9304, allocations: 0 / 1.023 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.388e-05/0.9304, allocations: 4 kB / 1.023 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004537/0.9309, allocations: 314.7 kB / 1.024 GB, free: 11.63 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.259e-05/0.931, allocations: 85.02 kB / 1.024 GB, free: 11.53 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.151e-05/0.931, allocations: 7.984 kB / 1.024 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000162/0.9312, allocations: 12 kB / 1.024 GB, free: 11.51 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.653e-05/0.9312, allocations: 11.92 kB / 1.024 GB, free: 11.5 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.284e-06/0.9313, allocations: 0 / 1.024 GB, free: 11.5 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001277/0.9314, allocations: 135.8 kB / 1.024 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9314, allocations: 0 / 1.024 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002893/0.9317, allocations: 27.94 kB / 1.024 GB, free: 11.34 MB / 0.7794 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.000737/0.9324, allocations: 0.8482 MB / 1.025 GB, free: 10.46 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003547/0.9328, allocations: 107.9 kB / 1.025 GB, free: 10.36 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.9328, allocations: 0 / 1.025 GB, free: 10.36 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001625/0.933, allocations: 55.91 kB / 1.025 GB, free: 10.3 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004957/0.9335, allocations: 40.3 kB / 1.025 GB, free: 10.26 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002359/0.9358, allocations: 1.825 MB / 1.027 GB, free: 8.344 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003049/0.9362, allocations: 0.7122 MB / 1.027 GB, free: 7.605 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 9.01e-05/0.9363, allocations: 16.86 kB / 1.027 GB, free: 7.59 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.806e-05/0.9364, allocations: 35.38 kB / 1.027 GB, free: 7.559 MB / 0.7794 GB Notification: Performance of SimCode: time 3.41e-07/0.9364, allocations: 0 / 1.027 GB, free: 7.559 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02155/0.9579, allocations: 3.587 MB / 1.031 GB, free: 4.133 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.686/8.644, allocations: 6.703 kB / 1.031 GB, free: 4.129 MB / 0.7794 GB (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 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Controls_SetPoints_Examples_SupplyReturnTemperatureReset.fmu > Buildings_10_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe 2>&1) 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/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches