Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_ThermofluidStream.Examples.SimpleAirCycle.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.001312/0.001312, allocations: 110 kB / 18.93 MB, free: 2.945 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.001378/0.001378, allocations: 191.4 kB / 22.23 MB, free: 5.16 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.526/1.526, allocations: 225.6 MB / 251 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0-main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0-main/package.mo): time 0.8393/0.8393, allocations: 94.59 MB / 400.9 MB, free: 15.23 MB / 318.1 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0-main/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(ThermofluidStream.Examples.SimpleAirCycle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|compressor.m_flow|compressor.omega|compressor.phi|fan.m_flow|fan1.m_flow|heatExchange_CounterFlowNTU.h_out_A|heatExchange_CounterFlowNTU.h_out_B|heatExchange_CounterFlowNTU1.h_out_A|heatExchange_CounterFlowNTU1.h_out_B|heatExchange_CounterFlowNTU2.h_out_A|heatExchange_CounterFlowNTU2.h_out_B|turbine1.m_flow|turbine1.omega|turbine1.phi",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.Examples.SimpleAirCycle") translateModel(ThermofluidStream.Examples.SimpleAirCycle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|compressor.m_flow|compressor.omega|compressor.phi|fan.m_flow|fan1.m_flow|heatExchange_CounterFlowNTU.h_out_A|heatExchange_CounterFlowNTU.h_out_B|heatExchange_CounterFlowNTU1.h_out_A|heatExchange_CounterFlowNTU1.h_out_B|heatExchange_CounterFlowNTU2.h_out_A|heatExchange_CounterFlowNTU2.h_out_B|turbine1.m_flow|turbine1.omega|turbine1.phi",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.Examples.SimpleAirCycle") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002551/0.002551, allocations: 93.47 kB / 0.5471 GB, free: 42.58 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1467/0.1493, allocations: 71.87 MB / 0.6173 GB, free: 8.117 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Examples.SimpleAirCycle): time 0.9358/1.085, allocations: 399.1 MB / 1.007 GB, free: 11.64 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.5862/1.671, allocations: 73.55 MB / 1.079 GB, free: 0.7227 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002919/1.674, allocations: 93.56 kB / 1.079 GB, free: 0.7227 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.006178/1.68, allocations: 2.476 MB / 1.081 GB, free: 0.7188 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.02472/1.705, allocations: 9.646 MB / 1.091 GB, free: 0.707 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.02061/1.726, allocations: 7.56 MB / 1.098 GB, free: 0.6445 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.007626/1.733, allocations: 4.333 MB / 1.102 GB, free: 0.6406 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001828/1.735, allocations: 0.658 MB / 1.103 GB, free: 16.52 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006204/1.741, allocations: 2.307 MB / 1.105 GB, free: 16.5 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004783/1.746, allocations: 2.058 MB / 1.107 GB, free: 16.38 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.001042/1.747, allocations: 308.1 kB / 1.108 GB, free: 16.38 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.04773/1.795, allocations: 26.36 MB / 1.133 GB, free: 16.14 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.002051/1.797, allocations: 0.9902 MB / 1.134 GB, free: 15.87 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.003564/1.801, allocations: 1.612 MB / 1.136 GB, free: 15.34 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.04447/1.845, allocations: 14.13 MB / 1.15 GB, free: 10.37 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 8.606e-06/1.845, allocations: 2.625 kB / 1.15 GB, free: 10.37 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.793e-06/1.845, allocations: 0 / 1.15 GB, free: 10.37 MB / 0.795 GB Notification: Performance of Transformations before backend: time 0.000172/1.845, allocations: 0 / 1.15 GB, free: 10.37 MB / 0.795 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 649 * Number of variables: 649 Notification: Performance of Generate backend data structure: time 0.01918/1.864, allocations: 5.811 MB / 1.155 GB, free: 6.996 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 6.147e-05/1.865, allocations: 8.281 kB / 1.155 GB, free: 6.996 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001175/1.866, allocations: 337.6 kB / 1.156 GB, free: 6.832 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003534/1.869, allocations: 1.461 MB / 1.157 GB, free: 6.098 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008098/1.87, allocations: 0.6948 MB / 1.158 GB, free: 5.387 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000613/1.871, allocations: 254 kB / 1.158 GB, free: 5.223 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009506/1.88, allocations: 4.392 MB / 1.162 GB, free: 2.203 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.818e-05/1.88, allocations: 3.953 kB / 1.162 GB, free: 2.199 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002554/1.88, allocations: 97.02 kB / 1.162 GB, free: 2.18 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003029/1.881, allocations: 205 kB / 1.163 GB, free: 2.004 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01017/1.891, allocations: 5.204 MB / 1.168 GB, free: 14.44 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0295/1.92, allocations: 15.6 MB / 1.183 GB, free: 1.852 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00604/1.926, allocations: 2.793 MB / 1.186 GB, free: 208 kB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004325/1.931, allocations: 2.091 MB / 1.188 GB, free: 14.88 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004925/1.936, allocations: 1.129 MB / 1.189 GB, free: 13.93 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001001/1.936, allocations: 69.33 kB / 1.189 GB, free: 13.88 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=309): time 7.844e-06/1.936, allocations: 0 / 1.189 GB, free: 13.88 MB / 0.8262 GB Notification: Performance of matching and sorting (n=314): time 0.0345/1.97, allocations: 12.25 MB / 1.201 GB, free: 1.586 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.643e-05/1.97, allocations: 85.84 kB / 1.201 GB, free: 1.488 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001812/1.972, allocations: 1.163 MB / 1.202 GB, free: 320 kB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 0.0006112/1.973, allocations: 75.73 kB / 1.202 GB, free: 240 kB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007407/1.974, allocations: 0.8337 MB / 1.203 GB, free: 15.4 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.001384/1.975, allocations: 1.11 MB / 1.204 GB, free: 14.31 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009903/1.976, allocations: 0.5025 MB / 1.205 GB, free: 13.8 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001587/1.976, allocations: 313 kB / 1.205 GB, free: 13.5 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003725/1.98, allocations: 1.703 MB / 1.207 GB, free: 11.79 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004161/1.984, allocations: 1.898 MB / 1.208 GB, free: 9.875 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008189/1.992, allocations: 3.681 MB / 1.212 GB, free: 6.16 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.414e-06/1.992, allocations: 0 / 1.212 GB, free: 6.16 MB / 0.8419 GB Notification: Performance of matching and sorting (n=330) (initialization): time 0.01405/2.006, allocations: 5.277 MB / 1.217 GB, free: 0.8555 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.869e-05/2.006, allocations: 4 kB / 1.217 GB, free: 0.8516 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.165e-05/2.006, allocations: 12 kB / 1.217 GB, free: 0.8398 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002788/2.009, allocations: 0.8342 MB / 1.218 GB, free: 15.99 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003792/2.013, allocations: 0.6191 MB / 1.219 GB, free: 15.39 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02116/2.034, allocations: 13.95 MB / 1.232 GB, free: 0.7227 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002524/2.037, allocations: 137.7 kB / 1.232 GB, free: 0.5898 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005595/2.037, allocations: 186 kB / 1.232 GB, free: 420 kB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (276): * Single equations (assignments): 251 * Array equations: 13 * Algorithm blocks: 0 * Record equations: 5 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 7 systems {(2,17,100.0%), (1,3,100.0%), (3,1,88.9%), (3,1,88.9%), (2,17,100.0%), (1,1,100.0%), (3,1,88.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001579/2.039, allocations: 0.5441 MB / 1.233 GB, free: 15.89 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007967/2.04, allocations: 234.5 kB / 1.233 GB, free: 15.66 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01774/2.057, allocations: 8.237 MB / 1.241 GB, free: 7.398 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001286/2.057, allocations: 32 kB / 1.241 GB, free: 7.367 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.978e-05/2.057, allocations: 8 kB / 1.241 GB, free: 7.359 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.357e-05/2.058, allocations: 23.88 kB / 1.241 GB, free: 7.336 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02225/2.08, allocations: 9.277 MB / 1.25 GB, free: 14.05 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.899e-05/2.08, allocations: 11.98 kB / 1.25 GB, free: 14.04 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003431/2.083, allocations: 0.6162 MB / 1.251 GB, free: 13.45 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00283/2.086, allocations: 0.8455 MB / 1.252 GB, free: 12.59 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006422/2.087, allocations: 121.9 kB / 1.252 GB, free: 12.47 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02037/2.107, allocations: 13.95 MB / 1.266 GB, free: 13.81 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/2.107, allocations: 3.094 kB / 1.266 GB, free: 13.81 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01868/2.126, allocations: 7.746 MB / 1.273 GB, free: 5.992 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001863/2.128, allocations: 0.6035 MB / 1.274 GB, free: 5.387 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00044/2.128, allocations: 56 kB / 1.274 GB, free: 5.332 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001736/2.13, allocations: 153.9 kB / 1.274 GB, free: 5.184 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005998/2.13, allocations: 271.6 kB / 1.274 GB, free: 4.922 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004238/2.131, allocations: 171.9 kB / 1.274 GB, free: 4.754 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.00141/2.132, allocations: 0.9362 MB / 1.275 GB, free: 3.82 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.1e-07/2.132, allocations: 0 / 1.275 GB, free: 3.82 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.01021/2.143, allocations: 3.298 MB / 1.278 GB, free: 0.5156 MB / 0.9044 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 14 (heatExchange_CounterFlowNTU.h_out_A,heatExchange_CounterFlowNTU.h_out_B,heatExchange_CounterFlowNTU1.h_out_A,heatExchange_CounterFlowNTU1.h_out_B,compressor.m_flow,compressor.phi,compressor.omega,heatExchange_CounterFlowNTU2.inletA.m_flow,heatExchange_CounterFlowNTU2.h_out_A,heatExchange_CounterFlowNTU2.h_out_B,turbine1.phi,turbine1.omega,splitterT1_1.splitterN.inlet.m_flow,splitterT1_2.splitterN.inlet.m_flow) * 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 (279): * Single equations (assignments): 254 * Array equations: 13 * Algorithm blocks: 0 * Record equations: 5 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 7 systems {(3,1,88.9%), (1,1,100.0%), (2,17,100.0%), (3,1,88.9%), (3,1,88.9%), (2,17,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01265/2.155, allocations: 3.981 MB / 1.282 GB, free: 12.84 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0132/2.168, allocations: 5.475 MB / 1.288 GB, free: 7.254 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.031e-05/2.168, allocations: 4 kB / 1.288 GB, free: 7.25 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.00834/2.177, allocations: 3.592 MB / 1.291 GB, free: 3.59 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00463/2.181, allocations: 0.9247 MB / 1.292 GB, free: 2.699 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0121/2.193, allocations: 6.214 MB / 1.298 GB, free: 12.48 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001763/2.195, allocations: 1.812 MB / 1.3 GB, free: 10.64 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.003958/2.199, allocations: 1.441 MB / 1.301 GB, free: 9.246 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001083/2.2, allocations: 307.3 kB / 1.302 GB, free: 8.945 MB / 0.9356 GB Notification: Performance of SimCode: time 1.623e-06/2.2, allocations: 0 / 1.302 GB, free: 8.945 MB / 0.9356 GB Notification: Performance of Templates: time 0.1957/2.396, allocations: 117.9 MB / 1.417 GB, free: 3.492 MB / 1.045 GB " [Timeout remaining time 658] make -j1 -f ThermofluidStream_dev_ThermofluidStream.Examples.SimpleAirCycle.makefile [Timeout 660] (rm -f ThermofluidStream_dev_ThermofluidStream.Examples.SimpleAirCycle.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.Examples.SimpleAirCycle.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.Examples.SimpleAirCycle.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.Examples.SimpleAirCycle.sim & ./ThermofluidStream_dev_ThermofluidStream.Examples.SimpleAirCycle -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_dev_ThermofluidStream.Examples.SimpleAirCycle.pipe 2>&1) [Timeout 1200] diffSimulationResults("ThermofluidStream_dev_ThermofluidStream.Examples.SimpleAirCycle_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Examples.SimpleAirCycle_ref.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_dev_ThermofluidStream.Examples.SimpleAirCycle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.576637298800051]