Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_Buildings_Controls_SetPoints_Examples_SupplyReturnTemperatureReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,fileNamePrefix="Buildings_latest_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.0008979/0.0008979, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.005634/0.005634, allocations: 171 kB / 16.26 MB, free: 6.613 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.281/1.281, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.561/2.561, allocations: 462.6 MB / 0.7364 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0002862/0.0002862, allocations: 11.66 kB / 0.9029 GB, free: 36.39 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2268/0.2271, allocations: 159.6 MB / 1.059 GB, free: 4.934 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.001645/0.2288, allocations: 1.548 MB / 1.06 GB, free: 3.375 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0002406/0.229, allocations: 119.6 kB / 1.06 GB, free: 3.258 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.832e-05/0.2291, allocations: 0 / 1.06 GB, free: 3.258 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 8.384e-05/0.2292, allocations: 15.86 kB / 1.06 GB, free: 3.242 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 9.325e-05/0.2293, allocations: 47.56 kB / 1.06 GB, free: 3.195 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.000103/0.2294, allocations: 31.97 kB / 1.06 GB, free: 3.164 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001694/0.2296, allocations: 163.1 kB / 1.061 GB, free: 3.004 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 9.174e-05/0.2297, allocations: 21.11 kB / 1.061 GB, free: 2.984 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 6.924e-05/0.2298, allocations: 55.78 kB / 1.061 GB, free: 2.93 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 8.99e-05/0.2299, allocations: 55.77 kB / 1.061 GB, free: 2.875 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.243e-05/0.2299, allocations: 8 kB / 1.061 GB, free: 2.867 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.969e-05/0.23, allocations: 4 kB / 1.061 GB, free: 2.863 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.467e-05/0.23, allocations: 19.91 kB / 1.061 GB, free: 2.844 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 6.725e-05/0.2301, allocations: 81.38 kB / 1.061 GB, free: 2.758 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001343/0.2302, allocations: 119.8 kB / 1.061 GB, free: 2.641 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.2302, allocations: 0 / 1.061 GB, free: 2.641 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.483e-06/0.2302, allocations: 0 / 1.061 GB, free: 2.641 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.078e-06/0.2302, allocations: 0 / 1.061 GB, free: 2.641 MB / 0.8106 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.0006309/0.2309, allocations: 447 kB / 1.061 GB, free: 2.152 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.956e-05/0.2309, allocations: 15.97 kB / 1.061 GB, free: 2.137 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.236e-05/0.231, allocations: 38.69 kB / 1.061 GB, free: 2.09 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.743e-05/0.231, allocations: 16.75 kB / 1.061 GB, free: 2.074 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001816/0.2312, allocations: 204.1 kB / 1.062 GB, free: 1.836 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.347e-06/0.2312, allocations: 8.375 kB / 1.062 GB, free: 1.828 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.721e-05/0.2312, allocations: 8.375 kB / 1.062 GB, free: 1.82 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002736/0.2315, allocations: 123.8 kB / 1.062 GB, free: 1.688 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.176e-05/0.2315, allocations: 3.938 kB / 1.062 GB, free: 1.684 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.357e-05/0.2315, allocations: 4 kB / 1.062 GB, free: 1.68 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.2316, allocations: 8 kB / 1.062 GB, free: 1.672 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000301/0.2319, allocations: 103.9 kB / 1.062 GB, free: 1.57 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006265/0.2325, allocations: 484.5 kB / 1.062 GB, free: 1.043 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003444/0.2328, allocations: 137.2 kB / 1.063 GB, free: 0.8906 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001662/0.233, allocations: 69.78 kB / 1.063 GB, free: 0.8164 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.124e-05/0.2331, allocations: 0 / 1.063 GB, free: 0.8164 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.915e-05/0.2331, allocations: 38.56 kB / 1.063 GB, free: 0.7695 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=9): time 9.21e-07/0.2331, allocations: 0 / 1.063 GB, free: 0.7695 MB / 0.8106 GB Notification: Performance of matching and sorting (n=9): time 0.0005725/0.2337, allocations: 201.5 kB / 1.063 GB, free: 0.5664 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.541e-05/0.2337, allocations: 81.09 kB / 1.063 GB, free: 480 kB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001275/0.2338, allocations: 167.9 kB / 1.063 GB, free: 304 kB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.575e-05/0.2339, allocations: 29.7 kB / 1.063 GB, free: 268 kB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.46e-05/0.2339, allocations: 112 kB / 1.063 GB, free: 152 kB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.606e-05/0.234, allocations: 35.55 kB / 1.063 GB, free: 116 kB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.793e-05/0.234, allocations: 13.72 kB / 1.063 GB, free: 96 kB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.243e-05/0.2341, allocations: 326.8 kB / 1.064 GB, free: 15.77 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001587/0.2343, allocations: 47.97 kB / 1.064 GB, free: 15.72 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001468/0.2344, allocations: 77.5 kB / 1.064 GB, free: 15.64 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002913/0.2347, allocations: 121.7 kB / 1.064 GB, free: 15.51 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.2347, allocations: 0 / 1.064 GB, free: 15.51 MB / 0.8262 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003589/0.2351, allocations: 165.6 kB / 1.064 GB, free: 15.34 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.35e-05/0.2351, allocations: 8 kB / 1.064 GB, free: 15.34 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.067e-06/0.2351, allocations: 0 / 1.064 GB, free: 15.34 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.837e-06/0.2351, allocations: 0 / 1.064 GB, free: 15.34 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001495/0.2353, allocations: 27.98 kB / 1.064 GB, free: 15.31 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.89e-06/0.2353, allocations: 0 / 1.064 GB, free: 15.31 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001216/0.2354, allocations: 15.92 kB / 1.064 GB, free: 15.29 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.258e-05/0.2354, allocations: 8 kB / 1.064 GB, free: 15.29 MB / 0.8262 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 7.786e-05/0.2355, allocations: 123.3 kB / 1.064 GB, free: 15.16 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.18e-05/0.2356, allocations: 15.81 kB / 1.064 GB, free: 15.14 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004126/0.236, allocations: 174.5 kB / 1.064 GB, free: 14.97 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.236, allocations: 0 / 1.064 GB, free: 14.97 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.407e-06/0.236, allocations: 0 / 1.064 GB, free: 14.97 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.236, allocations: 7.938 kB / 1.064 GB, free: 14.96 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002555/0.2363, allocations: 221.6 kB / 1.065 GB, free: 14.7 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.562e-06/0.2363, allocations: 0 / 1.065 GB, free: 14.7 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001407/0.2364, allocations: 28.2 kB / 1.065 GB, free: 14.67 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.205e-06/0.2365, allocations: 4 kB / 1.065 GB, free: 14.66 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.997e-06/0.2365, allocations: 4 kB / 1.065 GB, free: 14.66 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.2365, allocations: 0 / 1.065 GB, free: 14.66 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.2365, allocations: 0 / 1.065 GB, free: 14.66 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000391/0.2369, allocations: 334.5 kB / 1.065 GB, free: 14.32 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.108e-05/0.2369, allocations: 93 kB / 1.065 GB, free: 14.21 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.086e-05/0.237, allocations: 0 / 1.065 GB, free: 14.21 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001686/0.2371, allocations: 12 kB / 1.065 GB, free: 14.2 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.191e-05/0.2372, allocations: 11.92 kB / 1.065 GB, free: 14.18 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.175e-06/0.2372, allocations: 8.188 kB / 1.065 GB, free: 14.18 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 8.415e-05/0.2373, allocations: 132.5 kB / 1.065 GB, free: 14.05 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2373, allocations: 0 / 1.065 GB, free: 14.05 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.000275/0.2376, allocations: 28 kB / 1.065 GB, free: 14.02 MB / 0.8262 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.0006055/0.2382, allocations: 0.8598 MB / 1.066 GB, free: 13.13 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003323/0.2385, allocations: 119.9 kB / 1.066 GB, free: 13.01 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 4.418e-06/0.2385, allocations: 0 / 1.066 GB, free: 13.01 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001588/0.2387, allocations: 71.84 kB / 1.066 GB, free: 12.94 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004408/0.2392, allocations: 38.45 kB / 1.066 GB, free: 12.91 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001981/0.2411, allocations: 1.889 MB / 1.068 GB, free: 10.92 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002024/0.2414, allocations: 0.7087 MB / 1.069 GB, free: 10.19 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 8.015e-05/0.2414, allocations: 8.656 kB / 1.069 GB, free: 10.18 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.888e-05/0.2415, allocations: 39.42 kB / 1.069 GB, free: 10.14 MB / 0.8262 GB Notification: Performance of SimCode: time 2.4e-07/0.2415, allocations: 0 / 1.069 GB, free: 10.14 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.731/1.972, allocations: 3.247 MB / 1.072 GB, free: 7.109 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000269/1.973, allocations: 229.5 kB / 1.072 GB, free: 6.852 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.747/3.719, allocations: 0 / 1.072 GB, free: 6.852 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; mkfifo Buildings_latest_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe >> ../files/Buildings_latest_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_SetPoints_Examples_SupplyReturnTemperatureReset_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_SetPoints_Examples_SupplyReturnTemperatureReset.fmu > Buildings_latest_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_SetPoints_Examples_SupplyReturnTemperatureReset.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches