Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_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_ThermofluidStream_Processes_Tests_Compressor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Processes.Tests.Compressor,fileNamePrefix="ThermofluidStream_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.005199/0.005199, allocations: 101.6 kB / 15.73 MB, free: 6.039 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001235/0.001235, allocations: 187.9 kB / 16.67 MB, free: 5.969 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.298/1.298, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.6365/0.6365, allocations: 91.19 MB / 381.7 MB, free: 9.371 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001388/0.001388, allocations: 79.88 kB / 0.5164 GB, free: 9.559 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.118/0.1194, allocations: 67.69 MB / 0.5825 GB, free: 5.789 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.Compressor): time 0.3005/0.4199, allocations: 47.36 MB / 0.6287 GB, free: 13.18 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.01311/0.4331, allocations: 12.43 MB / 0.6408 GB, free: 4.051 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006151/0.4337, allocations: 18.53 kB / 0.6409 GB, free: 4.043 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007716/0.4345, allocations: 279.7 kB / 0.6411 GB, free: 3.812 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001581/0.4361, allocations: 0.5448 MB / 0.6417 GB, free: 3.363 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002142/0.4383, allocations: 0.7471 MB / 0.6424 GB, free: 2.785 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001157/0.4395, allocations: 0.8979 MB / 0.6433 GB, free: 2.258 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002794/0.4397, allocations: 169.5 kB / 0.6434 GB, free: 2.168 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.03244/0.4722, allocations: 12.57 MB / 0.6557 GB, free: 9.918 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005637/0.4728, allocations: 395.5 kB / 0.6561 GB, free: 9.672 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 9.633e-05/0.4729, allocations: 51.53 kB / 0.6561 GB, free: 9.672 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.1156/0.5886, allocations: 53.01 MB / 0.7079 GB, free: 7.719 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002763/0.5889, allocations: 143.5 kB / 0.708 GB, free: 7.578 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0004432/0.5893, allocations: 330.3 kB / 0.7083 GB, free: 7.254 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.002134/0.5915, allocations: 1.106 MB / 0.7094 GB, free: 6.145 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.5915, allocations: 0 / 0.7094 GB, free: 6.145 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.783e-06/0.5915, allocations: 4 kB / 0.7094 GB, free: 6.141 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.002e-05/0.5915, allocations: 0 / 0.7094 GB, free: 6.141 MB / 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.002043/0.5936, allocations: 1.048 MB / 0.7105 GB, free: 5.043 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.946e-05/0.5936, allocations: 12.03 kB / 0.7105 GB, free: 5.031 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.713e-05/0.5937, allocations: 86.7 kB / 0.7105 GB, free: 4.938 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001306/0.5938, allocations: 64.19 kB / 0.7106 GB, free: 4.875 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006537/0.5945, allocations: 0.4976 MB / 0.7111 GB, free: 4.336 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.113e-05/0.5946, allocations: 100.2 kB / 0.7112 GB, free: 4.227 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.224e-05/0.5947, allocations: 47.91 kB / 0.7112 GB, free: 4.18 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001079/0.5958, allocations: 0.6614 MB / 0.7119 GB, free: 3.492 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.862e-05/0.5958, allocations: 0.875 kB / 0.7119 GB, free: 3.492 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.663e-05/0.5959, allocations: 20 kB / 0.7119 GB, free: 3.473 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.575e-05/0.5959, allocations: 24.94 kB / 0.7119 GB, free: 3.449 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001036/0.5969, allocations: 0.6597 MB / 0.7126 GB, free: 2.789 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003444/0.6004, allocations: 2.451 MB / 0.715 GB, free: 200 kB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001521/0.6019, allocations: 0.6958 MB / 0.7156 GB, free: 15.5 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006429/0.6026, allocations: 374.3 kB / 0.716 GB, free: 15.13 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002268/0.6049, allocations: 2.631 MB / 0.7186 GB, free: 11.93 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.056e-05/0.6049, allocations: 47 kB / 0.7186 GB, free: 11.87 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=63): time 2.585e-06/0.6049, allocations: 0 / 0.7186 GB, free: 11.87 MB / 0.5606 GB Notification: Performance of matching and sorting (n=65): time 0.003949/0.6089, allocations: 2.19 MB / 0.7208 GB, free: 9.586 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.713e-05/0.6089, allocations: 111.4 kB / 0.7209 GB, free: 9.453 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003854/0.6093, allocations: 410 kB / 0.7212 GB, free: 9.043 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.523e-05/0.6094, allocations: 45.7 kB / 0.7213 GB, free: 8.992 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.000199/0.6096, allocations: 232.9 kB / 0.7215 GB, free: 8.762 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001732/0.6098, allocations: 220.8 kB / 0.7217 GB, free: 8.543 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00017/0.61, allocations: 114.1 kB / 0.7218 GB, free: 8.426 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000126/0.6101, allocations: 370.8 kB / 0.7222 GB, free: 8.055 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00044/0.6105, allocations: 261.1 kB / 0.7224 GB, free: 7.801 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005264/0.6111, allocations: 345.5 kB / 0.7228 GB, free: 7.441 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001039/0.6122, allocations: 0.6212 MB / 0.7234 GB, free: 6.797 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.446e-06/0.6122, allocations: 4 kB / 0.7234 GB, free: 6.793 MB / 0.5606 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.00153/0.6137, allocations: 0.8387 MB / 0.7242 GB, free: 5.945 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.643e-05/0.6137, allocations: 8 kB / 0.7242 GB, free: 5.938 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.567e-05/0.6138, allocations: 4 kB / 0.7242 GB, free: 5.934 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004037/0.6142, allocations: 140.8 kB / 0.7243 GB, free: 5.793 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004769/0.6146, allocations: 107.9 kB / 0.7244 GB, free: 5.688 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002497/0.6172, allocations: 2.468 MB / 0.7269 GB, free: 3.082 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003439/0.6175, allocations: 28.77 kB / 0.7269 GB, free: 3.055 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.643e-05/0.6176, allocations: 23.98 kB / 0.7269 GB, free: 3.031 MB / 0.5606 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.0003127/0.6179, allocations: 194.3 kB / 0.7271 GB, free: 2.832 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001481/0.6181, allocations: 55.34 kB / 0.7271 GB, free: 2.777 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001858/0.6199, allocations: 1.059 MB / 0.7282 GB, free: 1.695 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.035e-06/0.6199, allocations: 8 kB / 0.7282 GB, free: 1.688 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.98e-06/0.62, allocations: 4 kB / 0.7282 GB, free: 1.684 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.791e-06/0.62, allocations: 0 / 0.7282 GB, free: 1.684 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002435/0.6224, allocations: 1.664 MB / 0.7298 GB, free: 15.95 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.214e-05/0.6224, allocations: 4 kB / 0.7298 GB, free: 15.95 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004499/0.6229, allocations: 99.8 kB / 0.7299 GB, free: 15.85 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004752/0.6234, allocations: 136.2 kB / 0.73 GB, free: 15.72 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.852e-05/0.6234, allocations: 28.02 kB / 0.7301 GB, free: 15.69 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002522/0.626, allocations: 2.466 MB / 0.7325 GB, free: 13.09 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/0.626, allocations: 4.062 kB / 0.7325 GB, free: 13.09 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002109/0.6281, allocations: 1.301 MB / 0.7338 GB, free: 11.76 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002486/0.6284, allocations: 192.3 kB / 0.7339 GB, free: 11.55 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.244e-05/0.6285, allocations: 12 kB / 0.7339 GB, free: 11.54 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003263/0.6288, allocations: 19.98 kB / 0.734 GB, free: 11.52 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.596e-05/0.6289, allocations: 48.48 kB / 0.734 GB, free: 11.47 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.703e-05/0.629, allocations: 23.98 kB / 0.734 GB, free: 11.45 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0003247/0.6293, allocations: 326.9 kB / 0.7343 GB, free: 11.13 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6293, allocations: 0 / 0.7343 GB, free: 11.13 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0008897/0.6302, allocations: 287.8 kB / 0.7346 GB, free: 10.85 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.002812/0.633, allocations: 2.131 MB / 0.7367 GB, free: 8.688 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001562/0.6346, allocations: 0.9113 MB / 0.7376 GB, free: 7.75 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.6346, allocations: 0 / 0.7376 GB, free: 7.75 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001008/0.6356, allocations: 0.5989 MB / 0.7382 GB, free: 7.125 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000899/0.6366, allocations: 196.4 kB / 0.7384 GB, free: 6.938 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007822/0.6444, allocations: 5.912 MB / 0.7441 GB, free: 0.9062 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004358/0.6449, allocations: 0.8994 MB / 0.745 GB, free: 15.98 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0004083/0.6453, allocations: 132.7 kB / 0.7451 GB, free: 15.85 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003047/0.6456, allocations: 227.3 kB / 0.7454 GB, free: 15.63 MB / 0.5919 GB Notification: Performance of SimCode: time 6.22e-07/0.6456, allocations: 0 / 0.7454 GB, free: 15.63 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0463/0.6919, allocations: 20.59 MB / 0.7655 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.1/11.79, allocations: 6.281 kB / 0.7655 GB, free: 11.2 MB / 0.6075 GB (rm -f ThermofluidStream_ThermofluidStream.Processes.Tests.Compressor.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Processes.Tests.Compressor.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Processes.Tests.Compressor.pipe >> ../files/ThermofluidStream_ThermofluidStream.Processes.Tests.Compressor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ThermofluidStream_ThermofluidStream.Processes.Tests.Compressor_res.mat --tempDir=temp_ThermofluidStream_ThermofluidStream_Processes_Tests_Compressor_fmu --startTime=0 --stopTime=30 --timeout=1200 --tolerance=1e-06 ThermofluidStream_ThermofluidStream_Processes_Tests_Compressor.fmu > ThermofluidStream_ThermofluidStream.Processes.Tests.Compressor.pipe 2>&1) diffSimulationResults("ThermofluidStream_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_ThermofluidStream.Processes.Tests.Compressor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches