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.001508/0.001508, allocations: 78.17 kB / 19.76 MB, free: 2.035 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.001559/0.001559, allocations: 157.7 kB / 23.01 MB, free: 4.945 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.538/1.538, allocations: 177.2 MB / 203.4 MB, free: 8.945 MB / 190.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 2.857/2.857, allocations: 377.9 MB / 0.6228 GB, free: 12.57 MB / 0.5919 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.002131/0.002131, allocations: 63.91 kB / 0.982 GB, free: 12.18 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9254/0.9276, allocations: 176.1 MB / 1.154 GB, free: 33.37 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside): time 0.002471/0.93, allocations: 1.628 MB / 1.156 GB, free: 32.25 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.001389/0.9314, allocations: 0.9212 MB / 1.156 GB, free: 31.66 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.77e-05/0.9315, allocations: 6.812 kB / 1.156 GB, free: 31.65 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 3.463e-05/0.9315, allocations: 7.406 kB / 1.156 GB, free: 31.65 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0002168/0.9318, allocations: 22.02 kB / 1.156 GB, free: 31.63 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003553/0.9321, allocations: 152.4 kB / 1.157 GB, free: 31.58 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0001408/0.9322, allocations: 84.78 kB / 1.157 GB, free: 31.54 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 9.338e-05/0.9323, allocations: 17.55 kB / 1.157 GB, free: 31.52 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001358/0.9325, allocations: 39.44 kB / 1.157 GB, free: 31.51 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 8.559e-05/0.9326, allocations: 29.94 kB / 1.157 GB, free: 31.5 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 1.678e-05/0.9326, allocations: 5.656 kB / 1.157 GB, free: 31.5 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003442/0.9329, allocations: 269.2 kB / 1.157 GB, free: 31.44 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 1.936e-05/0.9329, allocations: 14.03 kB / 1.157 GB, free: 31.43 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 3.327e-05/0.933, allocations: 27.78 kB / 1.157 GB, free: 31.42 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0002321/0.9332, allocations: 164.9 kB / 1.157 GB, free: 31.36 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.9332, allocations: 3.938 kB / 1.157 GB, free: 31.36 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.613e-06/0.9332, allocations: 4 kB / 1.157 GB, free: 31.35 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.202e-05/0.9332, allocations: 0 / 1.157 GB, free: 31.35 MB / 1.076 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.0005175/0.9337, allocations: 337 kB / 1.158 GB, free: 31.04 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.689e-05/0.9338, allocations: 11.16 kB / 1.158 GB, free: 31.04 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002728/0.9341, allocations: 33.03 kB / 1.158 GB, free: 31.04 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001934/0.9342, allocations: 140.4 kB / 1.158 GB, free: 30.89 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.971e-06/0.9343, allocations: 4.375 kB / 1.158 GB, free: 30.89 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.61e-05/0.9343, allocations: 7.281 kB / 1.158 GB, free: 30.88 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001624/0.9344, allocations: 65.34 kB / 1.158 GB, free: 30.84 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.216e-06/0.9344, allocations: 0 / 1.158 GB, free: 30.84 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.082e-05/0.9345, allocations: 0 / 1.158 GB, free: 30.84 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.118e-06/0.9345, allocations: 0 / 1.158 GB, free: 30.84 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000143/0.9346, allocations: 46.27 kB / 1.158 GB, free: 30.83 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003441/0.9349, allocations: 241.6 kB / 1.158 GB, free: 30.61 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001327/0.9351, allocations: 56.7 kB / 1.158 GB, free: 30.57 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.65e-05/0.9352, allocations: 25.25 kB / 1.158 GB, free: 30.55 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 1.405e-05/0.9352, allocations: 0 / 1.158 GB, free: 30.55 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.503e-05/0.9352, allocations: 41.25 kB / 1.158 GB, free: 30.51 MB / 1.076 GB Notification: Performance of pre-optimization done (n=5): time 8.72e-07/0.9352, allocations: 3.938 kB / 1.158 GB, free: 30.5 MB / 1.076 GB Notification: Performance of matching and sorting (n=5): time 0.0003408/0.9355, allocations: 106.9 kB / 1.158 GB, free: 30.45 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.13e-05/0.9355, allocations: 58.41 kB / 1.158 GB, free: 30.38 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.447e-05/0.9356, allocations: 135.6 kB / 1.158 GB, free: 30.27 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 1.044e-05/0.9356, allocations: 25.7 kB / 1.159 GB, free: 30.24 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 3.995e-05/0.9357, allocations: 98.08 kB / 1.159 GB, free: 30.14 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 1.827e-05/0.9357, allocations: 21.84 kB / 1.159 GB, free: 30.13 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.636e-05/0.9357, allocations: 19.09 kB / 1.159 GB, free: 30.11 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 5.044e-05/0.9358, allocations: 317.9 kB / 1.159 GB, free: 29.79 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.159e-05/0.9359, allocations: 23.89 kB / 1.159 GB, free: 29.79 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.13e-05/0.9359, allocations: 20.7 kB / 1.159 GB, free: 29.79 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001348/0.9361, allocations: 61.44 kB / 1.159 GB, free: 29.76 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.9361, allocations: 3.938 kB / 1.159 GB, free: 29.75 MB / 1.076 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001839/0.9362, allocations: 91.05 kB / 1.159 GB, free: 29.7 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.168e-05/0.9363, allocations: 5.031 kB / 1.159 GB, free: 29.7 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.827e-06/0.9363, allocations: 2.562 kB / 1.159 GB, free: 29.7 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.395e-05/0.9363, allocations: 0 / 1.159 GB, free: 29.7 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001094/0.9364, allocations: 15.31 kB / 1.159 GB, free: 29.7 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.99e-06/0.9364, allocations: 0 / 1.159 GB, free: 29.7 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.803e-05/0.9365, allocations: 6.656 kB / 1.159 GB, free: 29.7 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.125e-06/0.9365, allocations: 5.938 kB / 1.159 GB, free: 29.7 MB / 1.076 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.014e-05/0.9365, allocations: 121.1 kB / 1.159 GB, free: 29.57 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.12e-05/0.9365, allocations: 14.91 kB / 1.159 GB, free: 29.56 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002184/0.9368, allocations: 100.1 kB / 1.159 GB, free: 29.5 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.774e-06/0.9368, allocations: 0 / 1.159 GB, free: 29.5 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.9368, allocations: 3.984 kB / 1.159 GB, free: 29.5 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.427e-06/0.9368, allocations: 3.328 kB / 1.159 GB, free: 29.5 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001185/0.9369, allocations: 126.1 kB / 1.16 GB, free: 29.36 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.9369, allocations: 3.328 kB / 1.16 GB, free: 29.36 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.971e-05/0.937, allocations: 14.81 kB / 1.16 GB, free: 29.36 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.937, allocations: 0 / 1.16 GB, free: 29.36 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.697e-06/0.937, allocations: 2.875 kB / 1.16 GB, free: 29.36 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/0.937, allocations: 0 / 1.16 GB, free: 29.36 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.937, allocations: 0 / 1.16 GB, free: 29.36 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002158/0.9372, allocations: 192.1 kB / 1.16 GB, free: 29.2 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 1.329e-05/0.9372, allocations: 10.86 kB / 1.16 GB, free: 29.2 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.901e-05/0.9372, allocations: 15.27 kB / 1.16 GB, free: 29.18 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.404e-05/0.9373, allocations: 2.969 kB / 1.16 GB, free: 29.18 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.211e-05/0.9374, allocations: 9.828 kB / 1.16 GB, free: 29.18 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.12e-06/0.9374, allocations: 0 / 1.16 GB, free: 29.18 MB / 1.076 GB Notification: Performance of sorting global known variables: time 4.22e-05/0.9374, allocations: 105.4 kB / 1.16 GB, free: 29.1 MB / 1.076 GB Notification: Performance of sort global known variables: time 8.1e-08/0.9374, allocations: 0 / 1.16 GB, free: 29.1 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002481/0.9377, allocations: 18.66 kB / 1.16 GB, free: 29.1 MB / 1.076 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.0001536/0.9378, allocations: 114.9 kB / 1.16 GB, free: 29 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0002042/0.938, allocations: 57.28 kB / 1.16 GB, free: 28.99 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.938, allocations: 2.469 kB / 1.16 GB, free: 28.99 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 7.806e-05/0.9381, allocations: 27.42 kB / 1.16 GB, free: 28.98 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003072/0.9384, allocations: 16.77 kB / 1.16 GB, free: 28.97 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003917/0.9388, allocations: 199.8 kB / 1.16 GB, free: 28.82 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.37e-05/0.9388, allocations: 79.67 kB / 1.16 GB, free: 28.74 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 4.142e-05/0.9389, allocations: 5.969 kB / 1.16 GB, free: 28.74 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.836e-05/0.9389, allocations: 11.31 kB / 1.16 GB, free: 28.73 MB / 1.076 GB Notification: Performance of SimCode: time 3.21e-07/0.9389, allocations: 0 / 1.16 GB, free: 28.73 MB / 1.076 GB Notification: Performance of Templates: time 0.003768/0.9427, allocations: 1.131 MB / 1.161 GB, free: 28.6 MB / 1.076 GB " [Timeout remaining time 299] 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 ida -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: 8.905473516904749]