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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00141/0.00141, allocations: 108.2 kB / 17.54 MB, free: 4.746 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001422/0.001422, allocations: 186.7 kB / 20.71 MB, free: 1.582 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.298/1.298, allocations: 225.6 MB / 249.3 MB, free: 3.16 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.346/2.346, allocations: 443.5 MB / 0.7304 GB, free: 13.9 MB / 0.5762 GB " [Timeout remaining time 177] 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"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001904/0.001904, allocations: 71.89 kB / 1.059 GB, free: 0.9336 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2635/0.2654, allocations: 160.7 MB / 1.216 GB, free: 15.91 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside): time 0.002916/0.2683, allocations: 1.627 MB / 1.217 GB, free: 14.26 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001553/0.2699, allocations: 0.9288 MB / 1.218 GB, free: 13.32 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.063e-05/0.27, allocations: 7.938 kB / 1.218 GB, free: 13.31 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.461e-05/0.27, allocations: 3.938 kB / 1.218 GB, free: 13.31 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.000204/0.2702, allocations: 27.78 kB / 1.218 GB, free: 13.28 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004154/0.2706, allocations: 139.6 kB / 1.218 GB, free: 13.14 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001587/0.2708, allocations: 71.72 kB / 1.218 GB, free: 13.07 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 9.887e-05/0.2709, allocations: 20.12 kB / 1.218 GB, free: 13.05 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 9.967e-05/0.271, allocations: 31.84 kB / 1.218 GB, free: 13.02 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001484/0.2711, allocations: 39.78 kB / 1.218 GB, free: 12.98 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.23e-05/0.2711, allocations: 8 kB / 1.218 GB, free: 12.98 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004442/0.2716, allocations: 279.7 kB / 1.219 GB, free: 12.7 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.671e-05/0.2716, allocations: 15.92 kB / 1.219 GB, free: 12.69 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 4.711e-05/0.2717, allocations: 31.86 kB / 1.219 GB, free: 12.66 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002949/0.272, allocations: 143.5 kB / 1.219 GB, free: 12.52 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.272, allocations: 3.938 kB / 1.219 GB, free: 12.51 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.513e-06/0.272, allocations: 0 / 1.219 GB, free: 12.51 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.41e-06/0.272, allocations: 4 kB / 1.219 GB, free: 12.51 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006217/0.2726, allocations: 418.8 kB / 1.219 GB, free: 12.05 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.719e-05/0.2726, allocations: 12.03 kB / 1.219 GB, free: 12.04 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.836e-05/0.2727, allocations: 30.75 kB / 1.219 GB, free: 12 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001136/0.2728, allocations: 12.89 kB / 1.219 GB, free: 11.99 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002491/0.2731, allocations: 188.2 kB / 1.219 GB, free: 11.77 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.123e-06/0.2731, allocations: 4.375 kB / 1.22 GB, free: 11.76 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.424e-05/0.2731, allocations: 4.375 kB / 1.22 GB, free: 11.76 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000178/0.2733, allocations: 73.7 kB / 1.22 GB, free: 11.68 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.404e-06/0.2733, allocations: 0 / 1.22 GB, free: 11.68 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.082e-05/0.2733, allocations: 4 kB / 1.22 GB, free: 11.68 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.767e-06/0.2733, allocations: 0 / 1.22 GB, free: 11.68 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001452/0.2734, allocations: 43.91 kB / 1.22 GB, free: 11.63 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004695/0.2739, allocations: 304.8 kB / 1.22 GB, free: 11.29 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000145/0.274, allocations: 50.5 kB / 1.22 GB, free: 11.23 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.533e-05/0.2741, allocations: 28.97 kB / 1.22 GB, free: 11.2 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.31e-05/0.2741, allocations: 0 / 1.22 GB, free: 11.2 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.062e-05/0.2742, allocations: 38.56 kB / 1.22 GB, free: 11.15 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=5): time 1.012e-06/0.2742, allocations: 0 / 1.22 GB, free: 11.15 MB / 0.9669 GB Notification: Performance of matching and sorting (n=5): time 0.0003832/0.2746, allocations: 105.6 kB / 1.22 GB, free: 11.04 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.633e-05/0.2746, allocations: 51.41 kB / 1.22 GB, free: 10.98 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001344/0.2747, allocations: 133.3 kB / 1.22 GB, free: 10.84 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.82e-05/0.2747, allocations: 25.7 kB / 1.22 GB, free: 10.81 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.669e-05/0.2748, allocations: 92.14 kB / 1.22 GB, free: 10.71 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.407e-05/0.2748, allocations: 31.77 kB / 1.22 GB, free: 10.68 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.09e-05/0.2749, allocations: 17.72 kB / 1.22 GB, free: 10.66 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001472/0.275, allocations: 322.8 kB / 1.221 GB, free: 10.34 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.483e-05/0.2751, allocations: 23.98 kB / 1.221 GB, free: 10.31 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.154e-05/0.2752, allocations: 19.98 kB / 1.221 GB, free: 10.29 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001569/0.2753, allocations: 57.2 kB / 1.221 GB, free: 10.23 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.2753, allocations: 7.938 kB / 1.221 GB, free: 10.23 MB / 0.9669 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002392/0.2756, allocations: 93.61 kB / 1.221 GB, free: 10.13 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.547e-05/0.2756, allocations: 4 kB / 1.221 GB, free: 10.12 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.2756, allocations: 0 / 1.221 GB, free: 10.12 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.308e-05/0.2756, allocations: 0 / 1.221 GB, free: 10.12 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001193/0.2757, allocations: 19.92 kB / 1.221 GB, free: 10.11 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.739e-06/0.2757, allocations: 0 / 1.221 GB, free: 10.11 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.205e-05/0.2758, allocations: 7.953 kB / 1.221 GB, free: 10.1 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.231e-06/0.2758, allocations: 0 / 1.221 GB, free: 10.1 MB / 0.9669 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 8.636e-05/0.2759, allocations: 125.8 kB / 1.221 GB, free: 9.965 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.335e-05/0.2759, allocations: 7.953 kB / 1.221 GB, free: 9.957 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002511/0.2762, allocations: 97.95 kB / 1.221 GB, free: 9.852 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.968e-06/0.2762, allocations: 4 kB / 1.221 GB, free: 9.848 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.386e-06/0.2762, allocations: 0 / 1.221 GB, free: 9.848 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.2762, allocations: 3.984 kB / 1.221 GB, free: 9.844 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001923/0.2764, allocations: 177.6 kB / 1.221 GB, free: 9.621 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.2764, allocations: 7.938 kB / 1.221 GB, free: 9.613 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.711e-05/0.2765, allocations: 19.98 kB / 1.221 GB, free: 9.594 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.2765, allocations: 0 / 1.221 GB, free: 9.594 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.323e-06/0.2765, allocations: 0 / 1.221 GB, free: 9.594 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.083e-06/0.2765, allocations: 4 kB / 1.221 GB, free: 9.59 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.031e-06/0.2765, allocations: 0 / 1.221 GB, free: 9.59 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002759/0.2768, allocations: 187.5 kB / 1.222 GB, free: 9.391 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.428e-05/0.2768, allocations: 89.06 kB / 1.222 GB, free: 9.285 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.884e-05/0.2768, allocations: 11.94 kB / 1.222 GB, free: 9.273 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.963e-05/0.2769, allocations: 0 / 1.222 GB, free: 9.273 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.634e-05/0.277, allocations: 7.984 kB / 1.222 GB, free: 9.266 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.836e-06/0.277, allocations: 4 kB / 1.222 GB, free: 9.262 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 6.687e-05/0.277, allocations: 99.27 kB / 1.222 GB, free: 9.164 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1e-07/0.277, allocations: 3.938 kB / 1.222 GB, free: 9.16 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002377/0.2773, allocations: 20 kB / 1.222 GB, free: 9.141 MB / 0.9669 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.0006352/0.2779, allocations: 0.7397 MB / 1.223 GB, free: 8.375 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002029/0.2781, allocations: 55.91 kB / 1.223 GB, free: 8.32 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.2781, allocations: 0 / 1.223 GB, free: 8.32 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 8.427e-05/0.2782, allocations: 31.97 kB / 1.223 GB, free: 8.289 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002665/0.2785, allocations: 17.81 kB / 1.223 GB, free: 8.273 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001692/0.2801, allocations: 1.452 MB / 1.224 GB, free: 6.746 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003392/0.2805, allocations: 0.7 MB / 1.225 GB, free: 6.02 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 4.091e-05/0.2805, allocations: 3.984 kB / 1.225 GB, free: 6.016 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.34e-05/0.2806, allocations: 23.44 kB / 1.225 GB, free: 5.992 MB / 0.9669 GB Notification: Performance of SimCode: time 4.71e-07/0.2806, allocations: 0 / 1.225 GB, free: 5.992 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02424/0.3048, allocations: 2.303 MB / 1.227 GB, free: 3.777 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.986/7.291, allocations: 1.203 kB / 1.227 GB, free: 3.777 MB / 0.9669 GB " [Timeout remaining time 293] (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 400 --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) [Timeout 420.0] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 12.517148279999674]