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) 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 11.1.0-maint.11.x/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004465/0.004465, allocations: 100.9 kB / 15.73 MB, free: 6.043 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001346/0.001346, allocations: 202.3 kB / 16.68 MB, free: 5.965 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.293/1.293, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.594/2.594, allocations: 469.8 MB / 0.7425 GB, free: 7.312 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001786/0.001786, allocations: 63.91 kB / 1.065 GB, free: 13.61 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2775/0.2793, allocations: 159.1 MB / 1.22 GB, free: 14.36 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.002708/0.282, allocations: 1.828 MB / 1.222 GB, free: 12.51 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0002602/0.2823, allocations: 119.6 kB / 1.222 GB, free: 12.39 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.386e-05/0.2824, allocations: 4 kB / 1.222 GB, free: 12.39 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 8.964e-05/0.2825, allocations: 15.8 kB / 1.222 GB, free: 12.38 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 8.416e-05/0.2826, allocations: 47.55 kB / 1.222 GB, free: 12.33 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.000108/0.2827, allocations: 35.95 kB / 1.222 GB, free: 12.29 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002016/0.2829, allocations: 175.1 kB / 1.222 GB, free: 12.12 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 9.652e-05/0.283, allocations: 21.11 kB / 1.222 GB, free: 12.1 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 7.047e-05/0.2831, allocations: 51.8 kB / 1.222 GB, free: 12.05 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001027/0.2832, allocations: 67.75 kB / 1.222 GB, free: 11.98 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.319e-05/0.2832, allocations: 12 kB / 1.222 GB, free: 11.97 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 2.519e-05/0.2833, allocations: 12 kB / 1.222 GB, free: 11.96 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.384e-05/0.2833, allocations: 27.89 kB / 1.222 GB, free: 11.93 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 7.086e-05/0.2834, allocations: 63.67 kB / 1.223 GB, free: 11.87 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001607/0.2835, allocations: 127.4 kB / 1.223 GB, free: 11.75 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.853e-06/0.2836, allocations: 3.984 kB / 1.223 GB, free: 11.74 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.613e-06/0.2836, allocations: 0 / 1.223 GB, free: 11.74 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 3.917e-06/0.2836, allocations: 0 / 1.223 GB, free: 11.74 MB / 0.9825 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.000714/0.2843, allocations: 458.8 kB / 1.223 GB, free: 11.24 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.21e-05/0.2843, allocations: 8.031 kB / 1.223 GB, free: 11.23 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.098e-05/0.2844, allocations: 38.69 kB / 1.223 GB, free: 11.19 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.216e-05/0.2844, allocations: 20.78 kB / 1.223 GB, free: 11.17 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002272/0.2846, allocations: 208.1 kB / 1.223 GB, free: 10.93 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.228e-05/0.2847, allocations: 8.375 kB / 1.223 GB, free: 10.92 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.314e-05/0.2847, allocations: 4.375 kB / 1.223 GB, free: 10.91 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002729/0.285, allocations: 127.9 kB / 1.224 GB, free: 10.78 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.046e-05/0.285, allocations: 7.875 kB / 1.224 GB, free: 10.77 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.009e-05/0.285, allocations: 0 / 1.224 GB, free: 10.77 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.002e-06/0.285, allocations: 4 kB / 1.224 GB, free: 10.77 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002936/0.2853, allocations: 91.92 kB / 1.224 GB, free: 10.68 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006631/0.286, allocations: 476.6 kB / 1.224 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003453/0.2863, allocations: 129.2 kB / 1.224 GB, free: 10.01 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001565/0.2865, allocations: 65.78 kB / 1.224 GB, free: 9.941 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.268e-05/0.2865, allocations: 4 kB / 1.224 GB, free: 9.938 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.228e-05/0.2866, allocations: 30.56 kB / 1.224 GB, free: 9.898 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=9): time 1.483e-06/0.2866, allocations: 0 / 1.224 GB, free: 9.898 MB / 0.9825 GB Notification: Performance of matching and sorting (n=9): time 0.0005454/0.2871, allocations: 181.5 kB / 1.224 GB, free: 9.715 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.671e-05/0.2872, allocations: 85.03 kB / 1.225 GB, free: 9.613 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001423/0.2873, allocations: 166.9 kB / 1.225 GB, free: 9.441 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.03e-05/0.2874, allocations: 25.7 kB / 1.225 GB, free: 9.41 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.348e-05/0.2874, allocations: 116.1 kB / 1.225 GB, free: 9.293 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.053e-05/0.2875, allocations: 31.73 kB / 1.225 GB, free: 9.262 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.99e-05/0.2875, allocations: 21.72 kB / 1.225 GB, free: 9.234 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001352/0.2877, allocations: 334.8 kB / 1.225 GB, free: 8.898 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000142/0.2878, allocations: 39.97 kB / 1.225 GB, free: 8.859 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001417/0.288, allocations: 57.62 kB / 1.225 GB, free: 8.797 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002853/0.2882, allocations: 109.7 kB / 1.225 GB, free: 8.684 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.2883, allocations: 0 / 1.225 GB, free: 8.684 MB / 0.9825 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003454/0.2886, allocations: 145.8 kB / 1.226 GB, free: 8.535 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.219e-05/0.2886, allocations: 4 kB / 1.226 GB, free: 8.531 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.707e-06/0.2886, allocations: 64 / 1.226 GB, free: 8.531 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.296e-05/0.2887, allocations: 4 kB / 1.226 GB, free: 8.527 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001434/0.2888, allocations: 23.98 kB / 1.226 GB, free: 8.504 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.332e-06/0.2888, allocations: 3.984 kB / 1.226 GB, free: 8.5 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000118/0.2889, allocations: 31.81 kB / 1.226 GB, free: 8.469 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.197e-06/0.289, allocations: 192 / 1.226 GB, free: 8.469 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 8.641e-05/0.289, allocations: 117.8 kB / 1.226 GB, free: 8.344 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.138e-05/0.2891, allocations: 19.88 kB / 1.226 GB, free: 8.324 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004164/0.2895, allocations: 166.5 kB / 1.226 GB, free: 8.152 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.295e-06/0.2895, allocations: 0 / 1.226 GB, free: 8.152 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.2895, allocations: 0 / 1.226 GB, free: 8.152 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/0.2896, allocations: 3.938 kB / 1.226 GB, free: 8.148 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002749/0.2898, allocations: 213.6 kB / 1.226 GB, free: 7.891 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/0.2898, allocations: 3.984 kB / 1.226 GB, free: 7.887 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001353/0.29, allocations: 23.98 kB / 1.226 GB, free: 7.863 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.028e-06/0.29, allocations: 4 kB / 1.226 GB, free: 7.859 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.719e-06/0.29, allocations: 0 / 1.226 GB, free: 7.859 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.29, allocations: 0 / 1.226 GB, free: 7.859 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.29, allocations: 0 / 1.226 GB, free: 7.859 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004047/0.2904, allocations: 318.8 kB / 1.226 GB, free: 7.531 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.912e-05/0.2905, allocations: 96.97 kB / 1.227 GB, free: 7.418 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.164e-05/0.2905, allocations: 0 / 1.227 GB, free: 7.418 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001633/0.2907, allocations: 15.98 kB / 1.227 GB, free: 7.402 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.238e-05/0.2907, allocations: 11.88 kB / 1.227 GB, free: 7.391 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.626e-06/0.2908, allocations: 4 kB / 1.227 GB, free: 7.387 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001021/0.2909, allocations: 135.2 kB / 1.227 GB, free: 7.254 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1e-07/0.2909, allocations: 0 / 1.227 GB, free: 7.254 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002673/0.2911, allocations: 24 kB / 1.227 GB, free: 7.23 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.0007024/0.2918, allocations: 0.8449 MB / 1.228 GB, free: 6.355 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003321/0.2922, allocations: 103.9 kB / 1.228 GB, free: 6.254 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.477e-06/0.2922, allocations: 0 / 1.228 GB, free: 6.254 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001531/0.2924, allocations: 60.22 kB / 1.228 GB, free: 6.195 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003824/0.2927, allocations: 40.16 kB / 1.228 GB, free: 6.156 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002135/0.2949, allocations: 1.829 MB / 1.23 GB, free: 4.234 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002995/0.2952, allocations: 0.7045 MB / 1.23 GB, free: 3.504 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 7.136e-05/0.2953, allocations: 12.64 kB / 1.23 GB, free: 3.492 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.973e-05/0.2953, allocations: 35.42 kB / 1.23 GB, free: 3.461 MB / 0.9825 GB Notification: Performance of SimCode: time 2.41e-07/0.2954, allocations: 4 kB / 1.23 GB, free: 3.457 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.024/0.3194, allocations: 3.64 MB / 1.234 GB, free: 0 / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.361/8.68, allocations: 9.625 kB / 1.234 GB, free: 15.99 MB / 0.9981 GB (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 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_SetPoints_Examples_SupplyReturnTemperatureReset.fmu > Buildings_11_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe 2>&1) 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/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches