Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001668/0.001668, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.002126/0.002126, allocations: 215 kB / 22.99 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.532/1.532, 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 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.924/2.924, allocations: 476 MB / 0.7707 GB, free: 4.723 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_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_11_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.002109/0.002109, allocations: 67.19 kB / 1.118 GB, free: 41.1 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3486/0.3507, allocations: 170 MB / 1.284 GB, free: 11.86 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside): time 0.003529/0.3542, allocations: 1.616 MB / 1.285 GB, free: 10.24 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001895/0.3561, allocations: 0.921 MB / 1.286 GB, free: 9.312 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001137/0.3562, allocations: 3.938 kB / 1.286 GB, free: 9.309 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 4.493e-05/0.3563, allocations: 7.938 kB / 1.286 GB, free: 9.301 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0002499/0.3565, allocations: 23.78 kB / 1.286 GB, free: 9.277 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005539/0.3571, allocations: 165.9 kB / 1.286 GB, free: 9.117 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002301/0.3573, allocations: 75.72 kB / 1.287 GB, free: 9.043 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001187/0.3574, allocations: 15.92 kB / 1.287 GB, free: 9.027 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001854/0.3576, allocations: 51.78 kB / 1.287 GB, free: 8.977 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001193/0.3577, allocations: 31.84 kB / 1.287 GB, free: 8.945 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.941e-05/0.3578, allocations: 4 kB / 1.287 GB, free: 8.941 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004927/0.3582, allocations: 271.6 kB / 1.287 GB, free: 8.676 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.838e-05/0.3583, allocations: 15.92 kB / 1.287 GB, free: 8.66 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.929e-05/0.3583, allocations: 23.86 kB / 1.287 GB, free: 8.637 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003309/0.3586, allocations: 159.4 kB / 1.287 GB, free: 8.48 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 7.073e-06/0.3587, allocations: 3.984 kB / 1.287 GB, free: 8.477 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.894e-06/0.3587, allocations: 0 / 1.287 GB, free: 8.477 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.244e-05/0.3587, allocations: 0 / 1.287 GB, free: 8.477 MB / 0.9825 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.0006356/0.3593, allocations: 337.7 kB / 1.287 GB, free: 8.117 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.569e-05/0.3593, allocations: 15.97 kB / 1.287 GB, free: 8.102 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003156/0.3597, allocations: 32.86 kB / 1.287 GB, free: 8.07 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000308/0.36, allocations: 143.9 kB / 1.288 GB, free: 7.906 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.146e-05/0.36, allocations: 384 / 1.288 GB, free: 7.906 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.816e-05/0.36, allocations: 4.375 kB / 1.288 GB, free: 7.902 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001986/0.3602, allocations: 65.98 kB / 1.288 GB, free: 7.832 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/0.3602, allocations: 0 / 1.288 GB, free: 7.832 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.197e-05/0.3602, allocations: 0 / 1.288 GB, free: 7.832 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.227e-05/0.3602, allocations: 4 kB / 1.288 GB, free: 7.828 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001504/0.3604, allocations: 39.91 kB / 1.288 GB, free: 7.789 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004879/0.3609, allocations: 236.5 kB / 1.288 GB, free: 7.527 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001657/0.361, allocations: 62.48 kB / 1.288 GB, free: 7.457 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.721e-05/0.3611, allocations: 32.97 kB / 1.288 GB, free: 7.422 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.988e-05/0.3612, allocations: 0 / 1.288 GB, free: 7.422 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.338e-05/0.3612, allocations: 30.56 kB / 1.288 GB, free: 7.383 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=5): time 1.011e-06/0.3612, allocations: 0 / 1.288 GB, free: 7.383 MB / 0.9825 GB Notification: Performance of matching and sorting (n=5): time 0.0004033/0.3616, allocations: 109.5 kB / 1.288 GB, free: 7.27 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.255e-05/0.3616, allocations: 55.39 kB / 1.288 GB, free: 7.203 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001479/0.3618, allocations: 136.4 kB / 1.288 GB, free: 7.059 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.304e-05/0.3618, allocations: 29.7 kB / 1.288 GB, free: 7.023 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.088e-05/0.3619, allocations: 100.1 kB / 1.288 GB, free: 6.922 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.567e-05/0.3619, allocations: 15.83 kB / 1.288 GB, free: 6.906 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.489e-05/0.3619, allocations: 17.72 kB / 1.289 GB, free: 6.883 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001582/0.3621, allocations: 326.8 kB / 1.289 GB, free: 6.555 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.072e-05/0.3622, allocations: 19.98 kB / 1.289 GB, free: 6.535 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.893e-05/0.3623, allocations: 19.98 kB / 1.289 GB, free: 6.516 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001605/0.3624, allocations: 56.83 kB / 1.289 GB, free: 6.457 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/0.3624, allocations: 11.88 kB / 1.289 GB, free: 6.445 MB / 0.9825 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002364/0.3627, allocations: 94.05 kB / 1.289 GB, free: 6.348 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.072e-05/0.3627, allocations: 8 kB / 1.289 GB, free: 6.34 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/0.3627, allocations: 0 / 1.289 GB, free: 6.34 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.503e-05/0.3627, allocations: 0 / 1.289 GB, free: 6.34 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001241/0.3628, allocations: 15.98 kB / 1.289 GB, free: 6.324 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.144e-06/0.3628, allocations: 0 / 1.289 GB, free: 6.324 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.004e-05/0.3629, allocations: 4 kB / 1.289 GB, free: 6.32 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.085e-06/0.3629, allocations: 4 kB / 1.289 GB, free: 6.316 MB / 0.9825 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.0001011/0.363, allocations: 117.8 kB / 1.289 GB, free: 6.191 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.302e-05/0.363, allocations: 11.94 kB / 1.289 GB, free: 6.18 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00028/0.3633, allocations: 102 kB / 1.289 GB, free: 6.07 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.751e-06/0.3633, allocations: 4 kB / 1.289 GB, free: 6.066 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.3633, allocations: 0 / 1.289 GB, free: 6.066 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.856e-06/0.3633, allocations: 0 / 1.289 GB, free: 6.066 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001772/0.3635, allocations: 133.2 kB / 1.289 GB, free: 5.906 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.3635, allocations: 0 / 1.289 GB, free: 5.906 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.644e-05/0.3636, allocations: 19.98 kB / 1.289 GB, free: 5.887 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.3636, allocations: 0 / 1.289 GB, free: 5.887 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.185e-05/0.3636, allocations: 4 kB / 1.289 GB, free: 5.883 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.3636, allocations: 0 / 1.289 GB, free: 5.883 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.3636, allocations: 0 / 1.289 GB, free: 5.883 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002947/0.3639, allocations: 195.3 kB / 1.29 GB, free: 5.676 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.7e-05/0.3639, allocations: 7.953 kB / 1.29 GB, free: 5.668 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.78e-05/0.364, allocations: 3.938 kB / 1.29 GB, free: 5.664 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.705e-05/0.364, allocations: 7.984 kB / 1.29 GB, free: 5.656 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.301e-05/0.3641, allocations: 7.984 kB / 1.29 GB, free: 5.648 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.268e-05/0.3641, allocations: 7.984 kB / 1.29 GB, free: 5.641 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.284e-05/0.3642, allocations: 101.2 kB / 1.29 GB, free: 5.543 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7.1e-08/0.3642, allocations: 0 / 1.29 GB, free: 5.543 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002674/0.3644, allocations: 27.94 kB / 1.29 GB, free: 5.516 MB / 0.9825 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.0002077/0.3646, allocations: 111.2 kB / 1.29 GB, free: 5.398 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002511/0.3649, allocations: 64.03 kB / 1.29 GB, free: 5.336 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.3649, allocations: 4 kB / 1.29 GB, free: 5.332 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 9.114e-05/0.365, allocations: 27.98 kB / 1.29 GB, free: 5.305 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002966/0.3653, allocations: 19.86 kB / 1.29 GB, free: 5.285 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005509/0.3658, allocations: 215.1 kB / 1.29 GB, free: 5.043 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.931e-05/0.3659, allocations: 75.33 kB / 1.29 GB, free: 4.949 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.781e-05/0.366, allocations: 19.42 kB / 1.29 GB, free: 4.93 MB / 0.9825 GB Notification: Performance of SimCode: time 6.01e-07/0.366, allocations: 0 / 1.29 GB, free: 4.93 MB / 0.9825 GB Notification: Performance of Templates: time 0.003816/0.3698, allocations: 1.183 MB / 1.291 GB, free: 3.754 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; mkfifo Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe >> ../files/Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.sim & ./Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 11.616581553127617]