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.001596/0.001597, allocations: 106.4 kB / 16.37 MB, free: 6.438 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.00195/0.00195, allocations: 189.1 kB / 17.3 MB, free: 5.781 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.453/1.453, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.7499/0.7499, allocations: 89.49 MB / 380.7 MB, free: 8.617 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001537/0.001537, allocations: 79.86 kB / 459.7 MB, free: 10.57 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1385/0.1401, allocations: 67.31 MB / 0.5146 GB, free: 7.188 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Examples.SimpleStream): time 0.8497/0.9898, allocations: 284.4 MB / 0.7923 GB, free: 1.273 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.02784/1.018, allocations: 27.26 MB / 0.8189 GB, free: 0.7891 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001657/1.019, allocations: 21.28 kB / 0.819 GB, free: 0.7891 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.003774/1.023, allocations: 1.384 MB / 0.8203 GB, free: 0.7305 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.01379/1.037, allocations: 4.625 MB / 0.8248 GB, free: 0.5195 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.005661/1.043, allocations: 2.034 MB / 0.8268 GB, free: 444 kB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.003564/1.046, allocations: 2.112 MB / 0.8289 GB, free: 316 kB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009089/1.047, allocations: 0.6033 MB / 0.8295 GB, free: 16.15 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003029/1.05, allocations: 1.296 MB / 0.8307 GB, free: 15.84 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001514/1.052, allocations: 0.9627 MB / 0.8317 GB, free: 15.54 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0002049/1.052, allocations: 140.1 kB / 0.8318 GB, free: 15.54 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01906/1.071, allocations: 8.892 MB / 0.8405 GB, free: 13.57 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.001062/1.072, allocations: 485.7 kB / 0.841 GB, free: 13.4 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001575/1.074, allocations: 0.8035 MB / 0.8417 GB, free: 13.14 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0168/1.091, allocations: 5.408 MB / 0.847 GB, free: 10.18 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 7.034e-06/1.091, allocations: 0 / 0.847 GB, free: 10.18 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.613e-06/1.091, allocations: 0 / 0.847 GB, free: 10.18 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 2.504e-05/1.091, allocations: 0 / 0.847 GB, free: 10.18 MB / 0.5919 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.006047/1.097, allocations: 2.555 MB / 0.8495 GB, free: 7.836 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.33e-05/1.097, allocations: 8.031 kB / 0.8495 GB, free: 7.828 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003187/1.097, allocations: 158.1 kB / 0.8497 GB, free: 7.672 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001228/1.098, allocations: 0.7803 MB / 0.8504 GB, free: 7.043 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.906e-05/1.098, allocations: 91.38 kB / 0.8505 GB, free: 6.988 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001771/1.099, allocations: 128.4 kB / 0.8506 GB, free: 6.906 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002436/1.101, allocations: 1.77 MB / 0.8524 GB, free: 5.695 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.016e-05/1.101, allocations: 0 / 0.8524 GB, free: 5.695 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.305e-05/1.101, allocations: 44.12 kB / 0.8524 GB, free: 5.688 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000133/1.101, allocations: 115.6 kB / 0.8525 GB, free: 5.59 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002444/1.104, allocations: 1.883 MB / 0.8544 GB, free: 4.027 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008776/1.113, allocations: 7.926 MB / 0.8621 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001462/1.114, allocations: 0.9151 MB / 0.863 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000951/1.115, allocations: 0.6838 MB / 0.8637 GB, free: 9.77 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00158/1.117, allocations: 2.354 MB / 0.866 GB, free: 6.906 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.88e-05/1.117, allocations: 39.56 kB / 0.866 GB, free: 6.859 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=101): time 3.777e-06/1.117, allocations: 0 / 0.866 GB, free: 6.859 MB / 0.6075 GB Notification: Performance of matching and sorting (n=103): time 0.006726/1.123, allocations: 3.797 MB / 0.8697 GB, free: 2.996 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.68e-05/1.124, allocations: 62.94 kB / 0.8698 GB, free: 2.922 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001027/1.125, allocations: 0.6687 MB / 0.8704 GB, free: 2.246 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 8.097e-05/1.125, allocations: 45.7 kB / 0.8705 GB, free: 2.195 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.000371/1.125, allocations: 0.5271 MB / 0.871 GB, free: 1.66 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002897/1.125, allocations: 351.5 kB / 0.8713 GB, free: 1.32 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003182/1.126, allocations: 190.1 kB / 0.8715 GB, free: 1.133 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001344/1.126, allocations: 337.9 kB / 0.8718 GB, free: 0.7969 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008007/1.127, allocations: 0.4978 MB / 0.8723 GB, free: 308 kB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009202/1.128, allocations: 0.5807 MB / 0.8729 GB, free: 15.71 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.001906/1.129, allocations: 1.244 MB / 0.8741 GB, free: 14.45 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.977e-06/1.13, allocations: 3.938 kB / 0.8741 GB, free: 14.44 MB / 0.6231 GB Notification: Performance of matching and sorting (n=112) (initialization): time 0.002688/1.132, allocations: 1.49 MB / 0.8756 GB, free: 12.95 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.247e-05/1.132, allocations: 4 kB / 0.8756 GB, free: 12.95 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.928e-06/1.132, allocations: 4 kB / 0.8756 GB, free: 12.94 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006797/1.133, allocations: 168.2 kB / 0.8757 GB, free: 12.78 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006876/1.134, allocations: 192.7 kB / 0.8759 GB, free: 12.6 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00342/1.137, allocations: 2.69 MB / 0.8785 GB, free: 9.777 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006146/1.138, allocations: 36.59 kB / 0.8786 GB, free: 9.746 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001918/1.138, allocations: 67.91 kB / 0.8786 GB, free: 9.68 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 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 (96): * Single equations (assignments): 90 * 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.0007383/1.139, allocations: 324 kB / 0.8789 GB, free: 9.363 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003208/1.139, allocations: 98.72 kB / 0.879 GB, free: 9.266 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003869/1.143, allocations: 2.11 MB / 0.8811 GB, free: 7.184 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.654e-05/1.143, allocations: 12 kB / 0.8811 GB, free: 7.172 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.666e-06/1.143, allocations: 0 / 0.8811 GB, free: 7.172 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.365e-05/1.143, allocations: 7.969 kB / 0.8811 GB, free: 7.164 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00562/1.149, allocations: 3.306 MB / 0.8843 GB, free: 3.805 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.698e-06/1.149, allocations: 3.938 kB / 0.8843 GB, free: 3.801 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000688/1.149, allocations: 186 kB / 0.8845 GB, free: 3.629 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005654/1.15, allocations: 176.6 kB / 0.8847 GB, free: 3.453 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001125/1.15, allocations: 47.97 kB / 0.8847 GB, free: 3.406 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003147/1.153, allocations: 2.7 MB / 0.8874 GB, free: 0.5898 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/1.153, allocations: 0 / 0.8874 GB, free: 0.5898 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003741/1.157, allocations: 2.336 MB / 0.8897 GB, free: 14.24 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003388/1.157, allocations: 172 kB / 0.8898 GB, free: 14.05 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002094/1.157, allocations: 16 kB / 0.8898 GB, free: 14.04 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005499/1.158, allocations: 31.19 kB / 0.8899 GB, free: 14.01 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001658/1.158, allocations: 87.42 kB / 0.8899 GB, free: 13.93 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001615/1.158, allocations: 63.95 kB / 0.89 GB, free: 13.87 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0007523/1.159, allocations: 0.499 MB / 0.8905 GB, free: 13.37 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.5e-07/1.159, allocations: 0 / 0.8905 GB, free: 13.37 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.002857/1.162, allocations: 0.9329 MB / 0.8914 GB, free: 12.44 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.003525/1.166, allocations: 1.201 MB / 0.8926 GB, free: 11.34 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.002933/1.168, allocations: 1.525 MB / 0.8941 GB, free: 9.816 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.897e-06/1.169, allocations: 0 / 0.8941 GB, free: 9.816 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001618/1.17, allocations: 0.9306 MB / 0.895 GB, free: 8.895 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002099/1.172, allocations: 398.5 kB / 0.8954 GB, free: 8.551 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004869/1.177, allocations: 2.563 MB / 0.8979 GB, free: 5.984 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001043/1.178, allocations: 1.213 MB / 0.899 GB, free: 4.742 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001523/1.18, allocations: 0.5904 MB / 0.8996 GB, free: 4.191 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004955/1.18, allocations: 123.4 kB / 0.8997 GB, free: 4.07 MB / 0.6387 GB Notification: Performance of SimCode: time 1.523e-06/1.18, allocations: 0 / 0.8997 GB, free: 4.07 MB / 0.6387 GB Notification: Performance of Templates: time 0.0615/1.242, allocations: 36.07 MB / 0.935 GB, free: 416 kB / 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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.Examples.SimpleStream.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches