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.001948/0.001948, allocations: 108 kB / 15.6 MB, free: 132 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.002729/0.002729, allocations: 195.4 kB / 16.53 MB, free: 6.391 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.635/1.635, allocations: 222.9 MB / 240.2 MB, free: 4.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.8663/0.8663, allocations: 93.71 MB / 384.1 MB, free: 6.965 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002493/0.002493, allocations: 83.7 kB / 463.5 MB, free: 21.97 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1731/0.1756, allocations: 68.27 MB / 0.5193 GB, free: 6.902 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.Compressor): time 0.06546/0.2411, allocations: 47.36 MB / 0.5655 GB, free: 7.379 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01774/0.2589, allocations: 12.46 MB / 0.5777 GB, free: 10.88 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001361/0.2604, allocations: 19.88 kB / 0.5777 GB, free: 10.86 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001387/0.2618, allocations: 270.2 kB / 0.578 GB, free: 10.59 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002235/0.2641, allocations: 0.5514 MB / 0.5785 GB, free: 10.04 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003044/0.2672, allocations: 0.7352 MB / 0.5792 GB, free: 9.297 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001552/0.2687, allocations: 0.9297 MB / 0.5801 GB, free: 8.363 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003684/0.2691, allocations: 165.5 kB / 0.5803 GB, free: 8.199 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.4017/0.6708, allocations: 12.55 MB / 0.5926 GB, free: 11.29 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005837/0.6714, allocations: 397.9 kB / 0.5929 GB, free: 11.29 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001244/0.6716, allocations: 53.25 kB / 0.593 GB, free: 11.29 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1258/0.7974, allocations: 53 MB / 0.6447 GB, free: 7.684 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003712/0.7978, allocations: 151.3 kB / 0.6449 GB, free: 7.598 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005402/0.7984, allocations: 321.9 kB / 0.6452 GB, free: 7.484 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002612/0.801, allocations: 1.117 MB / 0.6463 GB, free: 6.98 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.553e-06/0.801, allocations: 0 / 0.6463 GB, free: 6.98 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.695e-06/0.801, allocations: 0 / 0.6463 GB, free: 6.98 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.402e-05/0.801, allocations: 0 / 0.6463 GB, free: 6.98 MB / 478.1 MB 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.002579/0.8036, allocations: 1.064 MB / 0.6473 GB, free: 6.16 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.765e-05/0.8037, allocations: 7.938 kB / 0.6473 GB, free: 6.16 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001175/0.8038, allocations: 87.48 kB / 0.6474 GB, free: 6.082 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001586/0.804, allocations: 66.94 kB / 0.6475 GB, free: 6.051 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007431/0.8047, allocations: 493.5 kB / 0.648 GB, free: 5.652 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001417/0.8049, allocations: 92.59 kB / 0.648 GB, free: 5.57 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.139e-05/0.805, allocations: 42.09 kB / 0.6481 GB, free: 5.559 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001148/0.8061, allocations: 0.6547 MB / 0.6487 GB, free: 5.16 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.367e-05/0.8062, allocations: 1.078 kB / 0.6487 GB, free: 5.16 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.926e-05/0.8062, allocations: 17.34 kB / 0.6487 GB, free: 5.148 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.955e-05/0.8063, allocations: 27.09 kB / 0.6488 GB, free: 5.145 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001313/0.8076, allocations: 0.6654 MB / 0.6494 GB, free: 4.527 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004055/0.8117, allocations: 2.465 MB / 0.6518 GB, free: 1.961 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001796/0.8135, allocations: 0.7015 MB / 0.6525 GB, free: 1.262 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007039/0.8142, allocations: 370.7 kB / 0.6529 GB, free: 0.9023 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003047/0.8173, allocations: 2.635 MB / 0.6554 GB, free: 13.7 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.052e-05/0.8173, allocations: 39.06 kB / 0.6555 GB, free: 13.65 MB / 494.1 MB Notification: Performance of pre-optimization done (n=63): time 4.709e-06/0.8173, allocations: 4 kB / 0.6555 GB, free: 13.65 MB / 494.1 MB Notification: Performance of matching and sorting (n=65): time 0.004926/0.8223, allocations: 2.186 MB / 0.6576 GB, free: 11.38 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.419e-05/0.8224, allocations: 67.52 kB / 0.6577 GB, free: 11.31 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007536/0.8231, allocations: 422.1 kB / 0.6581 GB, free: 10.89 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 6.068e-05/0.8232, allocations: 37.7 kB / 0.6581 GB, free: 10.85 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002498/0.8235, allocations: 244.4 kB / 0.6583 GB, free: 10.61 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001897/0.8237, allocations: 219.7 kB / 0.6586 GB, free: 10.39 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001982/0.8239, allocations: 120.8 kB / 0.6587 GB, free: 10.27 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001759/0.824, allocations: 366.8 kB / 0.659 GB, free: 9.906 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00053/0.8246, allocations: 261.1 kB / 0.6593 GB, free: 9.652 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005976/0.8252, allocations: 327.7 kB / 0.6596 GB, free: 9.312 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001172/0.8264, allocations: 0.624 MB / 0.6602 GB, free: 8.676 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.8264, allocations: 0 / 0.6602 GB, free: 8.676 MB / 494.1 MB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001783/0.8282, allocations: 0.844 MB / 0.661 GB, free: 7.832 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.645e-05/0.8282, allocations: 4.156 kB / 0.661 GB, free: 7.828 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.135e-05/0.8282, allocations: 8.875 kB / 0.661 GB, free: 7.82 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000475/0.8287, allocations: 140.4 kB / 0.6612 GB, free: 7.684 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005239/0.8293, allocations: 103.5 kB / 0.6613 GB, free: 7.586 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003115/0.8324, allocations: 2.475 MB / 0.6637 GB, free: 4.992 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003833/0.8328, allocations: 28.05 kB / 0.6637 GB, free: 4.965 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.538e-05/0.8329, allocations: 23.98 kB / 0.6637 GB, free: 4.941 MB / 494.1 MB 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.000379/0.8333, allocations: 207.4 kB / 0.6639 GB, free: 4.742 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001468/0.8334, allocations: 59.25 kB / 0.664 GB, free: 4.684 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002234/0.8357, allocations: 1.046 MB / 0.665 GB, free: 3.641 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.544e-06/0.8357, allocations: 4 kB / 0.665 GB, free: 3.637 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.007e-06/0.8357, allocations: 4 kB / 0.665 GB, free: 3.633 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.803e-06/0.8357, allocations: 0 / 0.665 GB, free: 3.633 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002994/0.8387, allocations: 1.666 MB / 0.6666 GB, free: 1.926 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.545e-05/0.8387, allocations: 4 kB / 0.6666 GB, free: 1.922 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004966/0.8392, allocations: 95.39 kB / 0.6667 GB, free: 1.832 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004468/0.8397, allocations: 149.1 kB / 0.6669 GB, free: 1.688 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.106e-05/0.8398, allocations: 19.98 kB / 0.6669 GB, free: 1.668 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003056/0.8428, allocations: 2.478 MB / 0.6693 GB, free: 15.08 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.923e-06/0.8428, allocations: 4.031 kB / 0.6693 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002419/0.8453, allocations: 1.295 MB / 0.6706 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000281/0.8456, allocations: 196.2 kB / 0.6708 GB, free: 13.56 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.983e-05/0.8457, allocations: 12 kB / 0.6708 GB, free: 13.55 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003557/0.846, allocations: 19.98 kB / 0.6708 GB, free: 13.53 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001089/0.8461, allocations: 44.48 kB / 0.6708 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.948e-05/0.8462, allocations: 27.98 kB / 0.6709 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0004716/0.8467, allocations: 338.8 kB / 0.6712 GB, free: 13.13 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8467, allocations: 0 / 0.6712 GB, free: 13.13 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.00109/0.8478, allocations: 283.9 kB / 0.6715 GB, free: 12.86 MB / 0.4981 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.003468/0.8513, allocations: 2.138 MB / 0.6735 GB, free: 10.73 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.002203/0.8535, allocations: 0.9905 MB / 0.6745 GB, free: 9.738 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.037e-06/0.8535, allocations: 0 / 0.6745 GB, free: 9.738 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001136/0.8546, allocations: 0.6053 MB / 0.6751 GB, free: 9.117 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001132/0.8558, allocations: 211.1 kB / 0.6753 GB, free: 8.922 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01058/0.8664, allocations: 6.09 MB / 0.6813 GB, free: 2.816 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006999/0.8671, allocations: 0.9073 MB / 0.6821 GB, free: 1.883 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0005238/0.8677, allocations: 136.7 kB / 0.6823 GB, free: 1.746 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003668/0.868, allocations: 235.3 kB / 0.6825 GB, free: 1.516 MB / 0.4981 GB Notification: Performance of SimCode: time 1.162e-06/0.868, allocations: 0 / 0.6825 GB, free: 1.516 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06011/0.9282, allocations: 20.42 MB / 0.7024 GB, free: 13.35 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.28/12.2, allocations: 6.438 kB / 0.7024 GB, free: 13.34 MB / 0.5294 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