Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn,fileNamePrefix="Buildings_latest_Buildings_Examples_Tutorial_CDL_Controls_Validation_BoilerReturn",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn,fileNamePrefix="Buildings_latest_Buildings_Examples_Tutorial_CDL_Controls_Validation_BoilerReturn",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.007609/0.007609, allocations: 100.8 kB / 15.73 MB, free: 6.016 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.002031/0.002031, allocations: 191.1 kB / 16.67 MB, free: 5.934 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.406/1.406, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.785/2.785, allocations: 482.4 MB / 0.7548 GB, free: 6.863 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.002102/0.002102, allocations: 67.77 kB / 1.083 GB, free: 13.92 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2754/0.2775, allocations: 162.2 MB / 1.241 GB, free: 9.238 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn): time 0.003464/0.281, allocations: 2.039 MB / 1.243 GB, free: 7.184 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0009175/0.282, allocations: 446.7 kB / 1.244 GB, free: 6.746 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001816/0.2822, allocations: 4 kB / 1.244 GB, free: 6.742 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001697/0.2824, allocations: 43.53 kB / 1.244 GB, free: 6.699 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001221/0.2825, allocations: 35.67 kB / 1.244 GB, free: 6.664 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002612/0.2828, allocations: 99.78 kB / 1.244 GB, free: 6.566 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.000335/0.2831, allocations: 288.4 kB / 1.244 GB, free: 6.285 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002943/0.2834, allocations: 161.9 kB / 1.244 GB, free: 6.121 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000136/0.2835, allocations: 95.64 kB / 1.245 GB, free: 6.027 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001392/0.2837, allocations: 111.3 kB / 1.245 GB, free: 5.918 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 5.107e-05/0.2838, allocations: 36 kB / 1.245 GB, free: 5.883 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 3.974e-05/0.2838, allocations: 32 kB / 1.245 GB, free: 5.852 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 6.433e-05/0.2839, allocations: 63.83 kB / 1.245 GB, free: 5.789 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001241/0.284, allocations: 127.3 kB / 1.245 GB, free: 5.664 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0004329/0.2844, allocations: 382.8 kB / 1.245 GB, free: 5.289 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.2844, allocations: 4 kB / 1.245 GB, free: 5.285 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.112e-06/0.2845, allocations: 0 / 1.245 GB, free: 5.285 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 7.053e-06/0.2845, allocations: 0 / 1.245 GB, free: 5.285 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 47 * Number of variables: 47 Notification: Performance of Generate backend data structure: time 0.000935/0.2854, allocations: 0.5494 MB / 1.246 GB, free: 4.688 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.74e-05/0.2854, allocations: 8.031 kB / 1.246 GB, free: 4.68 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.005e-05/0.2855, allocations: 54.73 kB / 1.246 GB, free: 4.617 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.94e-05/0.2856, allocations: 28.8 kB / 1.246 GB, free: 4.59 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003992/0.286, allocations: 269 kB / 1.246 GB, free: 4.289 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.656e-05/0.286, allocations: 16.81 kB / 1.246 GB, free: 4.273 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.647e-05/0.2861, allocations: 24.27 kB / 1.246 GB, free: 4.25 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005069/0.2866, allocations: 242 kB / 1.246 GB, free: 3.996 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.098e-05/0.2866, allocations: 0 / 1.246 GB, free: 3.996 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.996e-05/0.2866, allocations: 8 kB / 1.246 GB, free: 3.988 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.847e-06/0.2866, allocations: 4 kB / 1.246 GB, free: 3.984 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004807/0.2871, allocations: 173 kB / 1.247 GB, free: 3.816 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001247/0.2884, allocations: 0.8407 MB / 1.247 GB, free: 2.918 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005298/0.2889, allocations: 182.7 kB / 1.248 GB, free: 2.73 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002451/0.2892, allocations: 96.75 kB / 1.248 GB, free: 2.633 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.044e-05/0.2892, allocations: 4 kB / 1.248 GB, free: 2.629 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.783e-05/0.2892, allocations: 30.56 kB / 1.248 GB, free: 2.59 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=12): time 3.146e-06/0.2893, allocations: 3.984 kB / 1.248 GB, free: 2.586 MB / 0.9669 GB Notification: Performance of matching and sorting (n=12): time 0.0007026/0.29, allocations: 233.4 kB / 1.248 GB, free: 2.352 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.89e-05/0.29, allocations: 77.33 kB / 1.248 GB, free: 2.258 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002753/0.2903, allocations: 243.1 kB / 1.248 GB, free: 2.012 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.828e-05/0.2903, allocations: 29.7 kB / 1.248 GB, free: 1.977 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001148/0.2905, allocations: 156.2 kB / 1.248 GB, free: 1.82 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.729e-05/0.2905, allocations: 39.64 kB / 1.248 GB, free: 1.781 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.314e-05/0.2906, allocations: 37.7 kB / 1.249 GB, free: 1.738 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001457/0.2907, allocations: 326.8 kB / 1.249 GB, free: 1.41 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002116/0.291, allocations: 76.75 kB / 1.249 GB, free: 1.332 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000234/0.2912, allocations: 107 kB / 1.249 GB, free: 1.211 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000413/0.2916, allocations: 163.3 kB / 1.249 GB, free: 1.039 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.2916, allocations: 0 / 1.249 GB, free: 1.039 MB / 0.9669 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0005059/0.2921, allocations: 209.4 kB / 1.249 GB, free: 0.8281 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.53e-05/0.2922, allocations: 8 kB / 1.249 GB, free: 0.8203 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.233e-06/0.2922, allocations: 7.875 kB / 1.249 GB, free: 0.8125 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.691e-05/0.2922, allocations: 4 kB / 1.249 GB, free: 0.8086 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001755/0.2924, allocations: 35.92 kB / 1.249 GB, free: 0.7734 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.288e-05/0.2924, allocations: 11.97 kB / 1.249 GB, free: 0.7617 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001493/0.2926, allocations: 27.97 kB / 1.249 GB, free: 0.7344 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.336e-05/0.2926, allocations: 8 kB / 1.249 GB, free: 0.7266 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002309/0.2928, allocations: 156.1 kB / 1.25 GB, free: 0.5703 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001771/0.293, allocations: 97.11 kB / 1.25 GB, free: 468 kB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002982/0.2933, allocations: 132.6 kB / 1.25 GB, free: 324 kB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.142e-06/0.2933, allocations: 0 / 1.25 GB, free: 324 kB / 0.9669 GB Notification: Performance of matching and sorting (n=17) (initialization_lambda0): time 0.0003907/0.2937, allocations: 180.5 kB / 1.25 GB, free: 140 kB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 9.568e-06/0.2937, allocations: 4 kB / 1.25 GB, free: 136 kB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.717e-06/0.2938, allocations: 8.094 kB / 1.25 GB, free: 128 kB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.438e-06/0.2938, allocations: 3.938 kB / 1.25 GB, free: 124 kB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001453/0.2939, allocations: 39.91 kB / 1.25 GB, free: 84 kB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.619e-06/0.2939, allocations: 0 / 1.25 GB, free: 84 kB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001258/0.2941, allocations: 23.88 kB / 1.25 GB, free: 60 kB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.836e-05/0.2941, allocations: 8 kB / 1.25 GB, free: 52 kB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 1 (conBoiRet.conPID.con1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 17 * 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 0.0001356/0.2942, allocations: 192.7 kB / 1.25 GB, free: 15.86 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.568e-05/0.2943, allocations: 19.86 kB / 1.25 GB, free: 15.84 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.374e-05/0.2943, allocations: 29.33 kB / 1.25 GB, free: 15.8 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.128e-06/0.2943, allocations: 4 kB / 1.25 GB, free: 15.8 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.2944, allocations: 0 / 1.25 GB, free: 15.8 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.055e-06/0.2944, allocations: 0 / 1.25 GB, free: 15.8 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00035/0.2947, allocations: 301.5 kB / 1.251 GB, free: 15.46 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.2947, allocations: 0 / 1.251 GB, free: 15.46 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000169/0.2949, allocations: 27.98 kB / 1.251 GB, free: 15.43 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.2949, allocations: 0 / 1.251 GB, free: 15.43 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.802e-05/0.2949, allocations: 11.92 kB / 1.251 GB, free: 15.42 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.2949, allocations: 0 / 1.251 GB, free: 15.42 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.2949, allocations: 4 kB / 1.251 GB, free: 15.41 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007051/0.2957, allocations: 347.2 kB / 1.251 GB, free: 15.06 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 7.082e-05/0.2957, allocations: 93.05 kB / 1.251 GB, free: 14.95 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.79e-05/0.2958, allocations: 8 kB / 1.251 GB, free: 14.94 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001504/0.2959, allocations: 19.97 kB / 1.251 GB, free: 14.92 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.867e-05/0.296, allocations: 4 kB / 1.251 GB, free: 14.92 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.528e-05/0.296, allocations: 7.984 kB / 1.251 GB, free: 14.91 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001833/0.2962, allocations: 172.5 kB / 1.251 GB, free: 14.74 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2962, allocations: 0 / 1.251 GB, free: 14.74 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003765/0.2966, allocations: 71.73 kB / 1.251 GB, free: 14.67 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (conBoiRet.conPID.I.y) * 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 (12): * Single equations (assignments): 12 * 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.001024/0.2976, allocations: 0.8845 MB / 1.252 GB, free: 13.76 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0006384/0.2983, allocations: 223.9 kB / 1.252 GB, free: 13.54 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 4.398e-06/0.2983, allocations: 4 kB / 1.252 GB, free: 13.54 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.000202/0.2985, allocations: 67.95 kB / 1.252 GB, free: 13.47 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003951/0.2989, allocations: 46.53 kB / 1.253 GB, free: 13.42 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003247/0.3021, allocations: 2.285 MB / 1.255 GB, free: 11.04 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003714/0.3025, allocations: 0.7401 MB / 1.255 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 9.419e-05/0.3026, allocations: 17.55 kB / 1.255 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001187/0.3027, allocations: 67.41 kB / 1.256 GB, free: 10.19 MB / 0.9825 GB Notification: Performance of SimCode: time 3.11e-07/0.3028, allocations: 0 / 1.256 GB, free: 10.19 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02748/0.3302, allocations: 4.164 MB / 1.26 GB, free: 6.184 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.723/8.054, allocations: 10.75 kB / 1.26 GB, free: 6.176 MB / 0.9825 GB (rm -f Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.pipe ; mkfifo Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.pipe >> ../files/Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn_res.csv --start-time 0 --stop-time 3600 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 Buildings_latest_Buildings_Examples_Tutorial_CDL_Controls_Validation_BoilerReturn.fmu > Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Examples_Tutorial_CDL_Controls_Validation_BoilerReturn.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches