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.002013/0.002013, allocations: 80.41 kB / 20.23 MB, free: 4.199 MB / 18.57 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.002504/0.002504, allocations: 161.7 kB / 23.54 MB, free: 0.8906 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.6/1.6, allocations: 177.1 MB / 203.9 MB, free: 5.578 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.916/2.916, allocations: 377.8 MB / 0.6232 GB, free: 8.512 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 2.304e-06/2.304e-06, allocations: 0 / 0.8108 GB, free: 2.047 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.169e-05/3.399e-05, allocations: 2.312 kB / 0.8108 GB, free: 2.043 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside): time 0.003789/0.003823, allocations: 1.626 MB / 0.8124 GB, free: 440 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.002249/0.006071, allocations: 0.93 MB / 0.8133 GB, free: 15.5 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001145/0.006186, allocations: 0 / 0.8133 GB, free: 15.5 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 4.789e-05/0.006234, allocations: 11.86 kB / 0.8134 GB, free: 15.48 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0002975/0.006531, allocations: 24.39 kB / 0.8134 GB, free: 15.46 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006615/0.007193, allocations: 165 kB / 0.8135 GB, free: 15.3 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0002266/0.007419, allocations: 76.41 kB / 0.8136 GB, free: 15.23 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001011/0.007521, allocations: 11.98 kB / 0.8136 GB, free: 15.21 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000211/0.007732, allocations: 50.3 kB / 0.8137 GB, free: 15.17 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001155/0.007847, allocations: 31.91 kB / 0.8137 GB, free: 15.14 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.582e-05/0.007873, allocations: 7.984 kB / 0.8137 GB, free: 15.13 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005006/0.008374, allocations: 271.6 kB / 0.814 GB, free: 14.86 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 2.458e-05/0.008398, allocations: 7.938 kB / 0.814 GB, free: 14.86 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 4.931e-05/0.008447, allocations: 24.97 kB / 0.814 GB, free: 14.83 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0003872/0.008835, allocations: 191.4 kB / 0.8142 GB, free: 14.64 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.008838, allocations: 0 / 0.8142 GB, free: 14.64 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.022e-06/0.008839, allocations: 1 kB / 0.8142 GB, free: 14.64 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 5.039e-06/0.008844, allocations: 0 / 0.8142 GB, free: 14.64 MB / 0.7761 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.0007054/0.009549, allocations: 334.7 kB / 0.8145 GB, free: 14.29 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.723e-05/0.009597, allocations: 9.375 kB / 0.8145 GB, free: 14.28 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000345/0.009942, allocations: 36.81 kB / 0.8145 GB, free: 14.25 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002958/0.01024, allocations: 142 kB / 0.8147 GB, free: 14.09 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.274e-05/0.01025, allocations: 4.375 kB / 0.8147 GB, free: 14.08 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.635e-05/0.01027, allocations: 8.312 kB / 0.8147 GB, free: 14.07 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001994/0.01047, allocations: 63.91 kB / 0.8148 GB, free: 14.01 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.237e-06/0.01048, allocations: 192 / 0.8148 GB, free: 14.01 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.217e-05/0.01049, allocations: 384 / 0.8148 GB, free: 14.01 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.343e-06/0.01049, allocations: 3.938 kB / 0.8148 GB, free: 14 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001679/0.01066, allocations: 40.88 kB / 0.8148 GB, free: 13.96 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005122/0.01117, allocations: 237 kB / 0.815 GB, free: 13.7 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000183/0.01136, allocations: 55.64 kB / 0.8151 GB, free: 13.64 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.889e-05/0.01145, allocations: 30.22 kB / 0.8151 GB, free: 13.61 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.189e-05/0.01147, allocations: 4 kB / 0.8151 GB, free: 13.61 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.685e-05/0.01151, allocations: 38.44 kB / 0.8151 GB, free: 13.56 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=5): time 1.092e-06/0.01151, allocations: 0.5312 kB / 0.8151 GB, free: 13.56 MB / 0.7761 GB Notification: Performance of matching and sorting (n=5): time 0.0004478/0.01195, allocations: 107 kB / 0.8152 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.181e-05/0.01201, allocations: 55.34 kB / 0.8153 GB, free: 13.38 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001634/0.01217, allocations: 139.3 kB / 0.8154 GB, free: 13.23 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.309e-05/0.01219, allocations: 25.7 kB / 0.8155 GB, free: 13.2 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 8.527e-05/0.01228, allocations: 96.14 kB / 0.8155 GB, free: 13.11 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.751e-05/0.01231, allocations: 20.7 kB / 0.8156 GB, free: 13.09 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.263e-05/0.01237, allocations: 25.7 kB / 0.8156 GB, free: 13.05 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001772/0.01255, allocations: 318.8 kB / 0.8159 GB, free: 12.73 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.49e-05/0.01263, allocations: 20.83 kB / 0.8159 GB, free: 12.71 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.494e-05/0.01271, allocations: 25.27 kB / 0.8159 GB, free: 12.69 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001656/0.01287, allocations: 53.2 kB / 0.816 GB, free: 12.64 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.37e-06/0.01288, allocations: 4.844 kB / 0.816 GB, free: 12.63 MB / 0.7761 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002816/0.01316, allocations: 98.66 kB / 0.8161 GB, free: 12.53 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.877e-05/0.01318, allocations: 4 kB / 0.8161 GB, free: 12.53 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/0.01318, allocations: 1.375 kB / 0.8161 GB, free: 12.53 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.589e-05/0.01321, allocations: 7.984 kB / 0.8161 GB, free: 12.52 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001207/0.01333, allocations: 8 kB / 0.8161 GB, free: 12.51 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.502e-06/0.01334, allocations: 0 / 0.8161 GB, free: 12.51 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.269e-05/0.01341, allocations: 13.48 kB / 0.8161 GB, free: 12.5 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.26e-05/0.01342, allocations: 4 kB / 0.8161 GB, free: 12.5 MB / 0.7761 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.0001099/0.01353, allocations: 109.8 kB / 0.8162 GB, free: 12.38 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.963e-05/0.0136, allocations: 18.73 kB / 0.8162 GB, free: 12.36 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002912/0.01389, allocations: 98.05 kB / 0.8163 GB, free: 12.27 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.14e-06/0.0139, allocations: 4 kB / 0.8163 GB, free: 12.26 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.0139, allocations: 0 / 0.8163 GB, free: 12.26 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.077e-06/0.01391, allocations: 0 / 0.8163 GB, free: 12.26 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002085/0.01411, allocations: 129.2 kB / 0.8165 GB, free: 12.11 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.01411, allocations: 0.5 kB / 0.8165 GB, free: 12.11 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.215e-05/0.01421, allocations: 16.48 kB / 0.8165 GB, free: 12.09 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/0.01421, allocations: 1.312 kB / 0.8165 GB, free: 12.09 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.261e-05/0.01422, allocations: 3.938 kB / 0.8165 GB, free: 12.09 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.088e-06/0.01423, allocations: 3.984 kB / 0.8165 GB, free: 12.08 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.651e-06/0.01423, allocations: 3.984 kB / 0.8165 GB, free: 12.08 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003283/0.01456, allocations: 188.3 kB / 0.8167 GB, free: 11.88 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.538e-05/0.01458, allocations: 17.17 kB / 0.8167 GB, free: 11.86 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.133e-05/0.0146, allocations: 4.125 kB / 0.8167 GB, free: 11.86 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.521e-05/0.01469, allocations: 11.98 kB / 0.8167 GB, free: 11.85 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.556e-05/0.01475, allocations: 12.84 kB / 0.8167 GB, free: 11.84 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.38e-06/0.01475, allocations: 0 / 0.8167 GB, free: 11.84 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 9.076e-05/0.01484, allocations: 111 kB / 0.8168 GB, free: 11.73 MB / 0.7761 GB Notification: Performance of sort global known variables: time 8e-08/0.01485, allocations: 0 / 0.8168 GB, free: 11.73 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002765/0.01512, allocations: 20.66 kB / 0.8168 GB, free: 11.71 MB / 0.7761 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.0002382/0.01536, allocations: 110 kB / 0.817 GB, free: 11.59 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0002413/0.0156, allocations: 55.95 kB / 0.817 GB, free: 11.54 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.0156, allocations: 0 / 0.817 GB, free: 11.54 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 9.581e-05/0.0157, allocations: 31.92 kB / 0.817 GB, free: 11.51 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003256/0.01602, allocations: 14.7 kB / 0.8171 GB, free: 11.5 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000552/0.01658, allocations: 185 kB / 0.8172 GB, free: 11.29 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.774e-05/0.01667, allocations: 76.27 kB / 0.8173 GB, free: 11.2 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 5.296e-05/0.01673, allocations: 5.047 kB / 0.8173 GB, free: 11.19 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.18e-05/0.01677, allocations: 13.62 kB / 0.8173 GB, free: 11.18 MB / 0.7761 GB Notification: Performance of SimCode: time 6.12e-07/0.01677, allocations: 0 / 0.8173 GB, free: 11.18 MB / 0.7761 GB Notification: Performance of Templates: time 0.004998/0.02177, allocations: 1.156 MB / 0.8184 GB, free: 10.05 MB / 0.7761 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 -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/jenkins/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.471994259976782]