Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008494/0.0008494, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.000915/0.000915, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8868/0.8868, allocations: 177.1 MB / 202.8 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.673/1.673, allocations: 377.8 MB / 0.6221 GB, free: 8.641 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside,fileNamePrefix="Buildings_12_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside,fileNamePrefix="Buildings_12_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.723e-06/1.723e-06, allocations: 0 / 0.981 GB, free: 2.516 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.646e-05/1.818e-05, allocations: 2.281 kB / 0.981 GB, free: 2.512 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside): time 0.002215/0.002233, allocations: 1.62 MB / 0.9826 GB, free: 0.8828 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.001066/0.003299, allocations: 0.9231 MB / 0.9835 GB, free: 15.95 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.114e-05/0.00336, allocations: 0 / 0.9835 GB, free: 15.95 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 2.977e-05/0.00339, allocations: 7.875 kB / 0.9835 GB, free: 15.95 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.000189/0.003579, allocations: 27.72 kB / 0.9835 GB, free: 15.92 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002628/0.003841, allocations: 161.1 kB / 0.9837 GB, free: 15.76 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.0001393/0.003981, allocations: 79.64 kB / 0.9837 GB, free: 15.68 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 8.913e-05/0.00407, allocations: 19.92 kB / 0.9838 GB, free: 15.66 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001237/0.004194, allocations: 47.91 kB / 0.9838 GB, free: 15.62 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 6.513e-05/0.004259, allocations: 35.83 kB / 0.9838 GB, free: 15.58 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 1.498e-05/0.004274, allocations: 4 kB / 0.9839 GB, free: 15.58 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002468/0.004521, allocations: 271.6 kB / 0.9841 GB, free: 15.31 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 1.539e-05/0.004536, allocations: 11.92 kB / 0.9841 GB, free: 15.3 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 2.53e-05/0.004561, allocations: 19.98 kB / 0.9841 GB, free: 15.28 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002017/0.004763, allocations: 187.5 kB / 0.9843 GB, free: 15.1 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.893e-06/0.004765, allocations: 0 / 0.9843 GB, free: 15.1 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.113e-06/0.004766, allocations: 4 kB / 0.9843 GB, free: 15.09 MB / 0.948 GB Notification: Performance of Transformations before backend: time 3.707e-06/0.00477, allocations: 0 / 0.9843 GB, free: 15.09 MB / 0.948 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.0003809/0.005151, allocations: 341.6 kB / 0.9846 GB, free: 14.73 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.935e-05/0.00519, allocations: 12.03 kB / 0.9847 GB, free: 14.72 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.961e-05/0.005219, allocations: 34.75 kB / 0.9847 GB, free: 14.68 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001358/0.005355, allocations: 32.86 kB / 0.9847 GB, free: 14.64 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001554/0.005511, allocations: 133.7 kB / 0.9849 GB, free: 14.49 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.127e-06/0.00552, allocations: 4.375 kB / 0.9849 GB, free: 14.48 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.397e-06/0.005529, allocations: 8.312 kB / 0.9849 GB, free: 14.48 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001258/0.005655, allocations: 62.17 kB / 0.9849 GB, free: 14.41 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.783e-06/0.005662, allocations: 4.188 kB / 0.9849 GB, free: 14.41 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.308e-06/0.005671, allocations: 4.125 kB / 0.9849 GB, free: 14.4 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.005675, allocations: 0 / 0.9849 GB, free: 14.4 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.791e-05/0.005763, allocations: 43.95 kB / 0.985 GB, free: 14.36 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003033/0.006067, allocations: 263.9 kB / 0.9852 GB, free: 14.06 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 9.177e-05/0.006158, allocations: 58.48 kB / 0.9853 GB, free: 13.99 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.491e-05/0.006203, allocations: 28.91 kB / 0.9853 GB, free: 13.96 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.521e-05/0.006218, allocations: 4 kB / 0.9853 GB, free: 13.96 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.814e-05/0.006237, allocations: 30.56 kB / 0.9853 GB, free: 13.92 MB / 0.948 GB Notification: Performance of pre-optimization done (n=5): time 7.81e-07/0.006237, allocations: 0 / 0.9853 GB, free: 13.92 MB / 0.948 GB Notification: Performance of matching and sorting (n=5): time 0.0002346/0.006472, allocations: 117.6 kB / 0.9855 GB, free: 13.8 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.693e-05/0.006499, allocations: 51.41 kB / 0.9855 GB, free: 13.73 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.737e-05/0.006576, allocations: 132.6 kB / 0.9856 GB, free: 13.59 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.081e-05/0.006587, allocations: 29.7 kB / 0.9857 GB, free: 13.56 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 4.566e-05/0.006633, allocations: 100.1 kB / 0.9858 GB, free: 13.46 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 1.33e-05/0.006646, allocations: 15.86 kB / 0.9858 GB, free: 13.44 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.812e-05/0.006674, allocations: 17.72 kB / 0.9858 GB, free: 13.42 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.521e-05/0.006749, allocations: 322.8 kB / 0.9861 GB, free: 13.09 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.208e-05/0.006791, allocations: 23.92 kB / 0.9861 GB, free: 13.07 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.126e-05/0.006833, allocations: 27.98 kB / 0.9861 GB, free: 13.04 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.365e-05/0.006916, allocations: 52.83 kB / 0.9862 GB, free: 12.99 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.006918, allocations: 0 / 0.9862 GB, free: 12.99 MB / 0.948 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001224/0.007041, allocations: 93.55 kB / 0.9863 GB, free: 12.89 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.191e-05/0.007052, allocations: 4 kB / 0.9863 GB, free: 12.89 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.007057, allocations: 0 / 0.9863 GB, free: 12.89 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.121e-05/0.007068, allocations: 4 kB / 0.9863 GB, free: 12.88 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.467e-05/0.007133, allocations: 15.92 kB / 0.9863 GB, free: 12.87 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.178e-06/0.007137, allocations: 7.938 kB / 0.9863 GB, free: 12.86 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.888e-05/0.007166, allocations: 12.38 kB / 0.9863 GB, free: 12.85 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.352e-06/0.007172, allocations: 4 kB / 0.9863 GB, free: 12.84 MB / 0.948 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 5.687e-05/0.007229, allocations: 113.8 kB / 0.9864 GB, free: 12.72 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.166e-05/0.007251, allocations: 11.89 kB / 0.9864 GB, free: 12.71 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001432/0.007394, allocations: 98.12 kB / 0.9865 GB, free: 12.61 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.007396, allocations: 0 / 0.9865 GB, free: 12.61 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.479e-06/0.007401, allocations: 3.984 kB / 0.9865 GB, free: 12.61 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.007403, allocations: 4 kB / 0.9865 GB, free: 12.61 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001109/0.007514, allocations: 148.7 kB / 0.9867 GB, free: 12.42 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.007516, allocations: 3.984 kB / 0.9867 GB, free: 12.41 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.422e-05/0.00755, allocations: 15.94 kB / 0.9867 GB, free: 12.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.007552, allocations: 0 / 0.9867 GB, free: 12.4 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.164e-06/0.007559, allocations: 7.922 kB / 0.9867 GB, free: 12.39 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.00756, allocations: 0 / 0.9867 GB, free: 12.39 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.007562, allocations: 4 kB / 0.9867 GB, free: 12.39 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001401/0.007702, allocations: 183.4 kB / 0.9869 GB, free: 12.19 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 9.938e-06/0.007712, allocations: 19.89 kB / 0.9869 GB, free: 12.17 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.294e-05/0.007725, allocations: 0 / 0.9869 GB, free: 12.17 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.776e-05/0.007762, allocations: 4 kB / 0.9869 GB, free: 12.17 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.231e-05/0.007795, allocations: 7.984 kB / 0.9869 GB, free: 12.16 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.308e-06/0.007799, allocations: 4 kB / 0.9869 GB, free: 12.16 MB / 0.948 GB Notification: Performance of sorting global known variables: time 4.306e-05/0.007842, allocations: 101.5 kB / 0.987 GB, free: 12.06 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.007842, allocations: 4 kB / 0.987 GB, free: 12.05 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.000155/0.007997, allocations: 23.92 kB / 0.9871 GB, free: 12.03 MB / 0.948 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.0003677/0.008365, allocations: 0.7428 MB / 0.9878 GB, free: 11.26 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001247/0.008489, allocations: 51.97 kB / 0.9878 GB, free: 11.21 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.082e-06/0.00849, allocations: 0 / 0.9878 GB, free: 11.21 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 4.26e-05/0.008533, allocations: 31.91 kB / 0.9879 GB, free: 11.18 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002006/0.008734, allocations: 19.39 kB / 0.9879 GB, free: 11.16 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00101/0.009744, allocations: 1.47 MB / 0.9893 GB, free: 9.613 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.029e-05/0.009794, allocations: 83.27 kB / 0.9894 GB, free: 9.512 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 3.077e-05/0.009825, allocations: 7.984 kB / 0.9894 GB, free: 9.504 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.229e-05/0.009867, allocations: 24.5 kB / 0.9894 GB, free: 9.477 MB / 0.948 GB Notification: Performance of SimCode: time 5.91e-07/0.009868, allocations: 0 / 0.9894 GB, free: 9.477 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02585/0.03571, allocations: 3.071 MB / 0.9924 GB, free: 6.559 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.628/6.664, allocations: 11.14 kB / 0.9924 GB, free: 6.551 MB / 0.948 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; mkfifo Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe >> ../files/Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside_res.csv --start-time 0 --stop-time 15 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.006 Buildings_12_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside.fmu > Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.766791285946965]