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.007039/0.007039, allocations: 100.9 kB / 15.73 MB, free: 6.055 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.001469/0.001469, allocations: 192.4 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.481/1.481, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 1.06/1.06, allocations: 93.7 MB / 384.2 MB, free: 5.258 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00275/0.00275, allocations: 83.86 kB / 0.5199 GB, free: 1.121 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.478/0.4808, allocations: 68.27 MB / 0.5866 GB, free: 10.25 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Examples.SimpleStream): time 1.005/1.485, allocations: 284.6 MB / 0.8645 GB, free: 5.695 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.04346/1.529, allocations: 27.34 MB / 0.8912 GB, free: 10.98 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003683/1.533, allocations: 47.69 kB / 0.8913 GB, free: 10.94 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.006437/1.539, allocations: 1.388 MB / 0.8926 GB, free: 9.543 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.02138/1.561, allocations: 4.674 MB / 0.8972 GB, free: 4.852 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.007967/1.569, allocations: 2.043 MB / 0.8992 GB, free: 2.801 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.005247/1.574, allocations: 2.256 MB / 0.9014 GB, free: 0.5352 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001565/1.576, allocations: 0.6314 MB / 0.902 GB, free: 15.88 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003944/1.579, allocations: 1.366 MB / 0.9033 GB, free: 14.5 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002378/1.582, allocations: 0.9804 MB / 0.9043 GB, free: 13.52 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0006181/1.583, allocations: 136 kB / 0.9044 GB, free: 13.39 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02157/1.604, allocations: 8.894 MB / 0.9131 GB, free: 4.477 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.001207/1.605, allocations: 498.4 kB / 0.9136 GB, free: 3.988 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.001611/1.607, allocations: 0.8435 MB / 0.9144 GB, free: 3.141 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.02062/1.628, allocations: 5.566 MB / 0.9199 GB, free: 13.55 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 1.129e-05/1.628, allocations: 3.984 kB / 0.9199 GB, free: 13.55 MB / 0.67 GB Notification: Performance of FrontEnd: time 2.705e-06/1.628, allocations: 0 / 0.9199 GB, free: 13.55 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.0001163/1.628, allocations: 0 / 0.9199 GB, free: 13.55 MB / 0.67 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.009436/1.637, allocations: 2.794 MB / 0.9226 GB, free: 10.69 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 5.923e-05/1.637, allocations: 8.031 kB / 0.9226 GB, free: 10.68 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005337/1.638, allocations: 181.8 kB / 0.9228 GB, free: 10.49 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007044/1.639, allocations: 190.8 kB / 0.9229 GB, free: 10.3 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002598/1.641, allocations: 1.025 MB / 0.9239 GB, free: 9.234 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001022/1.641, allocations: 90.33 kB / 0.924 GB, free: 9.145 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002949/1.642, allocations: 119.9 kB / 0.9241 GB, free: 9.027 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003683/1.645, allocations: 1.777 MB / 0.9259 GB, free: 7.211 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.182e-05/1.645, allocations: 7.984 kB / 0.9259 GB, free: 7.203 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001298/1.646, allocations: 43.98 kB / 0.9259 GB, free: 7.16 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001874/1.646, allocations: 114.3 kB / 0.926 GB, free: 7.047 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003339/1.649, allocations: 1.884 MB / 0.9279 GB, free: 5.156 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01309/1.662, allocations: 7.975 MB / 0.9357 GB, free: 12.34 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001912/1.664, allocations: 0.9128 MB / 0.9366 GB, free: 11.4 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001141/1.665, allocations: 0.6832 MB / 0.9372 GB, free: 10.72 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002185/1.668, allocations: 2.351 MB / 0.9395 GB, free: 7.852 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.468e-05/1.668, allocations: 43.56 kB / 0.9396 GB, free: 7.797 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=101): time 5.17e-06/1.668, allocations: 4 kB / 0.9396 GB, free: 7.793 MB / 0.6856 GB Notification: Performance of matching and sorting (n=103): time 0.008483/1.676, allocations: 3.865 MB / 0.9433 GB, free: 3.84 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.583e-05/1.676, allocations: 68.34 kB / 0.9434 GB, free: 3.762 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001443/1.678, allocations: 0.7974 MB / 0.9442 GB, free: 2.941 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 8.436e-05/1.678, allocations: 45.7 kB / 0.9442 GB, free: 2.891 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005771/1.678, allocations: 0.6143 MB / 0.9448 GB, free: 2.27 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003948/1.679, allocations: 372.8 kB / 0.9452 GB, free: 1.902 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003715/1.679, allocations: 182.6 kB / 0.9454 GB, free: 1.715 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001976/1.679, allocations: 345.9 kB / 0.9457 GB, free: 1.371 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000876/1.68, allocations: 0.4978 MB / 0.9462 GB, free: 0.875 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00102/1.681, allocations: 0.5802 MB / 0.9467 GB, free: 292 kB / 0.6856 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.002151/1.683, allocations: 1.238 MB / 0.948 GB, free: 15.02 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.619e-06/1.683, allocations: 0 / 0.948 GB, free: 15.02 MB / 0.7012 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.003017/1.686, allocations: 1.505 MB / 0.9494 GB, free: 13.5 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.798e-05/1.686, allocations: 4 kB / 0.9494 GB, free: 13.5 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.159e-05/1.687, allocations: 0 / 0.9494 GB, free: 13.5 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007151/1.687, allocations: 169.7 kB / 0.9496 GB, free: 13.33 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007042/1.688, allocations: 187.8 kB / 0.9498 GB, free: 13.15 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003813/1.692, allocations: 2.707 MB / 0.9524 GB, free: 10.3 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008024/1.693, allocations: 31.92 kB / 0.9524 GB, free: 10.27 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002032/1.693, allocations: 63.97 kB / 0.9525 GB, free: 10.21 MB / 0.7012 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.0008865/1.694, allocations: 337.5 kB / 0.9528 GB, free: 9.871 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004432/1.694, allocations: 115.2 kB / 0.9529 GB, free: 9.758 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004274/1.698, allocations: 2.128 MB / 0.955 GB, free: 7.609 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.363e-05/1.698, allocations: 15.94 kB / 0.955 GB, free: 7.594 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.313e-05/1.699, allocations: 7.938 kB / 0.955 GB, free: 7.586 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.632e-05/1.699, allocations: 7.969 kB / 0.955 GB, free: 7.578 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006422/1.705, allocations: 3.358 MB / 0.9583 GB, free: 4.129 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.045e-06/1.705, allocations: 64 / 0.9583 GB, free: 4.129 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006548/1.706, allocations: 183.7 kB / 0.9585 GB, free: 3.949 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006173/1.706, allocations: 187 kB / 0.9587 GB, free: 3.766 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001264/1.706, allocations: 43.95 kB / 0.9587 GB, free: 3.723 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003739/1.71, allocations: 2.69 MB / 0.9613 GB, free: 0.8945 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.912e-06/1.71, allocations: 3.984 kB / 0.9613 GB, free: 0.8906 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004407/1.715, allocations: 2.36 MB / 0.9637 GB, free: 14.51 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004691/1.715, allocations: 180.4 kB / 0.9638 GB, free: 14.31 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003035/1.715, allocations: 24 kB / 0.9638 GB, free: 14.29 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006662/1.716, allocations: 27.92 kB / 0.9639 GB, free: 14.26 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001799/1.716, allocations: 84.88 kB / 0.964 GB, free: 14.18 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001595/1.716, allocations: 63.97 kB / 0.964 GB, free: 14.12 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0009964/1.717, allocations: 0.583 MB / 0.9646 GB, free: 13.52 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.11e-07/1.717, allocations: 0 / 0.9646 GB, free: 13.52 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.003548/1.721, allocations: 0.9506 MB / 0.9655 GB, free: 12.57 MB / 0.7169 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.008362/1.729, allocations: 4.097 MB / 0.9695 GB, free: 8.445 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.003232/1.733, allocations: 1.526 MB / 0.971 GB, free: 6.902 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 6.382e-06/1.733, allocations: 0 / 0.971 GB, free: 6.902 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.001788/1.734, allocations: 0.926 MB / 0.9719 GB, free: 5.969 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002656/1.737, allocations: 423 kB / 0.9723 GB, free: 5.562 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0204/1.758, allocations: 10.6 MB / 0.9827 GB, free: 10.8 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001476/1.759, allocations: 1.26 MB / 0.9839 GB, free: 9.512 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001632/1.761, allocations: 0.6027 MB / 0.9845 GB, free: 8.91 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00106/1.762, allocations: 0.5969 MB / 0.9851 GB, free: 8.312 MB / 0.7325 GB Notification: Performance of SimCode: time 1.994e-06/1.762, allocations: 8 kB / 0.9851 GB, free: 8.305 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5759/2.338, allocations: 49.61 MB / 1.034 GB, free: 321.4 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.76/15.1, allocations: 4.531 kB / 1.034 GB, free: 321.4 MB / 0.7637 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