Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001404/0.001404, allocations: 113.3 kB / 17.08 MB, free: 6.012 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001447/0.001447, allocations: 193.2 kB / 20.03 MB, free: 3.082 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.413/1.413, allocations: 222.9 MB / 245.7 MB, free: 4.211 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.892/2.892, allocations: 489.3 MB / 0.7687 GB, free: 3.75 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_latest_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_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001976/0.001976, allocations: 67.89 kB / 1.103 GB, free: 0.7422 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9789/0.9808, allocations: 163.8 MB / 1.263 GB, free: 8 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange): time 0.1879/1.169, allocations: 149 MB / 1.408 GB, free: 10.05 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.001832/1.171, allocations: 1.13 MB / 1.409 GB, free: 9.141 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001316/1.171, allocations: 1.406 kB / 1.409 GB, free: 9.141 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.0004129/1.171, allocations: 55.14 kB / 1.409 GB, free: 9.098 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.0008426/1.172, allocations: 307.9 kB / 1.41 GB, free: 8.871 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003866/1.173, allocations: 171 kB / 1.41 GB, free: 8.754 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.000465/1.173, allocations: 221.6 kB / 1.41 GB, free: 8.625 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001463/1.173, allocations: 62.36 kB / 1.41 GB, free: 8.586 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 7.71e-05/1.173, allocations: 51.56 kB / 1.41 GB, free: 8.555 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001003/1.173, allocations: 56.53 kB / 1.41 GB, free: 8.516 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 2.425e-05/1.173, allocations: 12.44 kB / 1.41 GB, free: 8.516 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006018/1.174, allocations: 365.4 kB / 1.41 GB, free: 8.312 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 5.993e-05/1.174, allocations: 36.77 kB / 1.41 GB, free: 8.281 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 6.729e-05/1.174, allocations: 60.83 kB / 1.411 GB, free: 8.238 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.0004734/1.175, allocations: 292.4 kB / 1.411 GB, free: 8.062 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/1.175, allocations: 4 kB / 1.411 GB, free: 8.059 MB / 1.107 GB Notification: Performance of FrontEnd: time 2.164e-06/1.175, allocations: 4 kB / 1.411 GB, free: 8.055 MB / 1.107 GB Notification: Performance of Transformations before backend: time 6.282e-06/1.175, allocations: 1.156 kB / 1.411 GB, free: 8.055 MB / 1.107 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.0006986/1.175, allocations: 476.4 kB / 1.411 GB, free: 7.594 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 3.607e-05/1.175, allocations: 9.875 kB / 1.411 GB, free: 7.594 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002864/1.176, allocations: 36.44 kB / 1.411 GB, free: 7.578 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003445/1.176, allocations: 213.1 kB / 1.412 GB, free: 7.344 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.991e-05/1.176, allocations: 12.84 kB / 1.412 GB, free: 7.336 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.795e-05/1.176, allocations: 6.125 kB / 1.412 GB, free: 7.336 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002802/1.176, allocations: 116.2 kB / 1.412 GB, free: 7.258 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.25e-05/1.176, allocations: 0 / 1.412 GB, free: 7.258 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.623e-05/1.176, allocations: 9.312 kB / 1.412 GB, free: 7.25 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.274e-06/1.176, allocations: 2.844 kB / 1.412 GB, free: 7.25 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002792/1.177, allocations: 91.62 kB / 1.412 GB, free: 7.207 MB / 1.107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007361/1.178, allocations: 462.9 kB / 1.412 GB, free: 6.777 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002227/1.178, allocations: 95.25 kB / 1.412 GB, free: 6.715 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001215/1.178, allocations: 46.84 kB / 1.412 GB, free: 6.684 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 2.291e-05/1.178, allocations: 5.391 kB / 1.412 GB, free: 6.68 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.757e-05/1.178, allocations: 31.78 kB / 1.412 GB, free: 6.641 MB / 1.107 GB Notification: Performance of pre-optimization done (n=7): time 1.263e-06/1.178, allocations: 0 / 1.412 GB, free: 6.641 MB / 1.107 GB Notification: Performance of matching and sorting (n=7): time 0.0004428/1.178, allocations: 142 kB / 1.413 GB, free: 6.555 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.817e-05/1.178, allocations: 56.81 kB / 1.413 GB, free: 6.488 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001796/1.179, allocations: 181.8 kB / 1.413 GB, free: 6.348 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 1.846e-05/1.179, allocations: 26.89 kB / 1.413 GB, free: 6.316 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 8.181e-05/1.179, allocations: 109.8 kB / 1.413 GB, free: 6.211 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 2.79e-05/1.179, allocations: 27.53 kB / 1.413 GB, free: 6.188 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.656e-05/1.179, allocations: 22.7 kB / 1.413 GB, free: 6.164 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001431/1.179, allocations: 330.2 kB / 1.413 GB, free: 5.836 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001124/1.179, allocations: 28.61 kB / 1.413 GB, free: 5.824 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000108/1.179, allocations: 37.62 kB / 1.413 GB, free: 5.805 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002136/1.179, allocations: 72.12 kB / 1.413 GB, free: 5.766 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.285e-06/1.179, allocations: 1.312 kB / 1.413 GB, free: 5.766 MB / 1.107 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002813/1.18, allocations: 113.2 kB / 1.413 GB, free: 5.695 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 1.789e-05/1.18, allocations: 10.14 kB / 1.413 GB, free: 5.691 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/1.18, allocations: 0 / 1.413 GB, free: 5.691 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.522e-05/1.18, allocations: 5.094 kB / 1.413 GB, free: 5.688 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001319/1.18, allocations: 24.98 kB / 1.414 GB, free: 5.676 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.821e-06/1.18, allocations: 1.5 kB / 1.414 GB, free: 5.676 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.417e-05/1.18, allocations: 12.73 kB / 1.414 GB, free: 5.668 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.646e-06/1.18, allocations: 1.484 kB / 1.414 GB, free: 5.668 MB / 1.107 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.0001093/1.18, allocations: 127.4 kB / 1.414 GB, free: 5.539 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.461e-05/1.18, allocations: 15.16 kB / 1.414 GB, free: 5.531 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003398/1.181, allocations: 128.8 kB / 1.414 GB, free: 5.438 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-06/1.181, allocations: 2.031 kB / 1.414 GB, free: 5.438 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.722e-06/1.181, allocations: 0 / 1.414 GB, free: 5.438 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/1.181, allocations: 7.922 kB / 1.414 GB, free: 5.43 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002538/1.181, allocations: 223.5 kB / 1.414 GB, free: 5.188 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/1.181, allocations: 0 / 1.414 GB, free: 5.188 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001035/1.181, allocations: 16.64 kB / 1.414 GB, free: 5.184 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.875e-06/1.181, allocations: 1.031 kB / 1.414 GB, free: 5.184 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.637e-06/1.181, allocations: 0 / 1.414 GB, free: 5.184 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/1.181, allocations: 1.062 kB / 1.414 GB, free: 5.184 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/1.181, allocations: 4 kB / 1.414 GB, free: 5.18 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003188/1.181, allocations: 214.2 kB / 1.414 GB, free: 5 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 6.791e-05/1.181, allocations: 88.95 kB / 1.414 GB, free: 4.898 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.222e-05/1.181, allocations: 1.375 kB / 1.414 GB, free: 4.898 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001167/1.182, allocations: 7.531 kB / 1.414 GB, free: 4.895 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.597e-05/1.182, allocations: 14.64 kB / 1.414 GB, free: 4.883 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.221e-06/1.182, allocations: 1.344 kB / 1.414 GB, free: 4.883 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.0001225/1.182, allocations: 138.5 kB / 1.414 GB, free: 4.777 MB / 1.107 GB Notification: Performance of sort global known variables: time 1.3e-07/1.182, allocations: 0 / 1.414 GB, free: 4.777 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.0002449/1.182, allocations: 30.52 kB / 1.414 GB, free: 4.766 MB / 1.107 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.0001569/1.182, allocations: 100.8 kB / 1.415 GB, free: 4.676 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.0002869/1.182, allocations: 89.81 kB / 1.415 GB, free: 4.629 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/1.182, allocations: 1.188 kB / 1.415 GB, free: 4.629 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.0001179/1.183, allocations: 37.41 kB / 1.415 GB, free: 4.613 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003536/1.183, allocations: 33.16 kB / 1.415 GB, free: 4.598 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005533/1.184, allocations: 292.7 kB / 1.415 GB, free: 4.363 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003347/1.184, allocations: 0.707 MB / 1.416 GB, free: 3.652 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.352e-05/1.184, allocations: 13.59 kB / 1.416 GB, free: 3.645 MB / 1.107 GB Notification: Performance of SimCode: time 2.1e-07/1.184, allocations: 0 / 1.416 GB, free: 3.645 MB / 1.107 GB Notification: Performance of Templates: time 0.003719/1.188, allocations: 1.67 MB / 1.417 GB, free: 2.785 MB / 1.107 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.sim & ./Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_MassExchange.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_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: 11.431423952803016]