Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_ThermofluidStream.Processes.Tests.Compressor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo", uses=false) Using package ThermofluidStream with version 1.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.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.Processes.Tests.Compressor,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_Processes_Tests_Compressor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Processes.Tests.Compressor,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_Processes_Tests_Compressor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001688/0.001688, allocations: 108.6 kB / 15.73 MB, free: 72 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001839/0.001839, allocations: 187.1 kB / 16.66 MB, free: 6.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.449/1.449, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.703/0.703, allocations: 93.72 MB / 384.3 MB, free: 6.914 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002446/0.002447, allocations: 79.88 kB / 0.5199 GB, free: 6.32 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1181/0.1206, allocations: 68.27 MB / 0.5866 GB, free: 1.977 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.Compressor): time 0.291/0.4116, allocations: 47.35 MB / 0.6328 GB, free: 8.512 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.01432/0.426, allocations: 12.46 MB / 0.645 GB, free: 14.87 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005608/0.4266, allocations: 23.78 kB / 0.645 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0007908/0.4274, allocations: 271.4 kB / 0.6453 GB, free: 14.63 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001453/0.4289, allocations: 0.5535 MB / 0.6458 GB, free: 14.17 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001966/0.4309, allocations: 0.7388 MB / 0.6466 GB, free: 13.6 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001015/0.4319, allocations: 0.921 MB / 0.6475 GB, free: 13.06 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002985/0.4322, allocations: 173.5 kB / 0.6476 GB, free: 12.98 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03158/0.4638, allocations: 12.57 MB / 0.6599 GB, free: 4.727 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005823/0.4644, allocations: 396 kB / 0.6603 GB, free: 4.48 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 9.594e-05/0.4645, allocations: 56.72 kB / 0.6603 GB, free: 4.477 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.1266/0.5911, allocations: 53 MB / 0.7121 GB, free: 1.938 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.000297/0.5915, allocations: 151.4 kB / 0.7122 GB, free: 1.789 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0005464/0.592, allocations: 330.2 kB / 0.7125 GB, free: 1.465 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.002464/0.5945, allocations: 1.121 MB / 0.7136 GB, free: 348 kB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.5945, allocations: 0 / 0.7136 GB, free: 348 kB / 0.545 GB Notification: Performance of FrontEnd: time 1.122e-06/0.5945, allocations: 0 / 0.7136 GB, free: 348 kB / 0.545 GB Notification: Performance of Transformations before backend: time 1.826e-05/0.5945, allocations: 0 / 0.7136 GB, free: 348 kB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.002284/0.5968, allocations: 1.086 MB / 0.7147 GB, free: 15.2 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.93e-05/0.5969, allocations: 12.03 kB / 0.7147 GB, free: 15.19 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001126/0.597, allocations: 87.59 kB / 0.7148 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001566/0.5972, allocations: 76.44 kB / 0.7149 GB, free: 15.02 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008704/0.598, allocations: 0.5172 MB / 0.7154 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001082/0.5982, allocations: 88.41 kB / 0.7154 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.151e-05/0.5983, allocations: 40 kB / 0.7155 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001204/0.5995, allocations: 0.6692 MB / 0.7161 GB, free: 13.63 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.338e-05/0.5995, allocations: 0 / 0.7161 GB, free: 13.63 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.971e-05/0.5996, allocations: 16 kB / 0.7162 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.79e-05/0.5997, allocations: 21.88 kB / 0.7162 GB, free: 13.6 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001269/0.6009, allocations: 0.6636 MB / 0.7168 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003868/0.6048, allocations: 2.456 MB / 0.7192 GB, free: 10.33 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001639/0.6065, allocations: 0.6997 MB / 0.7199 GB, free: 9.625 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006903/0.6072, allocations: 374.3 kB / 0.7203 GB, free: 9.258 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002661/0.6099, allocations: 2.631 MB / 0.7228 GB, free: 6.055 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.711e-05/0.6099, allocations: 47.11 kB / 0.7229 GB, free: 6 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=63): time 2.615e-06/0.6099, allocations: 0 / 0.7229 GB, free: 6 MB / 0.5606 GB Notification: Performance of matching and sorting (n=65): time 0.004438/0.6144, allocations: 2.199 MB / 0.725 GB, free: 3.711 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.564e-05/0.6145, allocations: 107.4 kB / 0.7251 GB, free: 3.578 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004817/0.6149, allocations: 426 kB / 0.7255 GB, free: 3.152 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.238e-05/0.615, allocations: 41.7 kB / 0.7256 GB, free: 3.105 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002041/0.6152, allocations: 241 kB / 0.7258 GB, free: 2.867 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001841/0.6154, allocations: 226 kB / 0.726 GB, free: 2.645 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001987/0.6156, allocations: 114.2 kB / 0.7261 GB, free: 2.527 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001684/0.6158, allocations: 366.8 kB / 0.7265 GB, free: 2.16 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005221/0.6163, allocations: 265.1 kB / 0.7267 GB, free: 1.902 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006005/0.6169, allocations: 349.4 kB / 0.7271 GB, free: 1.535 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001153/0.6181, allocations: 0.6173 MB / 0.7277 GB, free: 0.8945 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.877e-06/0.6181, allocations: 4 kB / 0.7277 GB, free: 0.8906 MB / 0.5606 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001705/0.6198, allocations: 0.8505 MB / 0.7285 GB, free: 32 kB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.061e-05/0.6199, allocations: 14.12 kB / 0.7285 GB, free: 20 kB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.653e-05/0.6199, allocations: 4.156 kB / 0.7285 GB, free: 16 kB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000465/0.6204, allocations: 136.8 kB / 0.7286 GB, free: 15.88 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005058/0.6209, allocations: 107.9 kB / 0.7288 GB, free: 15.77 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002947/0.6238, allocations: 2.466 MB / 0.7312 GB, free: 13.17 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003618/0.6242, allocations: 28.83 kB / 0.7312 GB, free: 13.14 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.314e-05/0.6243, allocations: 32.05 kB / 0.7312 GB, free: 13.11 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (56): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002698/0.6246, allocations: 190.3 kB / 0.7314 GB, free: 12.91 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001288/0.6247, allocations: 63.58 kB / 0.7315 GB, free: 12.85 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00206/0.6268, allocations: 1.061 MB / 0.7325 GB, free: 11.77 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.895e-06/0.6268, allocations: 4 kB / 0.7325 GB, free: 11.76 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.61e-06/0.6268, allocations: 4 kB / 0.7325 GB, free: 11.76 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.905e-06/0.6268, allocations: 0 / 0.7325 GB, free: 11.76 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002879/0.6297, allocations: 1.675 MB / 0.7341 GB, free: 10.02 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.171e-05/0.6297, allocations: 0.9375 kB / 0.7341 GB, free: 10.02 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004659/0.6302, allocations: 95.88 kB / 0.7342 GB, free: 9.93 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004171/0.6306, allocations: 144.7 kB / 0.7344 GB, free: 9.785 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.139e-05/0.6307, allocations: 19.98 kB / 0.7344 GB, free: 9.766 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002895/0.6336, allocations: 2.473 MB / 0.7368 GB, free: 7.16 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.679e-06/0.6336, allocations: 3.984 kB / 0.7368 GB, free: 7.156 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002362/0.636, allocations: 1.302 MB / 0.7381 GB, free: 5.832 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002697/0.6363, allocations: 192.7 kB / 0.7383 GB, free: 5.625 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.974e-05/0.6364, allocations: 19.98 kB / 0.7383 GB, free: 5.605 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00033/0.6367, allocations: 16 kB / 0.7383 GB, free: 5.59 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001053/0.6368, allocations: 48.48 kB / 0.7383 GB, free: 5.543 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.054e-05/0.6369, allocations: 19.98 kB / 0.7384 GB, free: 5.523 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0003973/0.6373, allocations: 334.9 kB / 0.7387 GB, free: 5.199 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6373, allocations: 0 / 0.7387 GB, free: 5.199 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0008996/0.6382, allocations: 295.3 kB / 0.739 GB, free: 4.91 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (compressor1.m_flow,compressor1.phi,compressor1.omega,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 (50): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.003223/0.6414, allocations: 2.15 MB / 0.7411 GB, free: 2.727 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001809/0.6432, allocations: 0.9075 MB / 0.7419 GB, free: 1.793 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.6433, allocations: 4 kB / 0.742 GB, free: 1.789 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001048/0.6443, allocations: 0.5988 MB / 0.7425 GB, free: 1.164 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00105/0.6454, allocations: 200.5 kB / 0.7427 GB, free: 0.9727 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009316/0.6547, allocations: 5.973 MB / 0.7486 GB, free: 10.88 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005595/0.6553, allocations: 0.8996 MB / 0.7494 GB, free: 9.945 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0004486/0.6558, allocations: 132.7 kB / 0.7496 GB, free: 9.812 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003625/0.6561, allocations: 235.3 kB / 0.7498 GB, free: 9.582 MB / 0.5919 GB Notification: Performance of SimCode: time 5.31e-07/0.6561, allocations: 4 kB / 0.7498 GB, free: 9.578 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05388/0.71, allocations: 20.69 MB / 0.77 GB, free: 5.062 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.01/12.72, allocations: 11.94 kB / 0.77 GB, free: 5.051 MB / 0.6075 GB (rm -f ThermofluidStream_dev_ThermofluidStream.Processes.Tests.Compressor.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.Processes.Tests.Compressor.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.Processes.Tests.Compressor.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.Processes.Tests.Compressor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ThermofluidStream_dev_ThermofluidStream.Processes.Tests.Compressor_res.mat --tempDir=temp_ThermofluidStream_dev_ThermofluidStream_Processes_Tests_Compressor_fmu --startTime=0 --stopTime=30 --timeout=1200 --tolerance=1e-06 ThermofluidStream_dev_ThermofluidStream_Processes_Tests_Compressor.fmu > ThermofluidStream_dev_ThermofluidStream.Processes.Tests.Compressor.pipe 2>&1) diffSimulationResults("ThermofluidStream_dev_ThermofluidStream.Processes.Tests.Compressor_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Processes.Tests.Compressor_ref.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_dev_ThermofluidStream.Processes.Tests.Compressor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches