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.00123/0.00123, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001282/0.001282, allocations: 193.2 kB / 16.14 MB, free: 6.652 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.237/1.237, allocations: 222.9 MB / 239.8 MB, free: 4.598 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.427/2.427, allocations: 461.9 MB / 0.7342 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001242/0.001242, allocations: 71.28 kB / 0.8985 GB, free: 37.03 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2381/0.2394, allocations: 157.4 MB / 1.052 GB, free: 8.188 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.002802/0.2422, allocations: 1.883 MB / 1.054 GB, free: 6.289 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0002859/0.2425, allocations: 115.6 kB / 1.054 GB, free: 6.176 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.333e-05/0.2426, allocations: 0 / 1.054 GB, free: 6.176 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001014/0.2427, allocations: 19.8 kB / 1.054 GB, free: 6.156 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 9.471e-05/0.2429, allocations: 47.62 kB / 1.054 GB, free: 6.109 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001091/0.243, allocations: 27.97 kB / 1.054 GB, free: 6.082 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001893/0.2432, allocations: 163.1 kB / 1.054 GB, free: 5.922 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001013/0.2433, allocations: 33.09 kB / 1.054 GB, free: 5.891 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 6.849e-05/0.2433, allocations: 51.78 kB / 1.054 GB, free: 5.84 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 8.707e-05/0.2434, allocations: 63.75 kB / 1.055 GB, free: 5.777 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.235e-05/0.2435, allocations: 4 kB / 1.055 GB, free: 5.773 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 2.494e-05/0.2435, allocations: 4 kB / 1.055 GB, free: 5.77 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.848e-05/0.2435, allocations: 19.92 kB / 1.055 GB, free: 5.75 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 6.615e-05/0.2436, allocations: 63.66 kB / 1.055 GB, free: 5.688 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001228/0.2437, allocations: 115.8 kB / 1.055 GB, free: 5.574 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.2437, allocations: 0 / 1.055 GB, free: 5.574 MB / 0.8106 GB Notification: Performance of FrontEnd: time 7.41e-07/0.2437, allocations: 4 kB / 1.055 GB, free: 5.57 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.567e-06/0.2438, allocations: 0 / 1.055 GB, free: 5.57 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.0006952/0.2445, allocations: 450.9 kB / 1.055 GB, free: 5.078 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.631e-05/0.2445, allocations: 11.97 kB / 1.055 GB, free: 5.066 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.028e-05/0.2445, allocations: 42.73 kB / 1.055 GB, free: 5.016 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.305e-05/0.2446, allocations: 24.75 kB / 1.055 GB, free: 4.992 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001819/0.2448, allocations: 204 kB / 1.055 GB, free: 4.754 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.755e-06/0.2448, allocations: 384 / 1.055 GB, free: 4.754 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.771e-05/0.2448, allocations: 12.38 kB / 1.055 GB, free: 4.742 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002597/0.2451, allocations: 111.9 kB / 1.056 GB, free: 4.621 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.356e-06/0.2451, allocations: 3.938 kB / 1.056 GB, free: 4.617 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.495e-05/0.2451, allocations: 4 kB / 1.056 GB, free: 4.613 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.412e-06/0.2451, allocations: 7.938 kB / 1.056 GB, free: 4.605 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002853/0.2454, allocations: 91.94 kB / 1.056 GB, free: 4.516 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006561/0.2461, allocations: 480.5 kB / 1.056 GB, free: 3.992 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003576/0.2465, allocations: 125.3 kB / 1.056 GB, free: 3.852 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001549/0.2466, allocations: 61.72 kB / 1.056 GB, free: 3.785 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.318e-05/0.2467, allocations: 4 kB / 1.056 GB, free: 3.781 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.975e-05/0.2467, allocations: 38.55 kB / 1.056 GB, free: 3.734 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=9): time 1.202e-06/0.2467, allocations: 0 / 1.056 GB, free: 3.734 MB / 0.8106 GB Notification: Performance of matching and sorting (n=9): time 0.0005483/0.2472, allocations: 177.5 kB / 1.057 GB, free: 3.555 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.988e-05/0.2473, allocations: 81.11 kB / 1.057 GB, free: 3.457 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001346/0.2474, allocations: 175.9 kB / 1.057 GB, free: 3.277 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.531e-05/0.2474, allocations: 25.7 kB / 1.057 GB, free: 3.246 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 6.081e-05/0.2475, allocations: 108 kB / 1.057 GB, free: 3.137 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.896e-05/0.2475, allocations: 31.55 kB / 1.057 GB, free: 3.105 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.737e-05/0.2476, allocations: 25.72 kB / 1.057 GB, free: 3.074 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.247e-05/0.2477, allocations: 322.8 kB / 1.057 GB, free: 2.75 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001461/0.2478, allocations: 47.91 kB / 1.057 GB, free: 2.703 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001402/0.248, allocations: 65.61 kB / 1.057 GB, free: 2.633 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002656/0.2483, allocations: 105.6 kB / 1.057 GB, free: 2.523 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.2483, allocations: 0 / 1.057 GB, free: 2.523 MB / 0.8106 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003479/0.2486, allocations: 153.8 kB / 1.058 GB, free: 2.367 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.332e-05/0.2487, allocations: 4 kB / 1.058 GB, free: 2.363 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.2487, allocations: 0 / 1.058 GB, free: 2.363 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.251e-05/0.2487, allocations: 7.984 kB / 1.058 GB, free: 2.355 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001546/0.2488, allocations: 19.98 kB / 1.058 GB, free: 2.336 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/0.2489, allocations: 0 / 1.058 GB, free: 2.336 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000121/0.249, allocations: 15.92 kB / 1.058 GB, free: 2.32 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.133e-05/0.249, allocations: 4.188 kB / 1.058 GB, free: 2.316 MB / 0.8106 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.719e-05/0.2491, allocations: 127.8 kB / 1.058 GB, free: 2.184 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.048e-05/0.2491, allocations: 11.81 kB / 1.058 GB, free: 2.172 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003879/0.2495, allocations: 154.6 kB / 1.058 GB, free: 2.02 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.91e-06/0.2495, allocations: 3.984 kB / 1.058 GB, free: 2.016 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/0.2496, allocations: 7.938 kB / 1.058 GB, free: 2.008 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/0.2496, allocations: 3.938 kB / 1.058 GB, free: 2.004 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002587/0.2498, allocations: 225.6 kB / 1.058 GB, free: 1.734 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.416e-06/0.2498, allocations: 4 kB / 1.058 GB, free: 1.73 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001435/0.25, allocations: 19.98 kB / 1.058 GB, free: 1.711 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.25, allocations: 0 / 1.058 GB, free: 1.711 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.819e-06/0.25, allocations: 0 / 1.058 GB, free: 1.711 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.25, allocations: 0 / 1.058 GB, free: 1.711 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.876e-06/0.25, allocations: 4 kB / 1.058 GB, free: 1.707 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003735/0.2504, allocations: 318.5 kB / 1.058 GB, free: 1.379 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.541e-05/0.2505, allocations: 85.02 kB / 1.059 GB, free: 1.277 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.613e-05/0.2505, allocations: 4 kB / 1.059 GB, free: 1.273 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001726/0.2507, allocations: 11.98 kB / 1.059 GB, free: 1.262 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.423e-05/0.2507, allocations: 11.92 kB / 1.059 GB, free: 1.25 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.354e-06/0.2507, allocations: 288 / 1.059 GB, free: 1.25 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 8.798e-05/0.2508, allocations: 136.2 kB / 1.059 GB, free: 1.117 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.41e-07/0.2508, allocations: 0 / 1.059 GB, free: 1.117 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002913/0.2511, allocations: 35.84 kB / 1.059 GB, free: 1.082 MB / 0.8106 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.0006/0.2517, allocations: 0.8444 MB / 1.06 GB, free: 212 kB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0003159/0.2521, allocations: 100.1 kB / 1.06 GB, free: 112 kB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.2521, allocations: 0 / 1.06 GB, free: 112 kB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001504/0.2522, allocations: 60.03 kB / 1.06 GB, free: 52 kB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004528/0.2527, allocations: 47.84 kB / 1.06 GB, free: 4 kB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002067/0.2548, allocations: 1.847 MB / 1.062 GB, free: 14.07 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002237/0.255, allocations: 0.7048 MB / 1.062 GB, free: 13.34 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001011/0.2551, allocations: 12.8 kB / 1.062 GB, free: 13.32 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.967e-05/0.2552, allocations: 35.42 kB / 1.062 GB, free: 13.29 MB / 0.8262 GB Notification: Performance of SimCode: time 2.6e-07/0.2552, allocations: 96 / 1.062 GB, free: 13.29 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.432/0.6872, allocations: 3.319 MB / 1.066 GB, free: 10.16 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002608/0.6875, allocations: 232.1 kB / 1.066 GB, free: 9.895 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.724/2.411, allocations: 0 / 1.066 GB, free: 9.895 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