Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside,fileNamePrefix="Buildings_10_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside,fileNamePrefix="Buildings_10_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside",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.007184/0.007191, allocations: 99.34 kB / 15.73 MB, free: 6.059 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.001425/0.001425, allocations: 195.1 kB / 16.67 MB, free: 5.977 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.301/1.301, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.457/2.457, allocations: 437 MB / 0.7105 GB, free: 5.008 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001124/0.001124, allocations: 59.91 kB / 1.018 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2674/0.2685, allocations: 151.6 MB / 1.166 GB, free: 7.281 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside): time 0.002413/0.271, allocations: 1.617 MB / 1.168 GB, free: 5.648 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001194/0.2722, allocations: 0.9045 MB / 1.169 GB, free: 4.734 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.376e-05/0.2723, allocations: 7.938 kB / 1.169 GB, free: 4.727 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 2.902e-05/0.2723, allocations: 7.875 kB / 1.169 GB, free: 4.719 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0001764/0.2725, allocations: 23.78 kB / 1.169 GB, free: 4.695 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003029/0.2728, allocations: 139.6 kB / 1.169 GB, free: 4.559 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001169/0.2729, allocations: 67.72 kB / 1.169 GB, free: 4.492 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 8.143e-05/0.273, allocations: 19.84 kB / 1.169 GB, free: 4.473 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 7.478e-05/0.2731, allocations: 39.8 kB / 1.169 GB, free: 4.434 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001065/0.2732, allocations: 39.83 kB / 1.169 GB, free: 4.395 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.58e-05/0.2732, allocations: 4 kB / 1.169 GB, free: 4.391 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003278/0.2736, allocations: 283.7 kB / 1.169 GB, free: 4.113 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.981e-05/0.2736, allocations: 15.92 kB / 1.169 GB, free: 4.098 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 3.729e-05/0.2736, allocations: 27.86 kB / 1.169 GB, free: 4.07 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002098/0.2738, allocations: 147.8 kB / 1.169 GB, free: 3.926 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.2739, allocations: 7.938 kB / 1.169 GB, free: 3.918 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.282e-06/0.2739, allocations: 0 / 1.169 GB, free: 3.918 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.508e-06/0.2739, allocations: 0 / 1.169 GB, free: 3.918 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004961/0.2744, allocations: 414.8 kB / 1.17 GB, free: 3.465 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.605e-05/0.2744, allocations: 8.031 kB / 1.17 GB, free: 3.457 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.994e-05/0.2745, allocations: 30.75 kB / 1.17 GB, free: 3.418 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001039/0.2746, allocations: 12.89 kB / 1.17 GB, free: 3.406 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001889/0.2748, allocations: 200.2 kB / 1.17 GB, free: 3.172 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.595e-06/0.2748, allocations: 384 / 1.17 GB, free: 3.172 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.362e-05/0.2748, allocations: 8.375 kB / 1.17 GB, free: 3.164 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000159/0.275, allocations: 69.73 kB / 1.17 GB, free: 3.09 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.302e-06/0.275, allocations: 0 / 1.17 GB, free: 3.09 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.838e-06/0.275, allocations: 3.984 kB / 1.17 GB, free: 3.086 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.275, allocations: 3.984 kB / 1.17 GB, free: 3.082 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000134/0.2751, allocations: 39.97 kB / 1.17 GB, free: 3.043 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003748/0.2755, allocations: 296.7 kB / 1.17 GB, free: 2.703 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000129/0.2757, allocations: 62.55 kB / 1.171 GB, free: 2.633 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.34e-05/0.2757, allocations: 24.97 kB / 1.171 GB, free: 2.605 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.167e-05/0.2758, allocations: 0 / 1.171 GB, free: 2.605 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.008e-05/0.2758, allocations: 38.56 kB / 1.171 GB, free: 2.559 MB / 0.92 GB Notification: Performance of pre-optimization done (n=5): time 8.21e-07/0.2758, allocations: 0 / 1.171 GB, free: 2.559 MB / 0.92 GB Notification: Performance of matching and sorting (n=5): time 0.000332/0.2761, allocations: 113.5 kB / 1.171 GB, free: 2.441 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.659e-05/0.2762, allocations: 51.41 kB / 1.171 GB, free: 2.379 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.079e-05/0.2762, allocations: 127.5 kB / 1.171 GB, free: 2.246 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.042e-05/0.2763, allocations: 29.7 kB / 1.171 GB, free: 2.211 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 4.221e-05/0.2763, allocations: 92.14 kB / 1.171 GB, free: 2.117 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.081e-05/0.2763, allocations: 23.89 kB / 1.171 GB, free: 2.094 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.498e-05/0.2764, allocations: 17.72 kB / 1.171 GB, free: 2.07 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 8.921e-05/0.2765, allocations: 326.8 kB / 1.171 GB, free: 1.742 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.288e-05/0.2766, allocations: 19.98 kB / 1.171 GB, free: 1.723 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.43e-05/0.2766, allocations: 27.98 kB / 1.171 GB, free: 1.695 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001363/0.2768, allocations: 48.83 kB / 1.171 GB, free: 1.645 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.472e-06/0.2768, allocations: 7.938 kB / 1.171 GB, free: 1.637 MB / 0.92 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001975/0.277, allocations: 93.55 kB / 1.172 GB, free: 1.539 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.134e-05/0.277, allocations: 8 kB / 1.172 GB, free: 1.531 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.036e-06/0.277, allocations: 0 / 1.172 GB, free: 1.531 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.051e-05/0.277, allocations: 0 / 1.172 GB, free: 1.531 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001096/0.2771, allocations: 15.98 kB / 1.172 GB, free: 1.516 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.839e-06/0.2771, allocations: 448 / 1.172 GB, free: 1.516 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.003e-05/0.2772, allocations: 11.95 kB / 1.172 GB, free: 1.504 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.384e-06/0.2772, allocations: 0 / 1.172 GB, free: 1.504 MB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 6 * 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 6.874e-05/0.2773, allocations: 117.8 kB / 1.172 GB, free: 1.379 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.076e-05/0.2773, allocations: 7.953 kB / 1.172 GB, free: 1.371 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002307/0.2776, allocations: 105.9 kB / 1.172 GB, free: 1.258 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.2776, allocations: 4 kB / 1.172 GB, free: 1.254 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.2776, allocations: 0 / 1.172 GB, free: 1.254 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.344e-06/0.2776, allocations: 0 / 1.172 GB, free: 1.254 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001548/0.2778, allocations: 185.6 kB / 1.172 GB, free: 1.023 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.2778, allocations: 0 / 1.172 GB, free: 1.023 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.141e-05/0.2779, allocations: 12 kB / 1.172 GB, free: 1.012 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/0.2779, allocations: 3.984 kB / 1.172 GB, free: 1.008 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.935e-06/0.2779, allocations: 4 kB / 1.172 GB, free: 1.004 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.2779, allocations: 3.938 kB / 1.172 GB, free: 1 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.2779, allocations: 4 kB / 1.172 GB, free: 0.9961 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002316/0.2781, allocations: 191.3 kB / 1.172 GB, free: 0.793 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 3.384e-05/0.2782, allocations: 81.06 kB / 1.172 GB, free: 0.6953 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.966e-05/0.2782, allocations: 8 kB / 1.172 GB, free: 0.6875 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.362e-05/0.2783, allocations: 4 kB / 1.172 GB, free: 0.6836 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.676e-05/0.2783, allocations: 7.984 kB / 1.172 GB, free: 0.6758 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.559e-06/0.2784, allocations: 0 / 1.172 GB, free: 0.6758 MB / 0.92 GB Notification: Performance of sorting global known variables: time 5.218e-05/0.2784, allocations: 105.6 kB / 1.172 GB, free: 0.5742 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2784, allocations: 0 / 1.172 GB, free: 0.5742 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002291/0.2786, allocations: 19.94 kB / 1.172 GB, free: 0.5547 MB / 0.92 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 6 * 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.0005376/0.2792, allocations: 0.7474 MB / 1.173 GB, free: 15.78 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0001915/0.2794, allocations: 47.97 kB / 1.173 GB, free: 15.73 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.2794, allocations: 0 / 1.173 GB, free: 15.73 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 8.215e-05/0.2795, allocations: 36.28 kB / 1.173 GB, free: 15.7 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002654/0.2798, allocations: 20.06 kB / 1.173 GB, free: 15.68 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001362/0.2811, allocations: 1.464 MB / 1.175 GB, free: 14.14 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002058/0.2813, allocations: 0.6922 MB / 1.175 GB, free: 13.43 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 4.795e-05/0.2814, allocations: 15.97 kB / 1.175 GB, free: 13.41 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.506e-05/0.2815, allocations: 23.44 kB / 1.175 GB, free: 13.39 MB / 0.9356 GB Notification: Performance of SimCode: time 2.1e-07/0.2815, allocations: 0 / 1.175 GB, free: 13.39 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01712/0.2986, allocations: 2.313 MB / 1.178 GB, free: 11.19 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.189/7.488, allocations: 14.41 kB / 1.178 GB, free: 11.18 MB / 0.9356 GB (rm -f Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; mkfifo Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe >> ../files/Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside_res.csv --start-time 0 --stop-time 15 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.006 Buildings_10_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside.fmu > Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches