Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.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.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil",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.004701/0.004701, allocations: 100 kB / 15.73 MB, free: 6.055 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.001259/0.001259, allocations: 192.1 kB / 16.68 MB, free: 5.969 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.325/1.325, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.701/2.701, allocations: 482.4 MB / 0.7548 GB, free: 6.875 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001886/0.001886, allocations: 77.52 kB / 1.083 GB, free: 13.89 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2646/0.2665, allocations: 162.2 MB / 1.241 GB, free: 9.258 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil): time 0.003184/0.2697, allocations: 2.161 MB / 1.244 GB, free: 7.082 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001602/0.2713, allocations: 1.032 MB / 1.245 GB, free: 6.043 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001039/0.2714, allocations: 7.938 kB / 1.245 GB, free: 6.035 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 6.224e-05/0.2715, allocations: 27.67 kB / 1.245 GB, free: 6.008 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0002849/0.2718, allocations: 83.27 kB / 1.245 GB, free: 5.926 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004209/0.2722, allocations: 203.1 kB / 1.245 GB, free: 5.73 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0003161/0.2726, allocations: 294.8 kB / 1.245 GB, free: 5.441 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001489/0.2727, allocations: 60.98 kB / 1.245 GB, free: 5.383 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001281/0.2729, allocations: 107.6 kB / 1.245 GB, free: 5.277 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002216/0.2731, allocations: 147.3 kB / 1.245 GB, free: 5.133 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 3.701e-05/0.2731, allocations: 16 kB / 1.246 GB, free: 5.117 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004283/0.2736, allocations: 299.6 kB / 1.246 GB, free: 4.824 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 4.94e-05/0.2736, allocations: 51.77 kB / 1.246 GB, free: 4.773 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001096/0.2737, allocations: 119.3 kB / 1.246 GB, free: 4.656 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0004059/0.2741, allocations: 338.4 kB / 1.246 GB, free: 4.324 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.2742, allocations: 0 / 1.246 GB, free: 4.324 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.142e-06/0.2742, allocations: 0 / 1.246 GB, free: 4.324 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 9.858e-06/0.2742, allocations: 4 kB / 1.246 GB, free: 4.32 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: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.001073/0.2753, allocations: 0.6307 MB / 1.247 GB, free: 3.637 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.333e-05/0.2753, allocations: 8.031 kB / 1.247 GB, free: 3.629 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.033e-05/0.2754, allocations: 50.73 kB / 1.247 GB, free: 3.57 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002007/0.2756, allocations: 32.75 kB / 1.247 GB, free: 3.539 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003863/0.276, allocations: 295.7 kB / 1.247 GB, free: 3.211 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.596e-05/0.276, allocations: 12.66 kB / 1.247 GB, free: 3.199 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.392e-05/0.276, allocations: 16.38 kB / 1.247 GB, free: 3.184 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005362/0.2766, allocations: 228.7 kB / 1.248 GB, free: 2.938 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.478e-06/0.2766, allocations: 4 kB / 1.248 GB, free: 2.934 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.693e-05/0.2766, allocations: 4 kB / 1.248 GB, free: 2.93 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.693e-06/0.2766, allocations: 8 kB / 1.248 GB, free: 2.922 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007026/0.2773, allocations: 195.8 kB / 1.248 GB, free: 2.73 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001135/0.2785, allocations: 0.9425 MB / 1.249 GB, free: 1.719 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000784/0.2793, allocations: 245.2 kB / 1.249 GB, free: 1.461 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00035/0.2796, allocations: 105.6 kB / 1.249 GB, free: 1.352 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.654e-05/0.2797, allocations: 3.984 kB / 1.249 GB, free: 1.348 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.317e-05/0.2797, allocations: 34.56 kB / 1.249 GB, free: 1.305 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=16): time 1.352e-06/0.2797, allocations: 4 kB / 1.249 GB, free: 1.301 MB / 0.9669 GB Notification: Performance of matching and sorting (n=16): time 0.001205/0.2809, allocations: 345.5 kB / 1.249 GB, free: 0.957 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.328e-05/0.281, allocations: 81.05 kB / 1.249 GB, free: 0.8594 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002657/0.2812, allocations: 267 kB / 1.25 GB, free: 0.5898 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.458e-05/0.2813, allocations: 37.64 kB / 1.25 GB, free: 0.5469 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001092/0.2814, allocations: 156.3 kB / 1.25 GB, free: 400 kB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 4.889e-05/0.2814, allocations: 63.47 kB / 1.25 GB, free: 336 kB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.275e-05/0.2815, allocations: 41.7 kB / 1.25 GB, free: 288 kB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001521/0.2817, allocations: 334.8 kB / 1.25 GB, free: 15.95 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000348/0.282, allocations: 91.91 kB / 1.25 GB, free: 15.86 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003708/0.2824, allocations: 143.5 kB / 1.25 GB, free: 15.7 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007068/0.2831, allocations: 241.7 kB / 1.251 GB, free: 15.44 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.013e-06/0.2831, allocations: 4 kB / 1.251 GB, free: 15.43 MB / 0.9825 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0008559/0.284, allocations: 285.2 kB / 1.251 GB, free: 15.15 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.337e-05/0.284, allocations: 8.156 kB / 1.251 GB, free: 15.14 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.915e-06/0.284, allocations: 0 / 1.251 GB, free: 15.14 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.485e-05/0.2841, allocations: 7.938 kB / 1.251 GB, free: 15.13 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002903/0.2844, allocations: 63.94 kB / 1.251 GB, free: 15.07 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.789e-06/0.2844, allocations: 4 kB / 1.251 GB, free: 15.07 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002284/0.2846, allocations: 39.81 kB / 1.251 GB, free: 15.03 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.782e-05/0.2846, allocations: 4 kB / 1.251 GB, free: 15.02 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (23): * Single equations (assignments): 23 * 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.0001199/0.2848, allocations: 142.3 kB / 1.251 GB, free: 14.88 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001156/0.2849, allocations: 27.8 kB / 1.251 GB, free: 14.85 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008655/0.2857, allocations: 295.8 kB / 1.252 GB, free: 14.55 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.262e-06/0.2858, allocations: 4 kB / 1.252 GB, free: 14.55 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.2858, allocations: 0 / 1.252 GB, free: 14.55 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.2858, allocations: 0 / 1.252 GB, free: 14.55 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003762/0.2862, allocations: 289.4 kB / 1.252 GB, free: 14.21 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.2862, allocations: 0 / 1.252 GB, free: 14.21 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002724/0.2864, allocations: 59.89 kB / 1.252 GB, free: 14.16 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.2865, allocations: 4 kB / 1.252 GB, free: 14.15 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.717e-05/0.2865, allocations: 7.984 kB / 1.252 GB, free: 14.14 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.2865, allocations: 288 / 1.252 GB, free: 14.14 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.2865, allocations: 0 / 1.252 GB, free: 14.14 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008955/0.2874, allocations: 454.2 kB / 1.252 GB, free: 13.68 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 7.786e-05/0.2875, allocations: 104.8 kB / 1.252 GB, free: 13.56 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.809e-05/0.2875, allocations: 12 kB / 1.252 GB, free: 13.55 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002637/0.2878, allocations: 19.97 kB / 1.252 GB, free: 13.53 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.868e-05/0.2879, allocations: 23.91 kB / 1.253 GB, free: 13.51 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.462e-05/0.2879, allocations: 12 kB / 1.253 GB, free: 13.5 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001781/0.2881, allocations: 186 kB / 1.253 GB, free: 13.31 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2881, allocations: 0 / 1.253 GB, free: 13.31 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003521/0.2884, allocations: 59.94 kB / 1.253 GB, free: 13.25 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 (20): * Single equations (assignments): 20 * 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.001273/0.2897, allocations: 0.99 MB / 1.254 GB, free: 12.24 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0007946/0.2905, allocations: 231.7 kB / 1.254 GB, free: 12.01 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.2905, allocations: 0 / 1.254 GB, free: 12.01 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0003799/0.2909, allocations: 124.1 kB / 1.254 GB, free: 11.89 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005354/0.2915, allocations: 69.34 kB / 1.254 GB, free: 11.82 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004096/0.2956, allocations: 2.715 MB / 1.257 GB, free: 8.977 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003499/0.2959, allocations: 0.7556 MB / 1.258 GB, free: 8.195 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001268/0.2961, allocations: 30.42 kB / 1.258 GB, free: 8.164 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001382/0.2962, allocations: 87.41 kB / 1.258 GB, free: 8.078 MB / 0.9825 GB Notification: Performance of SimCode: time 2.5e-07/0.2962, allocations: 0 / 1.258 GB, free: 8.078 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02872/0.3249, allocations: 6.559 MB / 1.264 GB, free: 1.711 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.914/8.239, allocations: 24.64 kB / 1.264 GB, free: 1.695 MB / 0.9825 GB (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil_res.csv --start-time 0 --stop-time 80 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.032 Buildings_latest_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil.fmu > Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches