Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_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: translateModel(ThermofluidStream.Examples.SimpleStream,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|heatCapacitor.T|source.outlet.m_flow|thermalConduction.h|thermalConduction.inlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.Examples.SimpleStream") translateModel(ThermofluidStream.Examples.SimpleStream,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|heatCapacitor.T|source.outlet.m_flow|thermalConduction.h|thermalConduction.inlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.Examples.SimpleStream") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000833/0.0008326, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.0067/0.0067, allocations: 168.9 kB / 16.26 MB, free: 6.656 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.373/1.373, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.809/0.809, allocations: 91.32 MB / 382.8 MB, free: 9.645 MB / 318.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.0003913/0.0003913, allocations: 10.19 kB / 462.7 MB, free: 23.62 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1655/0.1659, allocations: 69.21 MB / 0.5194 GB, free: 9.109 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Examples.SimpleStream): time 0.6417/0.8076, allocations: 282.3 MB / 0.7951 GB, free: 13.45 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.4125/1.22, allocations: 27.62 MB / 0.8221 GB, free: 1.59 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002721/1.223, allocations: 53.81 kB / 0.8222 GB, free: 1.59 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.004257/1.227, allocations: 1.303 MB / 0.8234 GB, free: 1.586 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.01157/1.239, allocations: 4.095 MB / 0.8274 GB, free: 1.539 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.00575/1.245, allocations: 1.814 MB / 0.8292 GB, free: 1.523 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.005517/1.25, allocations: 3.328 MB / 0.8325 GB, free: 1.523 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001144/1.251, allocations: 0.5529 MB / 0.833 GB, free: 1.391 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00368/1.255, allocations: 1.182 MB / 0.8342 GB, free: 1.375 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002071/1.257, allocations: 0.919 MB / 0.8351 GB, free: 1.371 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0002153/1.257, allocations: 50.31 kB / 0.8351 GB, free: 1.371 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02022/1.278, allocations: 10.1 MB / 0.845 GB, free: 1.363 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.001027/1.279, allocations: 386.2 kB / 0.8453 GB, free: 1.363 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.00178/1.28, allocations: 0.7608 MB / 0.8461 GB, free: 17.33 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.01743/1.298, allocations: 5.764 MB / 0.8517 GB, free: 17.05 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/1.298, allocations: 2.438 kB / 0.8517 GB, free: 17.05 MB / 0.6231 GB Notification: Performance of FrontEnd: time 3.777e-06/1.298, allocations: 2.297 kB / 0.8517 GB, free: 17.05 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 3.781e-05/1.298, allocations: 0 / 0.8517 GB, free: 17.05 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.006584/1.305, allocations: 2.415 MB / 0.8541 GB, free: 15.79 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.765e-05/1.305, allocations: 6.344 kB / 0.8541 GB, free: 15.79 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000351/1.305, allocations: 184.4 kB / 0.8542 GB, free: 15.7 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001676/1.307, allocations: 0.9347 MB / 0.8552 GB, free: 15.33 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.517e-05/1.307, allocations: 91.88 kB / 0.8552 GB, free: 15.33 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001874/1.307, allocations: 117.6 kB / 0.8554 GB, free: 15.32 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002682/1.31, allocations: 1.779 MB / 0.8571 GB, free: 15.21 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.463e-05/1.31, allocations: 0 / 0.8571 GB, free: 15.21 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001106/1.31, allocations: 47.95 kB / 0.8571 GB, free: 15.21 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001327/1.31, allocations: 112 kB / 0.8573 GB, free: 15.2 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002415/1.312, allocations: 1.882 MB / 0.8591 GB, free: 15.19 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01052/1.323, allocations: 7.973 MB / 0.8669 GB, free: 10.21 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001587/1.324, allocations: 0.9113 MB / 0.8678 GB, free: 10 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009546/1.325, allocations: 0.6878 MB / 0.8684 GB, free: 9.922 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001784/1.327, allocations: 2.354 MB / 0.8707 GB, free: 7.238 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.754e-05/1.327, allocations: 39.94 kB / 0.8708 GB, free: 7.199 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=101): time 3.567e-06/1.327, allocations: 4 kB / 0.8708 GB, free: 7.195 MB / 0.6231 GB Notification: Performance of matching and sorting (n=103): time 0.007313/1.335, allocations: 3.846 MB / 0.8745 GB, free: 6.137 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.046e-05/1.335, allocations: 62.41 kB / 0.8746 GB, free: 6.074 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001287/1.336, allocations: 0.8015 MB / 0.8754 GB, free: 5.805 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 8.605e-05/1.336, allocations: 43.02 kB / 0.8754 GB, free: 5.773 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004532/1.337, allocations: 0.5939 MB / 0.876 GB, free: 5.469 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003094/1.337, allocations: 349.9 kB / 0.8763 GB, free: 5.215 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000155/1.337, allocations: 77.33 kB / 0.8764 GB, free: 5.188 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.000155/1.337, allocations: 341 kB / 0.8767 GB, free: 4.871 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007317/1.338, allocations: 0.4964 MB / 0.8772 GB, free: 4.812 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007981/1.339, allocations: 0.5804 MB / 0.8778 GB, free: 4.703 MB / 0.6231 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.001921/1.341, allocations: 1.227 MB / 0.879 GB, free: 4.492 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.422e-06/1.341, allocations: 2.625 kB / 0.879 GB, free: 4.492 MB / 0.6231 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.002569/1.343, allocations: 1.498 MB / 0.8804 GB, free: 4.215 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.559e-05/1.343, allocations: 8.984 kB / 0.8805 GB, free: 4.211 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.156e-05/1.343, allocations: 2.594 kB / 0.8805 GB, free: 4.211 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006141/1.344, allocations: 182.1 kB / 0.8806 GB, free: 4.152 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006616/1.345, allocations: 191.9 kB / 0.8808 GB, free: 4.121 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003546/1.348, allocations: 2.461 MB / 0.8832 GB, free: 2.582 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009789/1.349, allocations: 95 kB / 0.8833 GB, free: 2.551 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002058/1.349, allocations: 75.36 kB / 0.8834 GB, free: 2.531 MB / 0.6231 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: 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.0007926/1.35, allocations: 330.6 kB / 0.8837 GB, free: 2.395 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002594/1.351, allocations: 106.9 kB / 0.8838 GB, free: 2.34 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003628/1.354, allocations: 2.129 MB / 0.8859 GB, free: 1.77 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.303e-05/1.354, allocations: 9.719 kB / 0.8859 GB, free: 1.77 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.111e-05/1.354, allocations: 10.84 kB / 0.8859 GB, free: 1.762 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.426e-05/1.354, allocations: 3.984 kB / 0.8859 GB, free: 1.758 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005872/1.36, allocations: 3.376 MB / 0.8892 GB, free: 0.6484 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.704e-06/1.36, allocations: 3.344 kB / 0.8892 GB, free: 0.6484 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006385/1.361, allocations: 178.8 kB / 0.8894 GB, free: 0.6211 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005828/1.361, allocations: 180.2 kB / 0.8895 GB, free: 0.5625 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001038/1.361, allocations: 46.09 kB / 0.8896 GB, free: 0.5547 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003034/1.365, allocations: 2.457 MB / 0.892 GB, free: 15.02 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/1.365, allocations: 0 / 0.892 GB, free: 15.02 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003414/1.368, allocations: 2.353 MB / 0.8943 GB, free: 14.54 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004529/1.368, allocations: 187.1 kB / 0.8945 GB, free: 14.37 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002076/1.369, allocations: 22.56 kB / 0.8945 GB, free: 14.37 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007878/1.369, allocations: 97.11 kB / 0.8946 GB, free: 14.34 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001655/1.37, allocations: 89.19 kB / 0.8947 GB, free: 14.3 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000143/1.37, allocations: 64.73 kB / 0.8947 GB, free: 14.29 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0008339/1.371, allocations: 0.5831 MB / 0.8953 GB, free: 14.09 MB / 0.6387 GB Notification: Performance of sort global known variables: time 4.4e-07/1.371, allocations: 0 / 0.8953 GB, free: 14.09 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.003101/1.374, allocations: 0.9343 MB / 0.8962 GB, free: 13.92 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.003773/1.377, allocations: 1.213 MB / 0.8974 GB, free: 13.45 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.002673/1.38, allocations: 1.516 MB / 0.8989 GB, free: 13.15 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.968e-06/1.38, allocations: 0 / 0.8989 GB, free: 13.15 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001499/1.382, allocations: 0.9296 MB / 0.8998 GB, free: 12.52 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002352/1.384, allocations: 384.5 kB / 0.9001 GB, free: 12.23 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005678/1.39, allocations: 3.463 MB / 0.9035 GB, free: 9.078 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001033/1.391, allocations: 1.262 MB / 0.9048 GB, free: 7.82 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001567/1.392, allocations: 0.6005 MB / 0.9053 GB, free: 7.227 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004272/1.393, allocations: 136.2 kB / 0.9055 GB, free: 7.109 MB / 0.6387 GB Notification: Performance of SimCode: time 1.723e-06/1.393, allocations: 0 / 0.9055 GB, free: 7.109 MB / 0.6387 GB Notification: Performance of Templates: time 0.05935/1.452, allocations: 35.23 MB / 0.9399 GB, free: 4.25 MB / 0.67 GB make -j1 -f ThermofluidStream_ThermofluidStream.Examples.SimpleStream.makefile (rm -f ThermofluidStream_ThermofluidStream.Examples.SimpleStream.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Examples.SimpleStream.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Examples.SimpleStream.pipe >> ../files/ThermofluidStream_ThermofluidStream.Examples.SimpleStream.sim & ./ThermofluidStream_ThermofluidStream.Examples.SimpleStream -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.Examples.SimpleStream.pipe 2>&1) diffSimulationResults("ThermofluidStream_ThermofluidStream.Examples.SimpleStream_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Examples.SimpleStream_ref.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.Examples.SimpleStream.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches