Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.002501/0.002501, allocations: 89.48 kB / 19.44 MB, free: 336 kB / 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.003525/0.003525, allocations: 169.6 kB / 22.76 MB, free: 1.664 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 1.724/1.724, allocations: 177.1 MB / 203.1 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.51/3.51, allocations: 429.5 MB / 0.6729 GB, free: 3.984 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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: translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|hASin.hA",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside") translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|hASin.hA",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.883e-06/1.883e-06, allocations: 0 / 0.8775 GB, free: 6.59 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.067e-05/3.255e-05, allocations: 2.312 kB / 0.8775 GB, free: 6.586 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside): time 0.003519/0.003551, allocations: 1.653 MB / 0.8791 GB, free: 4.949 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.002303/0.005854, allocations: 0.9519 MB / 0.88 GB, free: 4 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.055e-05/0.005925, allocations: 0 / 0.88 GB, free: 4 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 3.361e-05/0.005959, allocations: 11.88 kB / 0.88 GB, free: 3.988 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.000238/0.006197, allocations: 19.78 kB / 0.8801 GB, free: 3.969 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004415/0.006638, allocations: 169.9 kB / 0.8802 GB, free: 3.805 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001817/0.00682, allocations: 75.66 kB / 0.8803 GB, free: 3.73 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001035/0.006923, allocations: 8 kB / 0.8803 GB, free: 3.723 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002053/0.007129, allocations: 56.59 kB / 0.8804 GB, free: 3.668 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001073/0.007236, allocations: 33.5 kB / 0.8804 GB, free: 3.637 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.62e-05/0.007262, allocations: 4 kB / 0.8804 GB, free: 3.633 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004677/0.00773, allocations: 271.6 kB / 0.8807 GB, free: 3.367 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.507e-05/0.007755, allocations: 11.92 kB / 0.8807 GB, free: 3.355 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 4.573e-05/0.0078, allocations: 23.97 kB / 0.8807 GB, free: 3.332 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0003537/0.008154, allocations: 184.8 kB / 0.8809 GB, free: 3.152 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.008157, allocations: 0 / 0.8809 GB, free: 3.152 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.072e-06/0.008159, allocations: 0 / 0.8809 GB, free: 3.152 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.009e-06/0.008164, allocations: 4 kB / 0.8809 GB, free: 3.148 MB / 0.8386 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.0007188/0.008882, allocations: 443.6 kB / 0.8813 GB, free: 2.68 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.499e-05/0.008927, allocations: 12.03 kB / 0.8813 GB, free: 2.668 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003264/0.009254, allocations: 28.86 kB / 0.8813 GB, free: 2.641 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002406/0.009494, allocations: 149.1 kB / 0.8815 GB, free: 2.469 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.182e-05/0.009506, allocations: 384 / 0.8815 GB, free: 2.469 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.39e-05/0.00952, allocations: 4.375 kB / 0.8815 GB, free: 2.465 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000174/0.009694, allocations: 61.8 kB / 0.8815 GB, free: 2.398 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.518e-06/0.009704, allocations: 0 / 0.8815 GB, free: 2.398 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.366e-05/0.009717, allocations: 3.984 kB / 0.8815 GB, free: 2.395 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.484e-06/0.009725, allocations: 7.984 kB / 0.8815 GB, free: 2.387 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001376/0.009862, allocations: 31.98 kB / 0.8816 GB, free: 2.355 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000546/0.01041, allocations: 303.6 kB / 0.8819 GB, free: 2.023 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001575/0.01057, allocations: 55.05 kB / 0.8819 GB, free: 1.957 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.526e-05/0.01064, allocations: 27.8 kB / 0.8819 GB, free: 1.926 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.55e-05/0.01067, allocations: 8 kB / 0.882 GB, free: 1.918 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.782e-05/0.0107, allocations: 33.39 kB / 0.882 GB, free: 1.875 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=5): time 8.82e-07/0.01071, allocations: 0 / 0.882 GB, free: 1.875 MB / 0.8386 GB Notification: Performance of matching and sorting (n=5): time 0.000384/0.01109, allocations: 97.56 kB / 0.8821 GB, free: 1.773 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.946e-05/0.01114, allocations: 55.41 kB / 0.8821 GB, free: 1.707 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000197/0.01134, allocations: 203.6 kB / 0.8823 GB, free: 1.492 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.089e-05/0.01136, allocations: 25.7 kB / 0.8824 GB, free: 1.461 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001152/0.01147, allocations: 150.8 kB / 0.8825 GB, free: 1.309 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.424e-05/0.0115, allocations: 19.83 kB / 0.8825 GB, free: 1.289 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.638e-05/0.01155, allocations: 23.38 kB / 0.8825 GB, free: 1.258 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0002908/0.01184, allocations: 0.4962 MB / 0.883 GB, free: 0.75 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.561e-05/0.01191, allocations: 16.25 kB / 0.883 GB, free: 0.7344 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.3e-05/0.01197, allocations: 23.98 kB / 0.8831 GB, free: 0.7109 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001417/0.01211, allocations: 51.61 kB / 0.8831 GB, free: 0.6562 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.01212, allocations: 0 / 0.8831 GB, free: 0.6562 MB / 0.8386 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002109/0.01233, allocations: 89.56 kB / 0.8832 GB, free: 0.5625 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.272e-05/0.01234, allocations: 4 kB / 0.8832 GB, free: 0.5586 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/0.01234, allocations: 4 kB / 0.8832 GB, free: 0.5547 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.243e-05/0.01236, allocations: 0 / 0.8832 GB, free: 0.5547 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001124/0.01247, allocations: 15.98 kB / 0.8832 GB, free: 0.5391 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.859e-06/0.01247, allocations: 0 / 0.8832 GB, free: 0.5391 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.751e-05/0.01253, allocations: 15.89 kB / 0.8832 GB, free: 0.5234 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.053e-05/0.01254, allocations: 3.984 kB / 0.8832 GB, free: 0.5195 MB / 0.8386 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 0.0001294/0.01267, allocations: 164.5 kB / 0.8834 GB, free: 356 kB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.5e-05/0.01272, allocations: 7.953 kB / 0.8834 GB, free: 348 kB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002685/0.01298, allocations: 98.06 kB / 0.8835 GB, free: 240 kB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.01299, allocations: 0 / 0.8835 GB, free: 240 kB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.636e-06/0.01299, allocations: 0 / 0.8835 GB, free: 240 kB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.01299, allocations: 0 / 0.8835 GB, free: 240 kB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001962/0.01319, allocations: 148.6 kB / 0.8836 GB, free: 56 kB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.01319, allocations: 0 / 0.8836 GB, free: 56 kB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.759e-05/0.01327, allocations: 12 kB / 0.8836 GB, free: 44 kB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.01327, allocations: 0 / 0.8836 GB, free: 44 kB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.41e-05/0.01328, allocations: 7.984 kB / 0.8837 GB, free: 36 kB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.01328, allocations: 256 / 0.8837 GB, free: 36 kB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.18e-06/0.01329, allocations: 4 kB / 0.8837 GB, free: 32 kB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003279/0.01362, allocations: 243.8 kB / 0.8839 GB, free: 15.77 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 2.507e-05/0.01364, allocations: 15.89 kB / 0.8839 GB, free: 15.76 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.978e-05/0.01367, allocations: 4 kB / 0.8839 GB, free: 15.75 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.601e-05/0.01375, allocations: 0 / 0.8839 GB, free: 15.75 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.048e-05/0.0138, allocations: 7.984 kB / 0.8839 GB, free: 15.75 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.26e-06/0.0138, allocations: 0 / 0.8839 GB, free: 15.75 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001152/0.01392, allocations: 149.1 kB / 0.8841 GB, free: 15.6 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6e-08/0.01392, allocations: 0 / 0.8841 GB, free: 15.6 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002444/0.01416, allocations: 27.98 kB / 0.8841 GB, free: 15.57 MB / 0.8542 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.0002256/0.01439, allocations: 111.2 kB / 0.8842 GB, free: 15.45 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.000229/0.01462, allocations: 63.59 kB / 0.8843 GB, free: 15.39 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.01462, allocations: 0 / 0.8843 GB, free: 15.39 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 9.28e-05/0.01471, allocations: 31.67 kB / 0.8843 GB, free: 15.35 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002906/0.015, allocations: 18.42 kB / 0.8843 GB, free: 15.34 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000514/0.01552, allocations: 189.3 kB / 0.8845 GB, free: 15.12 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.954e-05/0.01562, allocations: 79.33 kB / 0.8846 GB, free: 15.02 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 4.943e-05/0.01567, allocations: 7.984 kB / 0.8846 GB, free: 15.02 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.028e-05/0.01571, allocations: 12.5 kB / 0.8846 GB, free: 15 MB / 0.8542 GB Notification: Performance of SimCode: time 5.41e-07/0.01571, allocations: 0 / 0.8846 GB, free: 15 MB / 0.8542 GB Notification: Performance of Templates: time 0.004825/0.02053, allocations: 1.163 MB / 0.8857 GB, free: 13.86 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.sim & ./Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 9.284094796981663]