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.001493/0.001493, allocations: 79.86 kB / 19.18 MB, free: 2.527 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.001678/0.001678, allocations: 165.6 kB / 22.46 MB, free: 5.359 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.491/1.491, allocations: 177.1 MB / 202.8 MB, free: 9.195 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.797/2.797, allocations: 359 MB / 0.6037 GB, free: 15 MB / 0.5762 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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: Performance of FrontEnd - loaded program: time 2.886e-06/2.886e-06, allocations: 0 / 0.951 GB, free: 11.53 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.414e-05/3.702e-05, allocations: 6.219 kB / 0.951 GB, free: 11.52 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside): time 0.00429/0.004327, allocations: 1.622 MB / 0.9526 GB, free: 9.883 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002361/0.006688, allocations: 0.9314 MB / 0.9535 GB, free: 8.945 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001592/0.006847, allocations: 3.938 kB / 0.9535 GB, free: 8.941 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 4.828e-05/0.006895, allocations: 3.938 kB / 0.9535 GB, free: 8.938 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0003237/0.007219, allocations: 27.72 kB / 0.9535 GB, free: 8.91 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006712/0.00789, allocations: 154.2 kB / 0.9537 GB, free: 8.762 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002545/0.008145, allocations: 87.59 kB / 0.9538 GB, free: 8.676 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001463/0.008291, allocations: 11.98 kB / 0.9538 GB, free: 8.664 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002578/0.008549, allocations: 51.83 kB / 0.9538 GB, free: 8.613 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001368/0.008686, allocations: 27.91 kB / 0.9539 GB, free: 8.586 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.064e-05/0.008716, allocations: 4 kB / 0.9539 GB, free: 8.582 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005377/0.009254, allocations: 275.6 kB / 0.9541 GB, free: 8.312 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.815e-05/0.009282, allocations: 7.938 kB / 0.9541 GB, free: 8.305 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.661e-05/0.009329, allocations: 23.98 kB / 0.9542 GB, free: 8.281 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0004831/0.009812, allocations: 187.4 kB / 0.9543 GB, free: 8.098 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.009816, allocations: 0 / 0.9543 GB, free: 8.098 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.323e-06/0.009817, allocations: 7.938 kB / 0.9543 GB, free: 8.09 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.374e-06/0.009825, allocations: 0 / 0.9543 GB, free: 8.09 MB / 0.8575 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.0007389/0.01056, allocations: 341.7 kB / 0.9547 GB, free: 7.727 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.538e-05/0.01061, allocations: 12.03 kB / 0.9547 GB, free: 7.715 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003491/0.01096, allocations: 32.8 kB / 0.9547 GB, free: 7.684 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003197/0.01128, allocations: 137.6 kB / 0.9548 GB, free: 7.523 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.369e-05/0.01129, allocations: 4.375 kB / 0.9548 GB, free: 7.52 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.492e-05/0.01131, allocations: 4.375 kB / 0.9549 GB, free: 7.516 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002134/0.01152, allocations: 62.22 kB / 0.9549 GB, free: 7.449 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.051e-05/0.01153, allocations: 192 / 0.9549 GB, free: 7.449 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.246e-05/0.01154, allocations: 4.312 kB / 0.9549 GB, free: 7.445 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.938e-06/0.01155, allocations: 7.938 kB / 0.9549 GB, free: 7.438 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001615/0.01171, allocations: 43.97 kB / 0.955 GB, free: 7.395 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005196/0.01223, allocations: 232.5 kB / 0.9552 GB, free: 7.137 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001763/0.01241, allocations: 54.56 kB / 0.9552 GB, free: 7.074 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.107e-05/0.0125, allocations: 28.95 kB / 0.9553 GB, free: 7.043 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.288e-05/0.01252, allocations: 0 / 0.9553 GB, free: 7.043 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.968e-05/0.01256, allocations: 34.5 kB / 0.9553 GB, free: 7 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=5): time 1.132e-06/0.01256, allocations: 0 / 0.9553 GB, free: 7 MB / 0.8575 GB Notification: Performance of matching and sorting (n=5): time 0.0004438/0.01301, allocations: 109.5 kB / 0.9554 GB, free: 6.887 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.5e-05/0.01306, allocations: 55.41 kB / 0.9555 GB, free: 6.82 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001677/0.01323, allocations: 140.2 kB / 0.9556 GB, free: 6.672 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.745e-05/0.01326, allocations: 29.7 kB / 0.9556 GB, free: 6.637 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 9.479e-05/0.01335, allocations: 96.12 kB / 0.9557 GB, free: 6.539 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.237e-05/0.01338, allocations: 11.84 kB / 0.9557 GB, free: 6.527 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.983e-05/0.01344, allocations: 21.7 kB / 0.9557 GB, free: 6.5 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001953/0.01363, allocations: 322.8 kB / 0.9561 GB, free: 6.176 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.444e-05/0.01372, allocations: 19.98 kB / 0.9561 GB, free: 6.156 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.219e-05/0.01379, allocations: 23.98 kB / 0.9561 GB, free: 6.133 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001593/0.01395, allocations: 57.2 kB / 0.9561 GB, free: 6.074 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.01395, allocations: 0 / 0.9561 GB, free: 6.074 MB / 0.8575 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002334/0.01418, allocations: 101.4 kB / 0.9562 GB, free: 5.969 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.958e-05/0.0142, allocations: 8 kB / 0.9563 GB, free: 5.961 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.01421, allocations: 0 / 0.9563 GB, free: 5.961 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.963e-05/0.01423, allocations: 0 / 0.9563 GB, free: 5.961 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001264/0.01435, allocations: 15.98 kB / 0.9563 GB, free: 5.945 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.234e-06/0.01436, allocations: 0 / 0.9563 GB, free: 5.945 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.264e-05/0.01442, allocations: 15.94 kB / 0.9563 GB, free: 5.93 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.039e-05/0.01443, allocations: 4 kB / 0.9563 GB, free: 5.926 MB / 0.8575 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.0001117/0.01455, allocations: 113.8 kB / 0.9564 GB, free: 5.805 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.701e-05/0.01459, allocations: 11.89 kB / 0.9564 GB, free: 5.793 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002853/0.01488, allocations: 98.05 kB / 0.9565 GB, free: 5.691 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.01488, allocations: 7.984 kB / 0.9565 GB, free: 5.684 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.628e-06/0.01489, allocations: 0 / 0.9565 GB, free: 5.684 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.01489, allocations: 0 / 0.9565 GB, free: 5.684 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001818/0.01507, allocations: 133.4 kB / 0.9566 GB, free: 5.523 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.01507, allocations: 0 / 0.9566 GB, free: 5.523 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.538e-05/0.01516, allocations: 15.98 kB / 0.9566 GB, free: 5.508 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.01516, allocations: 0 / 0.9566 GB, free: 5.508 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.253e-05/0.01517, allocations: 3.938 kB / 0.9567 GB, free: 5.504 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.01517, allocations: 0 / 0.9567 GB, free: 5.504 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/0.01517, allocations: 4 kB / 0.9567 GB, free: 5.5 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002881/0.01546, allocations: 191.3 kB / 0.9568 GB, free: 5.297 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.539e-05/0.01548, allocations: 7.953 kB / 0.9568 GB, free: 5.289 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.313e-05/0.0155, allocations: 7.938 kB / 0.9569 GB, free: 5.281 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.31e-05/0.01558, allocations: 4.188 kB / 0.9569 GB, free: 5.277 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.632e-05/0.01563, allocations: 7.984 kB / 0.9569 GB, free: 5.27 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.929e-06/0.01563, allocations: 4 kB / 0.9569 GB, free: 5.266 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 7.797e-05/0.01571, allocations: 109.5 kB / 0.957 GB, free: 5.16 MB / 0.8575 GB Notification: Performance of sort global known variables: time 6e-08/0.01571, allocations: 0 / 0.957 GB, free: 5.16 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002493/0.01596, allocations: 23.94 kB / 0.957 GB, free: 5.137 MB / 0.8575 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.0002338/0.0162, allocations: 107.2 kB / 0.9571 GB, free: 5.023 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002391/0.01644, allocations: 63.89 kB / 0.9572 GB, free: 4.961 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.01644, allocations: 0 / 0.9572 GB, free: 4.961 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 8.52e-05/0.01652, allocations: 23.98 kB / 0.9572 GB, free: 4.938 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002956/0.01682, allocations: 27.84 kB / 0.9572 GB, free: 4.91 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005111/0.01733, allocations: 177.4 kB / 0.9574 GB, free: 4.711 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.729e-05/0.01743, allocations: 79.33 kB / 0.9575 GB, free: 4.613 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 4.3e-05/0.01747, allocations: 4 kB / 0.9575 GB, free: 4.609 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.957e-05/0.01751, allocations: 16.48 kB / 0.9575 GB, free: 4.594 MB / 0.8575 GB Notification: Performance of SimCode: time 3.91e-07/0.01751, allocations: 0 / 0.9575 GB, free: 4.594 MB / 0.8575 GB Notification: Performance of Templates: time 0.004883/0.02239, allocations: 1.125 MB / 0.9586 GB, free: 3.492 MB / 0.8575 GB " [Timeout remaining time 300] 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/jenkins/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: 8.255976904183626]