Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_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.0018/0.0018, allocations: 108.8 kB / 16.45 MB, free: 6.391 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.002056/0.002056, allocations: 191.7 kB / 19.41 MB, free: 3.75 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.412/1.412, allocations: 225.6 MB / 247.8 MB, free: 13.95 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.814/0.814, allocations: 94.58 MB / 397.3 MB, free: 364 kB / 302.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: "" <> buildModelFMU(ThermofluidStream.Examples.SimpleAirCycle,fileNamePrefix="ThermofluidStream_ThermofluidStream_Examples_SimpleAirCycle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Examples.SimpleAirCycle,fileNamePrefix="ThermofluidStream_ThermofluidStream_Examples_SimpleAirCycle",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002279/0.002279, allocations: 80.38 kB / 0.5416 GB, free: 42.3 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1317/0.1339, allocations: 71.86 MB / 0.6118 GB, free: 10.11 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Examples.SimpleAirCycle): time 0.7742/0.9081, allocations: 397.2 MB / 0.9997 GB, free: 15.59 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.5412/1.449, allocations: 73.06 MB / 1.071 GB, free: 0.7266 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002382/1.452, allocations: 68.94 kB / 1.071 GB, free: 0.7266 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.005648/1.457, allocations: 2.472 MB / 1.074 GB, free: 0.7266 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.02273/1.48, allocations: 9.61 MB / 1.083 GB, free: 0.7031 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.01934/1.499, allocations: 7.427 MB / 1.09 GB, free: 0.6289 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.006946/1.506, allocations: 4.315 MB / 1.094 GB, free: 0.625 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001668/1.508, allocations: 0.7521 MB / 1.095 GB, free: 16.48 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005376/1.513, allocations: 2.273 MB / 1.097 GB, free: 16.47 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003999/1.517, allocations: 2.051 MB / 1.099 GB, free: 16.4 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.0009183/1.518, allocations: 305.9 kB / 1.1 GB, free: 16.4 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.04499/1.563, allocations: 26.18 MB / 1.125 GB, free: 16.14 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.001914/1.565, allocations: 0.9813 MB / 1.126 GB, free: 15.8 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.003538/1.569, allocations: 1.608 MB / 1.128 GB, free: 15.26 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.04286/1.612, allocations: 14.14 MB / 1.142 GB, free: 10.27 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 6.542e-06/1.612, allocations: 0 / 1.142 GB, free: 10.27 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.064e-06/1.612, allocations: 0 / 1.142 GB, free: 10.27 MB / 0.795 GB Notification: Performance of Transformations before backend: time 0.0001522/1.612, allocations: 4 kB / 1.142 GB, free: 10.27 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.01715/1.629, allocations: 5.869 MB / 1.147 GB, free: 6.812 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.727e-05/1.629, allocations: 8.906 kB / 1.147 GB, free: 6.812 MB / 0.795 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005173/1.629, allocations: 360 kB / 1.148 GB, free: 6.703 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008862/1.63, allocations: 334.3 kB / 1.148 GB, free: 6.539 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00296/1.633, allocations: 1.557 MB / 1.149 GB, free: 5.75 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006782/1.634, allocations: 0.6951 MB / 1.15 GB, free: 5.184 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000495/1.635, allocations: 261.9 kB / 1.15 GB, free: 5.152 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007562/1.642, allocations: 4.316 MB / 1.155 GB, free: 2.207 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.096e-05/1.642, allocations: 15.89 kB / 1.155 GB, free: 2.191 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002303/1.642, allocations: 96.5 kB / 1.155 GB, free: 2.172 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002596/1.643, allocations: 205.2 kB / 1.155 GB, free: 2 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009005/1.652, allocations: 5.088 MB / 1.16 GB, free: 14.55 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02576/1.677, allocations: 15.64 MB / 1.175 GB, free: 1.922 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005591/1.683, allocations: 2.79 MB / 1.178 GB, free: 280 kB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004382/1.687, allocations: 2.077 MB / 1.18 GB, free: 14.96 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008896/1.696, allocations: 9.354 MB / 1.189 GB, free: 3.727 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.388e-05/1.696, allocations: 64.58 kB / 1.189 GB, free: 3.672 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=309): time 7.795e-06/1.696, allocations: 0 / 1.189 GB, free: 3.672 MB / 0.8262 GB Notification: Performance of matching and sorting (n=314): time 0.03276/1.729, allocations: 12.99 MB / 1.202 GB, free: 7.281 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.48e-05/1.729, allocations: 85.84 kB / 1.202 GB, free: 7.184 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001576/1.731, allocations: 1.163 MB / 1.203 GB, free: 6.008 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 0.0005842/1.731, allocations: 73.7 kB / 1.203 GB, free: 5.93 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006277/1.732, allocations: 0.8289 MB / 1.204 GB, free: 5.094 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.001165/1.733, allocations: 1.107 MB / 1.205 GB, free: 4 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008702/1.734, allocations: 0.506 MB / 1.205 GB, free: 3.492 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001124/1.734, allocations: 305.1 kB / 1.206 GB, free: 3.191 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003265/1.737, allocations: 1.711 MB / 1.207 GB, free: 1.477 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003604/1.741, allocations: 1.879 MB / 1.209 GB, free: 15.58 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007186/1.748, allocations: 3.676 MB / 1.213 GB, free: 11.87 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.514e-06/1.748, allocations: 4 kB / 1.213 GB, free: 11.87 MB / 0.8575 GB Notification: Performance of matching and sorting (n=330) (initialization): time 0.0127/1.761, allocations: 5.261 MB / 1.218 GB, free: 6.582 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.976e-05/1.761, allocations: 7.984 kB / 1.218 GB, free: 6.574 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.947e-05/1.761, allocations: 12 kB / 1.218 GB, free: 6.562 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002494/1.763, allocations: 0.8311 MB / 1.219 GB, free: 5.719 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003074/1.767, allocations: 0.609 MB / 1.219 GB, free: 5.133 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.019/1.786, allocations: 14.68 MB / 1.234 GB, free: 5.555 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002163/1.788, allocations: 140 kB / 1.234 GB, free: 5.418 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005777/1.788, allocations: 185.8 kB / 1.234 GB, free: 5.238 MB / 0.8731 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.001299/1.79, allocations: 0.5421 MB / 1.235 GB, free: 4.715 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007002/1.79, allocations: 230.5 kB / 1.235 GB, free: 4.488 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01616/1.806, allocations: 8.229 MB / 1.243 GB, free: 12.24 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.328e-05/1.807, allocations: 32 kB / 1.243 GB, free: 12.21 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.875e-05/1.807, allocations: 12 kB / 1.243 GB, free: 12.2 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.989e-05/1.807, allocations: 15.94 kB / 1.243 GB, free: 12.18 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02027/1.827, allocations: 9.289 MB / 1.252 GB, free: 2.883 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.176e-05/1.827, allocations: 12.12 kB / 1.252 GB, free: 2.871 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00317/1.83, allocations: 0.6177 MB / 1.253 GB, free: 2.277 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002624/1.833, allocations: 0.8495 MB / 1.253 GB, free: 1.41 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006458/1.833, allocations: 119.9 kB / 1.254 GB, free: 1.293 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01941/1.853, allocations: 14.68 MB / 1.268 GB, free: 1.723 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/1.853, allocations: 3.938 kB / 1.268 GB, free: 1.719 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01728/1.87, allocations: 7.713 MB / 1.275 GB, free: 9.934 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001912/1.872, allocations: 0.6866 MB / 1.276 GB, free: 9.227 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005076/1.872, allocations: 56 kB / 1.276 GB, free: 9.172 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001575/1.874, allocations: 143.2 kB / 1.276 GB, free: 9.035 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005309/1.875, allocations: 264.5 kB / 1.277 GB, free: 8.781 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003966/1.875, allocations: 171.9 kB / 1.277 GB, free: 8.613 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.001339/1.876, allocations: 0.9284 MB / 1.278 GB, free: 7.688 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.71e-07/1.876, allocations: 4 kB / 1.278 GB, free: 7.684 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.009401/1.886, allocations: 3.302 MB / 1.281 GB, free: 4.375 MB / 0.92 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.03031/1.916, allocations: 12.3 MB / 1.293 GB, free: 8.305 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.01276/1.929, allocations: 5.467 MB / 1.298 GB, free: 2.727 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.141e-05/1.929, allocations: 4 kB / 1.298 GB, free: 2.723 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.007947/1.937, allocations: 3.589 MB / 1.302 GB, free: 15.06 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00499/1.942, allocations: 0.9225 MB / 1.303 GB, free: 14.18 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0571/1.999, allocations: 26.7 MB / 1.329 GB, free: 3.32 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001729/2.001, allocations: 1.812 MB / 1.33 GB, free: 1.473 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.003688/2.004, allocations: 1.433 MB / 1.332 GB, free: 96 kB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001884/2.006, allocations: 1.167 MB / 1.333 GB, free: 14.93 MB / 0.9825 GB Notification: Performance of SimCode: time 9.01e-07/2.006, allocations: 0 / 1.333 GB, free: 14.93 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5232/2.529, allocations: 140.9 MB / 1.471 GB, free: 0.5282 GB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.06/22.59, allocations: 6.094 kB / 1.471 GB, free: 0.5282 GB / 1.045 GB " [Timeout remaining time 637] (rm -f ThermofluidStream_ThermofluidStream.Examples.SimpleAirCycle.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Examples.SimpleAirCycle.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Examples.SimpleAirCycle.pipe >> ../files/ThermofluidStream_ThermofluidStream.Examples.SimpleAirCycle.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ThermofluidStream_ThermofluidStream.Examples.SimpleAirCycle_res.mat --tempDir=temp_ThermofluidStream_ThermofluidStream_Examples_SimpleAirCycle_fmu --startTime=0 --stopTime=100 --stepSize=0.1 --timeout=1200 --tolerance=1e-06 ThermofluidStream_ThermofluidStream_Examples_SimpleAirCycle.fmu > ThermofluidStream_ThermofluidStream.Examples.SimpleAirCycle.pipe 2>&1) [Timeout 1260.0] diffSimulationResults("ThermofluidStream_ThermofluidStream.Examples.SimpleAirCycle_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Examples.SimpleAirCycle_ref.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ThermofluidStream_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: 26.845936620607972]