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: "" <> buildModelFMU(ThermofluidStream.Examples.SimpleStream,fileNamePrefix="ThermofluidStream_ThermofluidStream_Examples_SimpleStream",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Examples.SimpleStream,fileNamePrefix="ThermofluidStream_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.001082/0.001082, allocations: 107.3 kB / 15.33 MB, free: 0.5078 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.001136/0.001136, allocations: 189 kB / 16.25 MB, free: 6.152 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.301/1.301, allocations: 222.9 MB / 239.9 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 6.677/6.677, allocations: 91.2 MB / 381.3 MB, free: 9.531 MB / 318.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.001478/0.001478, allocations: 84.61 kB / 459.9 MB, free: 23.28 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1315/0.133, allocations: 67.7 MB / 0.5152 GB, free: 10.43 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Examples.SimpleStream): time 0.6615/0.7945, allocations: 282.8 MB / 0.7914 GB, free: 4.816 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.03277/0.8274, allocations: 27.36 MB / 0.8181 GB, free: 9.367 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002103/0.8295, allocations: 59.62 kB / 0.8182 GB, free: 9.309 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.003733/0.8332, allocations: 1.28 MB / 0.8194 GB, free: 8.023 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.01381/0.8471, allocations: 4.286 MB / 0.8236 GB, free: 3.727 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.005655/0.8528, allocations: 1.893 MB / 0.8255 GB, free: 1.828 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.4819/1.335, allocations: 2.216 MB / 0.8276 GB, free: 4.398 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001483/1.336, allocations: 0.6287 MB / 0.8282 GB, free: 4.273 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004187/1.34, allocations: 1.367 MB / 0.8296 GB, free: 4.273 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00234/1.343, allocations: 1.05 MB / 0.8306 GB, free: 4.273 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0004564/1.343, allocations: 136.6 kB / 0.8307 GB, free: 4.273 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02021/1.364, allocations: 9.258 MB / 0.8398 GB, free: 4.273 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.001271/1.365, allocations: 493.7 kB / 0.8402 GB, free: 4.273 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.001707/1.367, allocations: 0.8393 MB / 0.8411 GB, free: 4.273 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.01939/1.386, allocations: 5.915 MB / 0.8468 GB, free: 4.145 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 1.075e-05/1.386, allocations: 3 kB / 0.8468 GB, free: 4.145 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.783e-06/1.386, allocations: 0.8438 kB / 0.8468 GB, free: 4.145 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 3.987e-05/1.386, allocations: 0 / 0.8468 GB, free: 4.145 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.009281/1.395, allocations: 2.697 MB / 0.8495 GB, free: 18.92 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.899e-05/1.395, allocations: 10.19 kB / 0.8495 GB, free: 18.92 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002614/1.396, allocations: 184.7 kB / 0.8497 GB, free: 18.88 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004569/1.396, allocations: 176.8 kB / 0.8498 GB, free: 18.79 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00168/1.398, allocations: 0.9386 MB / 0.8507 GB, free: 18.42 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.291e-05/1.398, allocations: 90.17 kB / 0.8508 GB, free: 18.42 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001924/1.398, allocations: 125.5 kB / 0.8509 GB, free: 18.41 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003093/1.401, allocations: 1.778 MB / 0.8527 GB, free: 18.29 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.352e-05/1.401, allocations: 0.9688 kB / 0.8527 GB, free: 18.29 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001308/1.401, allocations: 49.64 kB / 0.8527 GB, free: 18.29 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001484/1.402, allocations: 110.9 kB / 0.8528 GB, free: 18.29 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002689/1.404, allocations: 1.882 MB / 0.8547 GB, free: 18.27 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009981/1.414, allocations: 7.959 MB / 0.8625 GB, free: 13.65 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00144/1.416, allocations: 0.9193 MB / 0.8633 GB, free: 13.52 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009073/1.417, allocations: 0.6855 MB / 0.864 GB, free: 13.51 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001856/1.419, allocations: 2.355 MB / 0.8663 GB, free: 10.88 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.482e-05/1.419, allocations: 43.84 kB / 0.8664 GB, free: 10.84 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=101): time 3.586e-06/1.419, allocations: 0.9688 kB / 0.8664 GB, free: 10.84 MB / 0.6387 GB Notification: Performance of matching and sorting (n=103): time 0.006987/1.426, allocations: 3.833 MB / 0.8701 GB, free: 10.1 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.26e-05/1.426, allocations: 68.2 kB / 0.8702 GB, free: 10.04 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001008/1.427, allocations: 0.7916 MB / 0.8709 GB, free: 9.895 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 8.665e-05/1.427, allocations: 43.58 kB / 0.871 GB, free: 9.863 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003419/1.427, allocations: 0.5982 MB / 0.8716 GB, free: 9.617 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002138/1.427, allocations: 355.9 kB / 0.8719 GB, free: 9.391 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002866/1.428, allocations: 186.6 kB / 0.8721 GB, free: 9.375 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001455/1.428, allocations: 343.4 kB / 0.8724 GB, free: 9.07 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000683/1.429, allocations: 0.4938 MB / 0.8729 GB, free: 9.07 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007762/1.429, allocations: 0.5824 MB / 0.8735 GB, free: 9.035 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.001736/1.431, allocations: 1.228 MB / 0.8747 GB, free: 8.902 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/1.431, allocations: 4.844 kB / 0.8747 GB, free: 8.898 MB / 0.6387 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.002441/1.434, allocations: 1.497 MB / 0.8761 GB, free: 8.789 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.356e-05/1.434, allocations: 6.531 kB / 0.8761 GB, free: 8.789 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.568e-06/1.434, allocations: 0 / 0.8761 GB, free: 8.789 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006015/1.434, allocations: 173.7 kB / 0.8763 GB, free: 8.781 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006805/1.435, allocations: 186.4 kB / 0.8765 GB, free: 8.781 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003094/1.438, allocations: 2.697 MB / 0.8791 GB, free: 7.254 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009432/1.439, allocations: 99.33 kB / 0.8792 GB, free: 7.242 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001564/1.439, allocations: 65.59 kB / 0.8793 GB, free: 7.242 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.0007126/1.44, allocations: 342.8 kB / 0.8796 GB, free: 7.113 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002402/1.44, allocations: 108.4 kB / 0.8797 GB, free: 7.059 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003537/1.444, allocations: 2.135 MB / 0.8818 GB, free: 6.875 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.231e-05/1.444, allocations: 12.19 kB / 0.8818 GB, free: 6.875 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/1.444, allocations: 3.625 kB / 0.8818 GB, free: 6.875 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.282e-05/1.444, allocations: 5.016 kB / 0.8818 GB, free: 6.875 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005262/1.449, allocations: 3.377 MB / 0.8851 GB, free: 6.359 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.492e-06/1.449, allocations: 0 / 0.8851 GB, free: 6.359 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006261/1.45, allocations: 177.1 kB / 0.8853 GB, free: 6.359 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005335/1.45, allocations: 180.3 kB / 0.8854 GB, free: 6.344 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.219e-05/1.45, allocations: 44.11 kB / 0.8855 GB, free: 6.344 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002879/1.453, allocations: 2.693 MB / 0.8881 GB, free: 4.82 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/1.453, allocations: 0.6562 kB / 0.8881 GB, free: 4.82 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003128/1.456, allocations: 2.354 MB / 0.8904 GB, free: 4.559 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003418/1.457, allocations: 177.6 kB / 0.8906 GB, free: 4.406 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001487/1.457, allocations: 21.25 kB / 0.8906 GB, free: 4.402 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006336/1.457, allocations: 97.73 kB / 0.8907 GB, free: 4.398 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001469/1.458, allocations: 86.11 kB / 0.8908 GB, free: 4.398 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001201/1.458, allocations: 65.7 kB / 0.8908 GB, free: 4.395 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0006966/1.458, allocations: 0.5796 MB / 0.8914 GB, free: 4.285 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.132e-06/1.458, allocations: 2.531 kB / 0.8914 GB, free: 4.285 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.003287/1.462, allocations: 0.9345 MB / 0.8923 GB, free: 4.145 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.01007/1.472, allocations: 4.077 MB / 0.8963 GB, free: 3.176 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.004993/1.477, allocations: 1.717 MB / 0.898 GB, free: 3.016 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 6.302e-06/1.477, allocations: 2.656 kB / 0.898 GB, free: 3.016 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.00201/1.479, allocations: 0.9291 MB / 0.8989 GB, free: 2.875 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003158/1.482, allocations: 422.9 kB / 0.8993 GB, free: 2.82 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02883/1.511, allocations: 11.84 MB / 0.9109 GB, free: 13.3 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001358/1.512, allocations: 1.264 MB / 0.9121 GB, free: 12.24 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.002084/1.514, allocations: 0.6023 MB / 0.9127 GB, free: 11.82 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001124/1.516, allocations: 0.5935 MB / 0.9133 GB, free: 11.72 MB / 0.6544 GB Notification: Performance of SimCode: time 1.032e-06/1.516, allocations: 0 / 0.9133 GB, free: 11.72 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08886/1.604, allocations: 48.89 MB / 0.961 GB, free: 12.12 MB / 0.7012 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001959/1.605, allocations: 254.8 kB / 0.9612 GB, free: 11.87 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.623/5.228, allocations: 4 kB / 0.9613 GB, free: 11.87 MB / 0.7012 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ThermofluidStream_ThermofluidStream.Examples.SimpleStream_res.mat --tempDir=temp_ThermofluidStream_ThermofluidStream_Examples_SimpleStream_fmu --startTime=0 --stopTime=100 --timeout=1200 --tolerance=1e-06 ThermofluidStream_ThermofluidStream_Examples_SimpleStream.fmu > 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