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.001457/0.001457, allocations: 108 kB / 15.61 MB, free: 152 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.001421/0.001422, allocations: 195.5 kB / 16.53 MB, free: 6.664 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.283/1.283, allocations: 222.9 MB / 240.2 MB, free: 4.406 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.543/2.543, allocations: 469.8 MB / 0.7424 GB, free: 7.414 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001781/0.001781, allocations: 65.34 kB / 0.9086 GB, free: 34.29 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2454/0.2472, allocations: 159.2 MB / 1.064 GB, free: 14.18 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.002834/0.2501, allocations: 1.83 MB / 1.066 GB, free: 12.34 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0002496/0.2503, allocations: 119.6 kB / 1.066 GB, free: 12.22 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.919e-05/0.2504, allocations: 0 / 1.066 GB, free: 12.22 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 8.925e-05/0.2505, allocations: 15.8 kB / 1.066 GB, free: 12.21 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 8.543e-05/0.2506, allocations: 55.55 kB / 1.066 GB, free: 12.15 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001051/0.2507, allocations: 31.95 kB / 1.066 GB, free: 12.12 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.000192/0.2509, allocations: 171.1 kB / 1.066 GB, free: 11.95 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000102/0.251, allocations: 21.12 kB / 1.066 GB, free: 11.93 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 7.223e-05/0.2511, allocations: 59.78 kB / 1.066 GB, free: 11.88 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 9.824e-05/0.2512, allocations: 67.75 kB / 1.066 GB, free: 11.81 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.432e-05/0.2512, allocations: 8 kB / 1.066 GB, free: 11.8 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 2.751e-05/0.2513, allocations: 12 kB / 1.066 GB, free: 11.79 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 3.076e-05/0.2513, allocations: 23.91 kB / 1.066 GB, free: 11.77 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 7.142e-05/0.2514, allocations: 67.66 kB / 1.066 GB, free: 11.7 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001402/0.2515, allocations: 119.8 kB / 1.067 GB, free: 11.58 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.427e-06/0.2515, allocations: 0 / 1.067 GB, free: 11.58 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.082e-06/0.2515, allocations: 4 kB / 1.067 GB, free: 11.58 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.254e-06/0.2516, allocations: 3.938 kB / 1.067 GB, free: 11.57 MB / 0.8262 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.0007153/0.2523, allocations: 454.8 kB / 1.067 GB, free: 11.08 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.184e-05/0.2523, allocations: 8.031 kB / 1.067 GB, free: 11.07 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.714e-05/0.2524, allocations: 42.73 kB / 1.067 GB, free: 11.02 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.139e-05/0.2524, allocations: 8.844 kB / 1.067 GB, free: 11.01 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001992/0.2526, allocations: 212 kB / 1.067 GB, free: 10.77 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.258e-06/0.2526, allocations: 384 / 1.067 GB, free: 10.77 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.695e-05/0.2527, allocations: 8.375 kB / 1.067 GB, free: 10.76 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000265/0.2529, allocations: 119.9 kB / 1.067 GB, free: 10.63 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.181e-05/0.2529, allocations: 7.875 kB / 1.067 GB, free: 10.62 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.098e-05/0.253, allocations: 0 / 1.067 GB, free: 10.62 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.013e-06/0.253, allocations: 7.984 kB / 1.067 GB, free: 10.61 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002865/0.2533, allocations: 91.94 kB / 1.068 GB, free: 10.52 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006578/0.2539, allocations: 476.5 kB / 1.068 GB, free: 10 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003476/0.2543, allocations: 129.2 kB / 1.068 GB, free: 9.859 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001615/0.2545, allocations: 61.78 kB / 1.068 GB, free: 9.793 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.111e-05/0.2545, allocations: 4 kB / 1.068 GB, free: 9.789 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.039e-05/0.2545, allocations: 34.56 kB / 1.068 GB, free: 9.746 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=9): time 1.082e-06/0.2545, allocations: 0 / 1.068 GB, free: 9.746 MB / 0.8262 GB Notification: Performance of matching and sorting (n=9): time 0.0005384/0.2551, allocations: 181.4 kB / 1.068 GB, free: 9.562 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.113e-05/0.2551, allocations: 77.11 kB / 1.068 GB, free: 9.469 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000152/0.2553, allocations: 180 kB / 1.069 GB, free: 9.285 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.181e-05/0.2553, allocations: 33.7 kB / 1.069 GB, free: 9.246 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.657e-05/0.2554, allocations: 104.1 kB / 1.069 GB, free: 9.141 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.993e-05/0.2554, allocations: 35.61 kB / 1.069 GB, free: 9.105 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.717e-05/0.2555, allocations: 21.72 kB / 1.069 GB, free: 9.078 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001292/0.2556, allocations: 326.8 kB / 1.069 GB, free: 8.75 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000142/0.2557, allocations: 39.97 kB / 1.069 GB, free: 8.711 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001439/0.2559, allocations: 69.55 kB / 1.069 GB, free: 8.637 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002702/0.2562, allocations: 105.9 kB / 1.069 GB, free: 8.527 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.2562, allocations: 0 / 1.069 GB, free: 8.527 MB / 0.8262 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003376/0.2565, allocations: 145.4 kB / 1.069 GB, free: 8.379 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.05e-05/0.2565, allocations: 8 kB / 1.069 GB, free: 8.371 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.068e-06/0.2566, allocations: 0 / 1.069 GB, free: 8.371 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.056e-05/0.2566, allocations: 0 / 1.069 GB, free: 8.371 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001429/0.2567, allocations: 32.16 kB / 1.069 GB, free: 8.34 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.428e-06/0.2567, allocations: 0 / 1.069 GB, free: 8.34 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001108/0.2569, allocations: 19.86 kB / 1.07 GB, free: 8.32 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.256e-06/0.2569, allocations: 0 / 1.07 GB, free: 8.32 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 9.098e-05/0.257, allocations: 121.8 kB / 1.07 GB, free: 8.191 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.079e-05/0.257, allocations: 19.81 kB / 1.07 GB, free: 8.172 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003907/0.2574, allocations: 154.5 kB / 1.07 GB, free: 8.02 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.2574, allocations: 0 / 1.07 GB, free: 8.02 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/0.2574, allocations: 3.984 kB / 1.07 GB, free: 8.016 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.051e-06/0.2574, allocations: 7.938 kB / 1.07 GB, free: 8.008 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000272/0.2577, allocations: 213.5 kB / 1.07 GB, free: 7.75 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.163e-06/0.2577, allocations: 4 kB / 1.07 GB, free: 7.746 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001358/0.2579, allocations: 23.98 kB / 1.07 GB, free: 7.723 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.958e-06/0.2579, allocations: 4 kB / 1.07 GB, free: 7.719 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.168e-06/0.2579, allocations: 0 / 1.07 GB, free: 7.719 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.2579, allocations: 0 / 1.07 GB, free: 7.719 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.2579, allocations: 192 / 1.07 GB, free: 7.719 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003984/0.2583, allocations: 326.5 kB / 1.07 GB, free: 7.383 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.573e-05/0.2584, allocations: 88.92 kB / 1.07 GB, free: 7.277 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.396e-05/0.2584, allocations: 0 / 1.07 GB, free: 7.277 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001633/0.2586, allocations: 15.98 kB / 1.07 GB, free: 7.262 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.194e-05/0.2586, allocations: 12.16 kB / 1.07 GB, free: 7.25 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.001e-06/0.2586, allocations: 0 / 1.07 GB, free: 7.25 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 9.263e-05/0.2587, allocations: 127.2 kB / 1.071 GB, free: 7.125 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2587, allocations: 4 kB / 1.071 GB, free: 7.121 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002665/0.259, allocations: 24 kB / 1.071 GB, free: 7.098 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.0006768/0.2597, allocations: 0.8483 MB / 1.071 GB, free: 6.219 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003265/0.26, allocations: 107.9 kB / 1.072 GB, free: 6.113 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.26, allocations: 192 / 1.072 GB, free: 6.113 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001485/0.2602, allocations: 55.91 kB / 1.072 GB, free: 6.059 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004056/0.2606, allocations: 48.2 kB / 1.072 GB, free: 6.012 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002096/0.2627, allocations: 1.824 MB / 1.073 GB, free: 4.098 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002963/0.263, allocations: 0.7122 MB / 1.074 GB, free: 3.359 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 7.1e-05/0.2631, allocations: 8.656 kB / 1.074 GB, free: 3.348 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.127e-05/0.2632, allocations: 39.42 kB / 1.074 GB, free: 3.309 MB / 0.8262 GB Notification: Performance of SimCode: time 2.4e-07/0.2632, allocations: 0 / 1.074 GB, free: 3.309 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9917/1.255, allocations: 3.584 MB / 1.078 GB, free: 15.89 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.85/12.11, allocations: 9.75 kB / 1.078 GB, free: 15.88 MB / 0.8419 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