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.001304/0.001304, allocations: 107.7 kB / 16.45 MB, free: 6.504 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.001248/0.001248, allocations: 191.7 kB / 19.41 MB, free: 3.68 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.351/1.351, allocations: 225.6 MB / 247.8 MB, free: 13.96 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.7351/0.7351, allocations: 94.6 MB / 397.3 MB, free: 300 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_dev_ThermofluidStream_Examples_SimpleAirCycle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Examples.SimpleAirCycle,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_Examples_SimpleAirCycle",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002301/0.002301, allocations: 87.62 kB / 0.5416 GB, free: 42.2 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1317/0.134, allocations: 71.86 MB / 0.6118 GB, free: 10.09 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Examples.SimpleAirCycle): time 0.824/0.9581, allocations: 397.2 MB / 0.9997 GB, free: 15.59 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.5969/1.555, allocations: 73.07 MB / 1.071 GB, free: 0.7031 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002933/1.558, allocations: 70.84 kB / 1.071 GB, free: 0.7031 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.006665/1.565, allocations: 2.469 MB / 1.074 GB, free: 0.7031 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.02595/1.591, allocations: 9.608 MB / 1.083 GB, free: 0.6836 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.01994/1.61, allocations: 7.421 MB / 1.09 GB, free: 0.6094 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.007386/1.618, allocations: 4.318 MB / 1.094 GB, free: 0.6055 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001698/1.62, allocations: 0.7543 MB / 1.095 GB, free: 16.46 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005854/1.625, allocations: 2.268 MB / 1.097 GB, free: 16.45 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003987/1.629, allocations: 2.054 MB / 1.099 GB, free: 16.39 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.0007739/1.63, allocations: 307 kB / 1.1 GB, free: 16.39 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.04864/1.679, allocations: 26.17 MB / 1.125 GB, free: 16.14 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.001827/1.681, allocations: 0.9862 MB / 1.126 GB, free: 15.79 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.003039/1.684, allocations: 1.611 MB / 1.128 GB, free: 15.26 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.04096/1.725, allocations: 14.13 MB / 1.142 GB, free: 10.27 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/1.725, allocations: 2.938 kB / 1.142 GB, free: 10.27 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.673e-06/1.725, allocations: 4 kB / 1.142 GB, free: 10.27 MB / 0.795 GB Notification: Performance of Transformations before backend: time 0.0001296/1.725, allocations: 0 / 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.01592/1.741, allocations: 5.864 MB / 1.147 GB, free: 6.812 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.144e-05/1.741, allocations: 8.75 kB / 1.147 GB, free: 6.812 MB / 0.795 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004696/1.741, allocations: 368 kB / 1.148 GB, free: 6.699 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007882/1.742, allocations: 335.7 kB / 1.148 GB, free: 6.535 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003087/1.745, allocations: 1.552 MB / 1.149 GB, free: 5.746 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007133/1.746, allocations: 0.701 MB / 1.15 GB, free: 5.18 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003684/1.746, allocations: 256.5 kB / 1.15 GB, free: 5.16 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007544/1.754, allocations: 4.316 MB / 1.155 GB, free: 2.211 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.053e-05/1.754, allocations: 15.94 kB / 1.155 GB, free: 2.195 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002351/1.754, allocations: 96.34 kB / 1.155 GB, free: 2.176 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002737/1.754, allocations: 209.4 kB / 1.155 GB, free: 2 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008242/1.763, allocations: 5.088 MB / 1.16 GB, free: 14.55 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02477/1.787, allocations: 15.64 MB / 1.175 GB, free: 1.926 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005321/1.793, allocations: 2.789 MB / 1.178 GB, free: 284 kB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003967/1.797, allocations: 2.081 MB / 1.18 GB, free: 14.97 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009296/1.806, allocations: 9.346 MB / 1.189 GB, free: 3.738 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.712e-05/1.806, allocations: 65.7 kB / 1.189 GB, free: 3.684 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=309): time 7.093e-06/1.806, allocations: 7.938 kB / 1.189 GB, free: 3.676 MB / 0.8262 GB Notification: Performance of matching and sorting (n=314): time 0.03061/1.837, allocations: 12.98 MB / 1.202 GB, free: 7.277 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.436e-05/1.837, allocations: 81.84 kB / 1.202 GB, free: 7.184 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001577/1.838, allocations: 1.167 MB / 1.203 GB, free: 6.004 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 0.0004117/1.839, allocations: 71.73 kB / 1.203 GB, free: 5.93 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006263/1.839, allocations: 0.8331 MB / 1.204 GB, free: 5.09 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.001092/1.84, allocations: 1.105 MB / 1.205 GB, free: 3.996 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008689/1.841, allocations: 0.5052 MB / 1.205 GB, free: 3.492 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001145/1.841, allocations: 305.1 kB / 1.206 GB, free: 3.191 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003284/1.845, allocations: 1.711 MB / 1.207 GB, free: 1.477 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003632/1.848, allocations: 1.883 MB / 1.209 GB, free: 15.58 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00763/1.856, allocations: 3.676 MB / 1.213 GB, free: 11.87 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.484e-06/1.856, allocations: 0 / 1.213 GB, free: 11.87 MB / 0.8575 GB Notification: Performance of matching and sorting (n=330) (initialization): time 0.0138/1.87, allocations: 5.265 MB / 1.218 GB, free: 6.578 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 4.296e-05/1.87, allocations: 4 kB / 1.218 GB, free: 6.574 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.183e-05/1.87, allocations: 8 kB / 1.218 GB, free: 6.566 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002764/1.873, allocations: 0.8409 MB / 1.219 GB, free: 5.707 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003458/1.876, allocations: 0.606 MB / 1.219 GB, free: 5.125 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01979/1.896, allocations: 14.69 MB / 1.234 GB, free: 5.547 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002285/1.898, allocations: 142.2 kB / 1.234 GB, free: 5.41 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008542/1.899, allocations: 187.9 kB / 1.234 GB, free: 5.227 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.001987/1.901, allocations: 0.5396 MB / 1.235 GB, free: 4.707 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001199/1.902, allocations: 230.5 kB / 1.235 GB, free: 4.48 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01922/1.921, allocations: 8.23 MB / 1.243 GB, free: 12.22 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001221/1.921, allocations: 35.98 kB / 1.243 GB, free: 12.19 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.975e-05/1.922, allocations: 15.94 kB / 1.243 GB, free: 12.17 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.241e-05/1.922, allocations: 15.94 kB / 1.243 GB, free: 12.16 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02212/1.944, allocations: 9.283 MB / 1.252 GB, free: 2.863 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.641e-05/1.944, allocations: 12.12 kB / 1.252 GB, free: 2.852 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003019/1.947, allocations: 0.6214 MB / 1.253 GB, free: 2.254 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002644/1.949, allocations: 0.8432 MB / 1.253 GB, free: 1.395 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000547/1.95, allocations: 126.5 kB / 1.254 GB, free: 1.273 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02011/1.97, allocations: 14.68 MB / 1.268 GB, free: 1.707 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.145e-06/1.97, allocations: 4 kB / 1.268 GB, free: 1.703 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0195/1.99, allocations: 7.715 MB / 1.275 GB, free: 9.914 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002047/1.992, allocations: 0.6827 MB / 1.276 GB, free: 9.211 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008987/1.993, allocations: 58.27 kB / 1.276 GB, free: 9.156 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002088/1.995, allocations: 145.8 kB / 1.276 GB, free: 9.016 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007799/1.995, allocations: 254.2 kB / 1.277 GB, free: 8.766 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005514/1.996, allocations: 173.7 kB / 1.277 GB, free: 8.598 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.001551/1.998, allocations: 0.9323 MB / 1.278 GB, free: 7.668 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.11e-07/1.998, allocations: 4 kB / 1.278 GB, free: 7.664 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.01092/2.008, allocations: 3.301 MB / 1.281 GB, free: 4.359 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.03323/2.042, allocations: 12.3 MB / 1.293 GB, free: 8.289 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.01327/2.055, allocations: 5.467 MB / 1.298 GB, free: 2.711 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 8.957e-06/2.055, allocations: 0 / 1.298 GB, free: 2.711 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.008838/2.064, allocations: 3.597 MB / 1.302 GB, free: 15.05 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005557/2.069, allocations: 0.925 MB / 1.303 GB, free: 14.16 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06117/2.131, allocations: 26.7 MB / 1.329 GB, free: 3.305 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002356/2.133, allocations: 1.808 MB / 1.33 GB, free: 1.461 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.004595/2.137, allocations: 1.435 MB / 1.332 GB, free: 80 kB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002477/2.14, allocations: 1.177 MB / 1.333 GB, free: 14.95 MB / 0.9825 GB Notification: Performance of SimCode: time 1.172e-06/2.14, allocations: 0 / 1.333 GB, free: 14.95 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5364/2.676, allocations: 140.9 MB / 1.471 GB, free: 0.5277 GB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.53/22.21, allocations: 13.78 kB / 1.471 GB, free: 0.5277 GB / 1.045 GB " [Timeout remaining time 638] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ThermofluidStream_dev_ThermofluidStream.Examples.SimpleAirCycle_res.mat --tempDir=temp_ThermofluidStream_dev_ThermofluidStream_Examples_SimpleAirCycle_fmu --startTime=0 --stopTime=100 --stepSize=0.1 --timeout=1200 --tolerance=1e-06 ThermofluidStream_dev_ThermofluidStream_Examples_SimpleAirCycle.fmu > ThermofluidStream_dev_ThermofluidStream.Examples.SimpleAirCycle.pipe 2>&1) [Timeout 1260.0] diffSimulationResults("ThermofluidStream_dev_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_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: 26.266641755588353]