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.001194/0.001194, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001509/0.002704, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.001084/0.001084, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001229/0.002313, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.9135/0.9135, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0852/0.9987, allocations: 53.66 MB / 243.2 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.252/2.252, allocations: 446.7 MB / 0.6745 GB, free: 6.219 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2214/2.473, allocations: 145.9 MB / 0.817 GB, free: 4.219 MB / 0.7917 GB " [Timeout remaining time 178] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-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.452e-06/1.452e-06, allocations: 0 / 0.8183 GB, free: 2.863 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.393e-05/1.538e-05, allocations: 6.312 kB / 0.8183 GB, free: 2.855 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside): time 0.001913/0.001928, allocations: 1.72 MB / 0.82 GB, free: 1.117 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.0009997/0.002928, allocations: 0.9774 MB / 0.821 GB, free: 140 kB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.241e-05/0.00298, allocations: 0 / 0.821 GB, free: 140 kB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 2.451e-05/0.003005, allocations: 7.922 kB / 0.821 GB, free: 132 kB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 7.279e-05/0.003078, allocations: 27.72 kB / 0.821 GB, free: 104 kB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002352/0.003313, allocations: 135.4 kB / 0.8211 GB, free: 15.97 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0001093/0.003422, allocations: 87.64 kB / 0.8212 GB, free: 15.88 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 7.028e-05/0.003492, allocations: 8 kB / 0.8212 GB, free: 15.88 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001239/0.003616, allocations: 59.88 kB / 0.8213 GB, free: 15.82 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 6.841e-05/0.003685, allocations: 31.91 kB / 0.8213 GB, free: 15.79 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.527e-05/0.0037, allocations: 4 kB / 0.8213 GB, free: 15.78 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003089/0.004009, allocations: 295.6 kB / 0.8216 GB, free: 15.49 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 1.4e-05/0.004023, allocations: 11.94 kB / 0.8216 GB, free: 15.48 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 2.307e-05/0.004046, allocations: 15.94 kB / 0.8216 GB, free: 15.46 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0001863/0.004232, allocations: 135.6 kB / 0.8218 GB, free: 15.33 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.388e-05/0.004246, allocations: 0 / 0.8218 GB, free: 15.33 MB / 0.8073 GB Notification: Performance of FrontEnd: time 8.51e-07/0.004247, allocations: 4 kB / 0.8218 GB, free: 15.33 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 1.369e-05/0.004261, allocations: 0 / 0.8218 GB, free: 15.33 MB / 0.8073 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.0004142/0.004675, allocations: 339.9 kB / 0.8221 GB, free: 14.97 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.777e-05/0.004713, allocations: 12.62 kB / 0.8221 GB, free: 14.96 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001929/0.004905, allocations: 102 kB / 0.8222 GB, free: 14.84 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001287/0.005034, allocations: 137.7 kB / 0.8223 GB, free: 14.68 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.793e-06/0.005041, allocations: 384 / 0.8223 GB, free: 14.68 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.915e-06/0.005049, allocations: 8.375 kB / 0.8223 GB, free: 14.68 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.495e-05/0.005144, allocations: 74.42 kB / 0.8224 GB, free: 14.59 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.062e-06/0.00515, allocations: 0 / 0.8224 GB, free: 14.59 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.033e-06/0.005157, allocations: 0 / 0.8224 GB, free: 14.59 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.807e-06/0.005161, allocations: 0 / 0.8224 GB, free: 14.59 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.952e-05/0.00519, allocations: 8 kB / 0.8224 GB, free: 14.59 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002234/0.005414, allocations: 172.2 kB / 0.8226 GB, free: 14.4 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 6.485e-05/0.005478, allocations: 30.56 kB / 0.8226 GB, free: 14.36 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.771e-05/0.005496, allocations: 24.73 kB / 0.8226 GB, free: 14.34 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.37e-05/0.00551, allocations: 0 / 0.8226 GB, free: 14.34 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.011e-05/0.00553, allocations: 30.56 kB / 0.8227 GB, free: 14.3 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=5): time 1.132e-06/0.005531, allocations: 3.938 kB / 0.8227 GB, free: 14.29 MB / 0.8073 GB Notification: Performance of matching and sorting (n=5): time 0.0001392/0.00567, allocations: 57.8 kB / 0.8227 GB, free: 14.23 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.871e-05/0.005699, allocations: 55.39 kB / 0.8228 GB, free: 14.16 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.772e-05/0.005767, allocations: 138.1 kB / 0.8229 GB, free: 14.02 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 9.297e-06/0.005776, allocations: 25.7 kB / 0.8229 GB, free: 13.99 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001144/0.00589, allocations: 92.12 kB / 0.823 GB, free: 13.89 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.561e-05/0.005906, allocations: 19.88 kB / 0.823 GB, free: 13.88 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.922e-05/0.005935, allocations: 21.72 kB / 0.8231 GB, free: 13.85 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 6.269e-05/0.005998, allocations: 326.8 kB / 0.8234 GB, free: 13.52 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.208e-05/0.00601, allocations: 4 kB / 0.8234 GB, free: 13.52 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.114e-05/0.006021, allocations: 4 kB / 0.8234 GB, free: 13.51 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.127e-05/0.006052, allocations: 17.22 kB / 0.8234 GB, free: 13.49 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.006055, allocations: 8 kB / 0.8234 GB, free: 13.48 MB / 0.8073 GB Notification: Performance of matching and sorting (n=6) (initialization): time 6.23e-05/0.006118, allocations: 53.61 kB / 0.8234 GB, free: 13.43 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.008e-05/0.006128, allocations: 4 kB / 0.8235 GB, free: 13.42 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.907e-06/0.006132, allocations: 0 / 0.8235 GB, free: 13.42 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.633e-06/0.006138, allocations: 0 / 0.8235 GB, free: 13.42 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.329e-05/0.006212, allocations: 23.92 kB / 0.8235 GB, free: 13.4 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.204e-06/0.006214, allocations: 4 kB / 0.8235 GB, free: 13.39 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.337e-05/0.006237, allocations: 11.89 kB / 0.8235 GB, free: 13.38 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.358e-06/0.006242, allocations: 0 / 0.8235 GB, free: 13.38 MB / 0.8073 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 4.416e-05/0.006286, allocations: 109.8 kB / 0.8236 GB, free: 13.27 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.205e-05/0.006308, allocations: 11.92 kB / 0.8236 GB, free: 13.25 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.523e-05/0.006383, allocations: 58.14 kB / 0.8237 GB, free: 13.19 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.006385, allocations: 0 / 0.8237 GB, free: 13.19 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.442e-06/0.006386, allocations: 4 kB / 0.8237 GB, free: 13.19 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.604e-06/0.006389, allocations: 0 / 0.8237 GB, free: 13.19 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.485e-05/0.006474, allocations: 85.86 kB / 0.8237 GB, free: 13.09 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.031e-06/0.006475, allocations: 0 / 0.8237 GB, free: 13.09 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.958e-05/0.006514, allocations: 23.92 kB / 0.8238 GB, free: 13.06 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 8.396e-06/0.006523, allocations: 11.89 kB / 0.8238 GB, free: 13.05 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.223e-06/0.006524, allocations: 4 kB / 0.8238 GB, free: 13.05 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.999e-06/0.006529, allocations: 3.984 kB / 0.8238 GB, free: 13.04 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.213e-06/0.00653, allocations: 0 / 0.8238 GB, free: 13.04 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.006531, allocations: 0 / 0.8238 GB, free: 13.04 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.305e-05/0.006614, allocations: 139.6 kB / 0.8239 GB, free: 12.89 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.285e-05/0.006627, allocations: 16.05 kB / 0.8239 GB, free: 12.88 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.595e-05/0.006663, allocations: 8 kB / 0.8239 GB, free: 12.87 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.485e-05/0.006688, allocations: 4 kB / 0.824 GB, free: 12.86 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.707e-06/0.006692, allocations: 3.984 kB / 0.824 GB, free: 12.86 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 2.082e-05/0.006712, allocations: 28.83 kB / 0.824 GB, free: 12.83 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.006712, allocations: 0 / 0.824 GB, free: 12.83 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001286/0.006841, allocations: 23.94 kB / 0.824 GB, free: 12.8 MB / 0.8073 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.0001019/0.006943, allocations: 96.34 kB / 0.8241 GB, free: 12.7 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 6.285e-05/0.007006, allocations: 28.84 kB / 0.8241 GB, free: 12.67 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/0.00701, allocations: 0 / 0.8241 GB, free: 12.67 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 1.915e-05/0.007029, allocations: 20.78 kB / 0.8241 GB, free: 12.65 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001428/0.007172, allocations: 31.92 kB / 0.8242 GB, free: 12.62 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009838/0.008156, allocations: 198.7 kB / 0.8244 GB, free: 12.39 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.956e-05/0.008185, allocations: 59.34 kB / 0.8244 GB, free: 12.32 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 2.869e-05/0.008214, allocations: 8 kB / 0.8244 GB, free: 12.31 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.287e-05/0.008267, allocations: 67.36 kB / 0.8245 GB, free: 12.24 MB / 0.8073 GB Notification: Performance of SimCode: time 6.51e-07/0.008268, allocations: 0 / 0.8245 GB, free: 12.24 MB / 0.8073 GB Notification: Performance of Templates: time 0.002384/0.01065, allocations: 1.247 MB / 0.8257 GB, free: 11.01 MB / 0.8073 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 -ignoreHideResult -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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside/Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.863593586720526]