Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_ThermofluidStream.Examples.SimpleStream.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.Examples.SimpleStream,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_Examples_SimpleStream",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Examples.SimpleStream,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_Examples_SimpleStream",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.00144/0.00144, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001882/0.001882, allocations: 190.9 kB / 16.25 MB, free: 6.637 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.564/1.564, allocations: 222.9 MB / 239.9 MB, free: 4.559 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 1.064/1.064, allocations: 93.71 MB / 383.8 MB, free: 7.121 MB / 318.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.002336/0.002336, allocations: 85.12 kB / 463 MB, free: 22.15 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1984/0.2007, allocations: 68.26 MB / 0.5188 GB, free: 7.285 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Examples.SimpleStream): time 0.8969/1.098, allocations: 282.8 MB / 0.795 GB, free: 212 kB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.04125/1.139, allocations: 27.38 MB / 0.8217 GB, free: 4.734 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003457/1.142, allocations: 55.62 kB / 0.8218 GB, free: 4.68 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.004689/1.147, allocations: 1.284 MB / 0.823 GB, free: 3.391 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.5809/1.728, allocations: 4.279 MB / 0.8272 GB, free: 3.117 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.007013/1.735, allocations: 1.891 MB / 0.8291 GB, free: 3.117 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.005043/1.74, allocations: 2.251 MB / 0.8313 GB, free: 3.117 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001315/1.742, allocations: 0.6371 MB / 0.8319 GB, free: 2.98 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004267/1.746, allocations: 1.376 MB / 0.8332 GB, free: 2.977 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002714/1.749, allocations: 1.049 MB / 0.8343 GB, free: 2.977 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0004224/1.749, allocations: 137.8 kB / 0.8344 GB, free: 2.977 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02503/1.774, allocations: 9.262 MB / 0.8434 GB, free: 2.977 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.00148/1.776, allocations: 487.7 kB / 0.8439 GB, free: 2.977 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.00244/1.778, allocations: 0.8455 MB / 0.8447 GB, free: 2.977 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.02256/1.801, allocations: 5.924 MB / 0.8505 GB, free: 2.805 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 7.584e-06/1.801, allocations: 0 / 0.8505 GB, free: 2.805 MB / 0.6231 GB Notification: Performance of FrontEnd: time 3.126e-06/1.801, allocations: 2.625 kB / 0.8505 GB, free: 2.805 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 4.43e-05/1.801, allocations: 0.8438 kB / 0.8505 GB, free: 2.805 MB / 0.6231 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 314 * Number of variables: 314 Notification: Performance of Generate backend data structure: time 0.009076/1.81, allocations: 2.705 MB / 0.8532 GB, free: 17.5 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 5.559e-05/1.81, allocations: 9.25 kB / 0.8532 GB, free: 17.5 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003457/1.81, allocations: 183 kB / 0.8533 GB, free: 17.45 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004969/1.811, allocations: 177 kB / 0.8535 GB, free: 17.37 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001868/1.813, allocations: 0.9503 MB / 0.8544 GB, free: 17 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.792e-05/1.813, allocations: 90.27 kB / 0.8545 GB, free: 17 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001966/1.813, allocations: 120 kB / 0.8546 GB, free: 16.99 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002878/1.816, allocations: 1.776 MB / 0.8564 GB, free: 16.88 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.389e-05/1.816, allocations: 3.531 kB / 0.8564 GB, free: 16.88 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001076/1.816, allocations: 48.28 kB / 0.8564 GB, free: 16.88 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001551/1.816, allocations: 107.2 kB / 0.8565 GB, free: 16.88 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002611/1.819, allocations: 1.882 MB / 0.8584 GB, free: 16.86 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01058/1.829, allocations: 7.966 MB / 0.8661 GB, free: 12.23 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001498/1.831, allocations: 0.9122 MB / 0.867 GB, free: 12.1 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009294/1.832, allocations: 0.6845 MB / 0.8677 GB, free: 12.09 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002024/1.834, allocations: 2.354 MB / 0.87 GB, free: 9.469 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.471e-05/1.834, allocations: 47.97 kB / 0.87 GB, free: 9.43 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=101): time 4.799e-06/1.834, allocations: 0.8125 kB / 0.87 GB, free: 9.43 MB / 0.6387 GB Notification: Performance of matching and sorting (n=103): time 0.007347/1.841, allocations: 3.84 MB / 0.8738 GB, free: 8.684 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.823e-05/1.841, allocations: 62.62 kB / 0.8739 GB, free: 8.621 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001159/1.843, allocations: 0.8017 MB / 0.8746 GB, free: 8.477 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0001056/1.843, allocations: 50 kB / 0.8747 GB, free: 8.445 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003968/1.843, allocations: 0.6037 MB / 0.8753 GB, free: 8.199 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002865/1.843, allocations: 358.5 kB / 0.8756 GB, free: 7.973 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003092/1.844, allocations: 181.8 kB / 0.8758 GB, free: 7.957 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001715/1.844, allocations: 337.4 kB / 0.8761 GB, free: 7.652 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007415/1.845, allocations: 0.4988 MB / 0.8766 GB, free: 7.652 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008419/1.846, allocations: 0.5763 MB / 0.8772 GB, free: 7.613 MB / 0.6387 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: thermalConduction.deltaE_system = $START.thermalConduction.deltaE_system (0.0 = $START.thermalConduction.deltaE_system) Notification: Performance of analyzeInitialSystem (initialization): time 0.001847/1.847, allocations: 1.237 MB / 0.8784 GB, free: 7.477 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.052e-06/1.847, allocations: 4.906 kB / 0.8784 GB, free: 7.473 MB / 0.6387 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.002709/1.85, allocations: 1.498 MB / 0.8798 GB, free: 7.359 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.288e-05/1.85, allocations: 5.062 kB / 0.8798 GB, free: 7.359 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.297e-05/1.85, allocations: 5.625 kB / 0.8798 GB, free: 7.359 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006022/1.851, allocations: 176.4 kB / 0.88 GB, free: 7.352 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006322/1.851, allocations: 184.3 kB / 0.8802 GB, free: 7.352 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003349/1.855, allocations: 2.694 MB / 0.8828 GB, free: 5.828 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00115/1.856, allocations: 96.12 kB / 0.8829 GB, free: 5.82 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001744/1.856, allocations: 64.05 kB / 0.883 GB, free: 5.82 MB / 0.6387 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: thermalConduction.deltaE_system = $START.thermalConduction.deltaE_system. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (95): * Single equations (assignments): 89 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * 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,15,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0008054/1.857, allocations: 338.4 kB / 0.8833 GB, free: 5.699 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003117/1.857, allocations: 112.3 kB / 0.8834 GB, free: 5.641 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003664/1.861, allocations: 2.137 MB / 0.8855 GB, free: 5.461 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.474e-05/1.861, allocations: 13.38 kB / 0.8855 GB, free: 5.461 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/1.861, allocations: 0 / 0.8855 GB, free: 5.461 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.755e-05/1.861, allocations: 9 kB / 0.8855 GB, free: 5.461 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005807/1.867, allocations: 3.38 MB / 0.8888 GB, free: 4.938 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.803e-06/1.867, allocations: 0 / 0.8888 GB, free: 4.938 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000658/1.868, allocations: 181.6 kB / 0.889 GB, free: 4.938 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000583/1.868, allocations: 175.8 kB / 0.8892 GB, free: 4.926 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.797e-05/1.868, allocations: 38.89 kB / 0.8892 GB, free: 4.926 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003469/1.872, allocations: 2.706 MB / 0.8918 GB, free: 3.387 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.368e-06/1.872, allocations: 2.562 kB / 0.8918 GB, free: 3.387 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003955/1.876, allocations: 2.351 MB / 0.8941 GB, free: 3.129 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000604/1.876, allocations: 181.9 kB / 0.8943 GB, free: 2.973 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001606/1.876, allocations: 22.41 kB / 0.8943 GB, free: 2.973 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006927/1.877, allocations: 98.14 kB / 0.8944 GB, free: 2.965 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002106/1.877, allocations: 83.53 kB / 0.8945 GB, free: 2.961 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000158/1.878, allocations: 67.75 kB / 0.8946 GB, free: 2.957 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0008898/1.878, allocations: 0.5864 MB / 0.8951 GB, free: 2.848 MB / 0.6387 GB Notification: Performance of sort global known variables: time 2.7e-07/1.878, allocations: 3.5 kB / 0.8951 GB, free: 2.848 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.003616/1.882, allocations: 0.9289 MB / 0.896 GB, free: 2.711 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (thermalConduction.h,heatCapacitor.T,flowResistance2.inlet.m_flow,flowResistance3.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 (91): * Single equations (assignments): 85 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * 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,15,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.007822/1.89, allocations: 4.068 MB / 0.9 GB, free: 1.742 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.004001/1.894, allocations: 1.722 MB / 0.9017 GB, free: 1.578 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 8.496e-06/1.894, allocations: 2.625 kB / 0.9017 GB, free: 1.578 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001759/1.896, allocations: 0.9223 MB / 0.9026 GB, free: 1.277 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002472/1.898, allocations: 423 kB / 0.903 GB, free: 1.051 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02117/1.919, allocations: 11.69 MB / 0.9144 GB, free: 8.477 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001214/1.921, allocations: 1.266 MB / 0.9157 GB, free: 7.41 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.001805/1.923, allocations: 0.5974 MB / 0.9162 GB, free: 6.996 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009571/1.923, allocations: 0.6035 MB / 0.9168 GB, free: 6.895 MB / 0.6544 GB Notification: Performance of SimCode: time 2.154e-06/1.924, allocations: 0 / 0.9168 GB, free: 6.895 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1047/2.028, allocations: 49 MB / 0.9647 GB, free: 6.703 MB / 0.7012 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002936/2.029, allocations: 263 kB / 0.9649 GB, free: 6.367 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.563/5.591, allocations: 0 / 0.9649 GB, free: 6.367 MB / 0.7012 GB (rm -f ThermofluidStream_dev_ThermofluidStream.Examples.SimpleStream.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.Examples.SimpleStream.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.Examples.SimpleStream.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.Examples.SimpleStream.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ThermofluidStream_dev_ThermofluidStream.Examples.SimpleStream_res.mat --tempDir=temp_ThermofluidStream_dev_ThermofluidStream_Examples_SimpleStream_fmu --startTime=0 --stopTime=100 --timeout=1200 --tolerance=1e-06 ThermofluidStream_dev_ThermofluidStream_Examples_SimpleStream.fmu > ThermofluidStream_dev_ThermofluidStream.Examples.SimpleStream.pipe 2>&1) diffSimulationResults("ThermofluidStream_dev_ThermofluidStream.Examples.SimpleStream_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Examples.SimpleStream_ref.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_dev_ThermofluidStream.Examples.SimpleStream.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches