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.001648/0.001648, allocations: 96.42 kB / 19.7 MB, free: 2.133 MB / 14.72 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.002129/0.002129, allocations: 210.9 kB / 22.99 MB, free: 4.953 MB / 14.72 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.576/1.576, allocations: 230.6 MB / 256.8 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.381/3.381, allocations: 0.49 GB / 0.7959 GB, free: 35.41 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|hASin.hA",fileNamePrefix="Buildings_12_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_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002093/0.002093, allocations: 67.73 kB / 1.155 GB, free: 25.15 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4564/0.4585, allocations: 176.1 MB / 1.327 GB, free: 0.9062 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside): time 0.003172/0.4616, allocations: 1.619 MB / 1.329 GB, free: 15.28 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001765/0.4634, allocations: 0.9193 MB / 1.33 GB, free: 14.36 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.207e-05/0.4635, allocations: 4 kB / 1.33 GB, free: 14.35 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 3.666e-05/0.4635, allocations: 7.875 kB / 1.33 GB, free: 14.34 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0002064/0.4637, allocations: 27.78 kB / 1.33 GB, free: 14.32 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004303/0.4641, allocations: 164.6 kB / 1.33 GB, free: 14.16 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001631/0.4643, allocations: 75.72 kB / 1.33 GB, free: 14.08 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001007/0.4644, allocations: 11.92 kB / 1.33 GB, free: 14.07 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001434/0.4645, allocations: 43.78 kB / 1.33 GB, free: 14.03 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 9.15e-05/0.4646, allocations: 39.84 kB / 1.33 GB, free: 13.99 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.803e-05/0.4647, allocations: 8 kB / 1.33 GB, free: 13.98 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004301/0.4651, allocations: 283.7 kB / 1.33 GB, free: 13.7 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 2.609e-05/0.4651, allocations: 15.91 kB / 1.33 GB, free: 13.69 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 4.341e-05/0.4652, allocations: 27.86 kB / 1.33 GB, free: 13.66 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002809/0.4654, allocations: 159.5 kB / 1.33 GB, free: 13.5 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.4654, allocations: 0 / 1.33 GB, free: 13.5 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.713e-06/0.4654, allocations: 3.938 kB / 1.33 GB, free: 13.5 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.951e-06/0.4654, allocations: 0 / 1.33 GB, free: 13.5 MB / 1.029 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.0006434/0.4661, allocations: 349.6 kB / 1.331 GB, free: 13.13 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.933e-05/0.4661, allocations: 8.031 kB / 1.331 GB, free: 13.12 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002913/0.4664, allocations: 32.84 kB / 1.331 GB, free: 13.09 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002391/0.4667, allocations: 143.3 kB / 1.331 GB, free: 12.93 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.248e-05/0.4667, allocations: 8.359 kB / 1.331 GB, free: 12.92 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.719e-05/0.4667, allocations: 384 / 1.331 GB, free: 12.92 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000202/0.4669, allocations: 61.98 kB / 1.331 GB, free: 12.85 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.676e-06/0.4669, allocations: 4 kB / 1.331 GB, free: 12.85 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.47e-05/0.4669, allocations: 8 kB / 1.331 GB, free: 12.84 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.4669, allocations: 0 / 1.331 GB, free: 12.84 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001522/0.4671, allocations: 39.97 kB / 1.331 GB, free: 12.8 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004357/0.4675, allocations: 232.5 kB / 1.331 GB, free: 12.54 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001505/0.4677, allocations: 58.42 kB / 1.331 GB, free: 12.48 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.931e-05/0.4677, allocations: 32.97 kB / 1.331 GB, free: 12.44 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.41e-05/0.4678, allocations: 0 / 1.331 GB, free: 12.44 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.789e-05/0.4678, allocations: 34.56 kB / 1.331 GB, free: 12.4 MB / 1.029 GB Notification: Performance of pre-optimization done (n=5): time 7.92e-07/0.4678, allocations: 0 / 1.331 GB, free: 12.4 MB / 1.029 GB Notification: Performance of matching and sorting (n=5): time 0.0003727/0.4682, allocations: 109.5 kB / 1.331 GB, free: 12.29 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.785e-05/0.4682, allocations: 51.41 kB / 1.332 GB, free: 12.22 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001332/0.4683, allocations: 139.9 kB / 1.332 GB, free: 12.07 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.094e-05/0.4684, allocations: 25.7 kB / 1.332 GB, free: 12.04 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.578e-05/0.4684, allocations: 100.1 kB / 1.332 GB, free: 11.94 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.646e-05/0.4685, allocations: 23.89 kB / 1.332 GB, free: 11.92 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.43e-05/0.4685, allocations: 17.72 kB / 1.332 GB, free: 11.89 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001525/0.4687, allocations: 318.8 kB / 1.332 GB, free: 11.57 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.115e-05/0.4687, allocations: 23.98 kB / 1.332 GB, free: 11.55 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.693e-05/0.4688, allocations: 23.98 kB / 1.332 GB, free: 11.53 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001517/0.469, allocations: 49.2 kB / 1.332 GB, free: 11.48 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.323e-06/0.469, allocations: 11.94 kB / 1.332 GB, free: 11.46 MB / 1.029 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002131/0.4692, allocations: 101.5 kB / 1.332 GB, free: 11.36 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.315e-05/0.4692, allocations: 4 kB / 1.332 GB, free: 11.36 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.477e-06/0.4692, allocations: 0 / 1.332 GB, free: 11.36 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.699e-05/0.4692, allocations: 0 / 1.332 GB, free: 11.36 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001282/0.4693, allocations: 19.98 kB / 1.332 GB, free: 11.34 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.951e-06/0.4693, allocations: 0 / 1.332 GB, free: 11.34 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.335e-05/0.4694, allocations: 4 kB / 1.332 GB, free: 11.33 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.415e-06/0.4694, allocations: 0 / 1.332 GB, free: 11.33 MB / 1.029 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 9.54e-05/0.4695, allocations: 121.8 kB / 1.332 GB, free: 11.2 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.537e-05/0.4696, allocations: 11.91 kB / 1.332 GB, free: 11.19 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002634/0.4698, allocations: 106 kB / 1.333 GB, free: 11.07 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.4698, allocations: 0 / 1.333 GB, free: 11.07 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.4698, allocations: 0 / 1.333 GB, free: 11.07 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.504e-06/0.4698, allocations: 3.938 kB / 1.333 GB, free: 11.07 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001675/0.47, allocations: 129.2 kB / 1.333 GB, free: 10.91 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.47, allocations: 4 kB / 1.333 GB, free: 10.91 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.76e-05/0.4701, allocations: 11.98 kB / 1.333 GB, free: 10.9 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.4701, allocations: 4 kB / 1.333 GB, free: 10.89 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.091e-05/0.4701, allocations: 4 kB / 1.333 GB, free: 10.89 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.4701, allocations: 0 / 1.333 GB, free: 10.89 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.4701, allocations: 0 / 1.333 GB, free: 10.89 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002688/0.4704, allocations: 191.3 kB / 1.333 GB, free: 10.69 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.715e-05/0.4704, allocations: 7.953 kB / 1.333 GB, free: 10.68 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.717e-05/0.4704, allocations: 192 / 1.333 GB, free: 10.68 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.08e-05/0.4705, allocations: 11.98 kB / 1.333 GB, free: 10.67 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.352e-05/0.4705, allocations: 8 kB / 1.333 GB, free: 10.66 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.133e-06/0.4706, allocations: 7.984 kB / 1.333 GB, free: 10.65 MB / 1.029 GB Notification: Performance of sorting global known variables: time 8.074e-05/0.4706, allocations: 105 kB / 1.333 GB, free: 10.55 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.4706, allocations: 0 / 1.333 GB, free: 10.55 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002343/0.4709, allocations: 19.94 kB / 1.333 GB, free: 10.53 MB / 1.029 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.0001779/0.471, allocations: 111.2 kB / 1.333 GB, free: 10.41 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002142/0.4713, allocations: 51.97 kB / 1.333 GB, free: 10.36 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.4713, allocations: 4 kB / 1.333 GB, free: 10.36 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 9.009e-05/0.4714, allocations: 31.92 kB / 1.333 GB, free: 10.33 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002807/0.4716, allocations: 27.78 kB / 1.333 GB, free: 10.3 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004432/0.4721, allocations: 185.5 kB / 1.333 GB, free: 10.09 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.602e-05/0.4722, allocations: 75.33 kB / 1.334 GB, free: 10 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 4.647e-05/0.4722, allocations: 11.98 kB / 1.334 GB, free: 9.988 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.573e-05/0.4722, allocations: 15.38 kB / 1.334 GB, free: 9.973 MB / 1.029 GB Notification: Performance of SimCode: time 2.91e-07/0.4722, allocations: 0 / 1.334 GB, free: 9.973 MB / 1.029 GB Notification: Performance of Templates: time 0.004309/0.4765, allocations: 1.226 MB / 1.335 GB, free: 8.766 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.makefile [Timeout 300] (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 & ./Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside -abortSlowSimulation -alarm=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside.csv","/var/lib/jenkins1/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: 9.869534823999857]