Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.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.00176/0.00176, allocations: 88.39 kB / 20.23 MB, free: 4.172 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.001832/0.001832, allocations: 161.3 kB / 23.54 MB, free: 0.8672 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.571/1.571, allocations: 177.1 MB / 203.9 MB, free: 5.574 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.955/2.955, allocations: 377.8 MB / 0.6232 GB, free: 8.523 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.MassExchange,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|masExc.TSur|masExc.mWat_flow|masExc.Gc|masExc.XInf|masExc.humRatPre.X_w",fileNamePrefix="Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange") translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|masExc.TSur|masExc.mWat_flow|masExc.Gc|masExc.XInf|masExc.humRatPre.X_w",fileNamePrefix="Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.184e-06/2.184e-06, allocations: 0.875 kB / 0.8108 GB, free: 2.051 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.861e-05/4.08e-05, allocations: 6.25 kB / 0.8109 GB, free: 2.043 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange): time 0.216/0.2161, allocations: 131 MB / 0.9388 GB, free: 14.58 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.002047/0.2181, allocations: 1.043 MB / 0.9398 GB, free: 13.54 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001745/0.2183, allocations: 4 kB / 0.9398 GB, free: 13.53 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.0004584/0.2187, allocations: 55.56 kB / 0.9399 GB, free: 13.48 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 0.001165/0.2199, allocations: 314.4 kB / 0.9402 GB, free: 13.17 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006879/0.2206, allocations: 171.2 kB / 0.9404 GB, free: 13 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0005803/0.2212, allocations: 231.2 kB / 0.9406 GB, free: 12.77 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001635/0.2213, allocations: 52.12 kB / 0.9406 GB, free: 12.72 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001639/0.2215, allocations: 79.8 kB / 0.9407 GB, free: 12.64 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001115/0.2216, allocations: 43.88 kB / 0.9407 GB, free: 12.6 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 2.651e-05/0.2216, allocations: 12 kB / 0.9408 GB, free: 12.59 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005805/0.2222, allocations: 235.3 kB / 0.941 GB, free: 12.36 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 7.922e-05/0.2223, allocations: 31.84 kB / 0.941 GB, free: 12.33 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 7.934e-05/0.2224, allocations: 43.91 kB / 0.941 GB, free: 12.29 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0006745/0.2231, allocations: 291.1 kB / 0.9413 GB, free: 12 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.2231, allocations: 0 / 0.9413 GB, free: 12 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.483e-06/0.2231, allocations: 0 / 0.9413 GB, free: 12 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 7.564e-06/0.2231, allocations: 0 / 0.9413 GB, free: 12 MB / 0.9011 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0009/0.224, allocations: 405.2 kB / 0.9417 GB, free: 11.57 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.809e-05/0.224, allocations: 8.031 kB / 0.9417 GB, free: 11.57 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006235/0.2246, allocations: 64.67 kB / 0.9418 GB, free: 11.5 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003882/0.225, allocations: 149.6 kB / 0.9419 GB, free: 11.33 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.009e-05/0.2251, allocations: 8.359 kB / 0.9419 GB, free: 11.32 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.136e-05/0.2251, allocations: 12.38 kB / 0.9419 GB, free: 11.31 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003318/0.2254, allocations: 125.5 kB / 0.9421 GB, free: 11.18 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.698e-05/0.2254, allocations: 3.984 kB / 0.9421 GB, free: 11.18 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.136e-05/0.2254, allocations: 4 kB / 0.9421 GB, free: 11.18 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.395e-06/0.2255, allocations: 4 kB / 0.9421 GB, free: 11.17 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003031/0.2258, allocations: 87.94 kB / 0.9422 GB, free: 11.09 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008252/0.2266, allocations: 360.1 kB / 0.9425 GB, free: 10.7 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000261/0.2268, allocations: 90.48 kB / 0.9426 GB, free: 10.61 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001266/0.227, allocations: 32.95 kB / 0.9426 GB, free: 10.57 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 3.089e-05/0.227, allocations: 3.938 kB / 0.9426 GB, free: 10.57 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.995e-05/0.227, allocations: 38.55 kB / 0.9427 GB, free: 10.52 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=7): time 1.312e-06/0.227, allocations: 0 / 0.9427 GB, free: 10.52 MB / 0.9011 GB Notification: Performance of matching and sorting (n=7): time 0.0005123/0.2276, allocations: 137.6 kB / 0.9428 GB, free: 10.38 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.234e-05/0.2276, allocations: 51.41 kB / 0.9428 GB, free: 10.32 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002148/0.2278, allocations: 155.4 kB / 0.943 GB, free: 10.16 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 3.106e-05/0.2279, allocations: 29.7 kB / 0.943 GB, free: 10.12 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.000135/0.228, allocations: 127.8 kB / 0.9431 GB, free: 9.992 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 3.53e-05/0.228, allocations: 27.78 kB / 0.9432 GB, free: 9.965 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.031e-05/0.2281, allocations: 21.72 kB / 0.9432 GB, free: 9.938 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0002076/0.2283, allocations: 322.8 kB / 0.9435 GB, free: 9.613 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001228/0.2284, allocations: 31.98 kB / 0.9435 GB, free: 9.582 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001143/0.2285, allocations: 36.28 kB / 0.9436 GB, free: 9.547 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002415/0.2288, allocations: 76.95 kB / 0.9436 GB, free: 9.469 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/0.2288, allocations: 7.938 kB / 0.9436 GB, free: 9.461 MB / 0.9011 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003261/0.2291, allocations: 113.6 kB / 0.9437 GB, free: 9.344 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.937e-05/0.2291, allocations: 4 kB / 0.9438 GB, free: 9.34 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.624e-06/0.2291, allocations: 0 / 0.9438 GB, free: 9.34 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.638e-05/0.2292, allocations: 3.938 kB / 0.9438 GB, free: 9.336 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001512/0.2293, allocations: 23.98 kB / 0.9438 GB, free: 9.312 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.466e-06/0.2293, allocations: 0 / 0.9438 GB, free: 9.312 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001038/0.2294, allocations: 11.94 kB / 0.9438 GB, free: 9.301 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.332e-05/0.2294, allocations: 4 kB / 0.9438 GB, free: 9.297 MB / 0.9011 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 (8): * Single equations (assignments): 8 * 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.0001532/0.2296, allocations: 121.8 kB / 0.9439 GB, free: 9.168 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.253e-05/0.2296, allocations: 15.95 kB / 0.9439 GB, free: 9.152 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004242/0.2301, allocations: 126.3 kB / 0.944 GB, free: 9.027 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.447e-06/0.2301, allocations: 0 / 0.944 GB, free: 9.027 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/0.2301, allocations: 8 kB / 0.9441 GB, free: 9.02 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.2301, allocations: 0 / 0.9441 GB, free: 9.02 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002398/0.2303, allocations: 141.3 kB / 0.9442 GB, free: 8.852 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.578e-06/0.2303, allocations: 7.938 kB / 0.9442 GB, free: 8.844 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000115/0.2304, allocations: 19.98 kB / 0.9442 GB, free: 8.824 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.935e-06/0.2305, allocations: 0 / 0.9442 GB, free: 8.824 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.016e-05/0.2305, allocations: 0 / 0.9442 GB, free: 8.824 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.2305, allocations: 0 / 0.9442 GB, free: 8.824 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.2305, allocations: 0 / 0.9442 GB, free: 8.824 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003917/0.2309, allocations: 211.4 kB / 0.9444 GB, free: 8.602 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 3.135e-05/0.2309, allocations: 19.78 kB / 0.9444 GB, free: 8.582 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.61e-05/0.2309, allocations: 7.984 kB / 0.9444 GB, free: 8.574 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001204/0.231, allocations: 4 kB / 0.9444 GB, free: 8.57 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.406e-05/0.2311, allocations: 11.97 kB / 0.9445 GB, free: 8.559 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.47e-06/0.2311, allocations: 0 / 0.9445 GB, free: 8.559 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0001205/0.2312, allocations: 121.6 kB / 0.9446 GB, free: 8.441 MB / 0.9011 GB Notification: Performance of sort global known variables: time 7e-08/0.2312, allocations: 0 / 0.9446 GB, free: 8.441 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0002809/0.2315, allocations: 28 kB / 0.9446 GB, free: 8.414 MB / 0.9011 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 (7): * Single equations (assignments): 7 * 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.0002065/0.2317, allocations: 99.25 kB / 0.9447 GB, free: 8.305 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.0003071/0.232, allocations: 67.95 kB / 0.9448 GB, free: 8.238 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.232, allocations: 3.938 kB / 0.9448 GB, free: 8.234 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0001227/0.2321, allocations: 39.97 kB / 0.9448 GB, free: 8.195 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004242/0.2326, allocations: 42.34 kB / 0.9448 GB, free: 8.156 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006841/0.2333, allocations: 245 kB / 0.9451 GB, free: 7.891 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001362/0.2334, allocations: 102.1 kB / 0.9452 GB, free: 7.773 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 7.392e-05/0.2335, allocations: 8.5 kB / 0.9452 GB, free: 7.766 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.072e-05/0.2335, allocations: 12.5 kB / 0.9452 GB, free: 7.754 MB / 0.9011 GB Notification: Performance of SimCode: time 8.22e-07/0.2335, allocations: 0 / 0.9452 GB, free: 7.754 MB / 0.9011 GB Notification: Performance of Templates: time 0.005733/0.2392, allocations: 1.567 MB / 0.9467 GB, free: 6.238 MB / 0.9011 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe ; mkfifo Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe >> ../files/Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.sim & ./Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_MassExchange.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.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.370394377037883]