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/package.mo", uses=false) Using package ThermofluidStream with version 1.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0/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.00768/0.00768, allocations: 98.88 kB / 15.73 MB, free: 6.008 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.001663/0.001663, allocations: 190 kB / 16.67 MB, free: 5.926 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.922/1.922, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0/package.mo): time 0.8519/0.8519, allocations: 89.46 MB / 380 MB, free: 8.629 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002517/0.002517, allocations: 71.88 kB / 0.5139 GB, free: 7.168 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3893/0.3919, allocations: 67.3 MB / 0.5796 GB, free: 15.25 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Examples.SimpleStream): time 0.7214/1.113, allocations: 284.4 MB / 0.8573 GB, free: 15.14 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.03742/1.151, allocations: 27.28 MB / 0.884 GB, free: 5.184 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002309/1.153, allocations: 23.88 kB / 0.884 GB, free: 5.16 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.005198/1.158, allocations: 1.376 MB / 0.8853 GB, free: 3.777 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.01573/1.174, allocations: 4.618 MB / 0.8898 GB, free: 15.14 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.006375/1.181, allocations: 2.043 MB / 0.8918 GB, free: 13.09 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.004309/1.185, allocations: 2.108 MB / 0.8939 GB, free: 10.98 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009805/1.186, allocations: 0.6073 MB / 0.8945 GB, free: 10.36 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003076/1.189, allocations: 1.289 MB / 0.8957 GB, free: 9.062 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001367/1.191, allocations: 0.969 MB / 0.8967 GB, free: 8.09 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0002048/1.191, allocations: 140 kB / 0.8968 GB, free: 7.953 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01884/1.21, allocations: 8.902 MB / 0.9055 GB, free: 15.04 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0009127/1.211, allocations: 486.5 kB / 0.906 GB, free: 14.56 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.00131/1.212, allocations: 0.7971 MB / 0.9068 GB, free: 13.76 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.01699/1.229, allocations: 5.426 MB / 0.9121 GB, free: 8.316 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 1.118e-05/1.229, allocations: 4 kB / 0.9121 GB, free: 8.312 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.963e-06/1.229, allocations: 0 / 0.9121 GB, free: 8.312 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 2.867e-05/1.229, allocations: 0 / 0.9121 GB, free: 8.312 MB / 0.6544 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.006447/1.235, allocations: 2.638 MB / 0.9146 GB, free: 5.613 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.29e-05/1.236, allocations: 8.031 kB / 0.9146 GB, free: 5.605 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002161/1.236, allocations: 189.8 kB / 0.9148 GB, free: 5.41 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003431/1.236, allocations: 167 kB / 0.915 GB, free: 5.246 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001236/1.237, allocations: 0.7796 MB / 0.9157 GB, free: 4.422 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.713e-05/1.237, allocations: 90.33 kB / 0.9158 GB, free: 4.332 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001792/1.238, allocations: 119.9 kB / 0.9159 GB, free: 4.215 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002664/1.24, allocations: 1.77 MB / 0.9177 GB, free: 2.406 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.338e-05/1.24, allocations: 0 / 0.9177 GB, free: 2.406 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001086/1.24, allocations: 55.92 kB / 0.9177 GB, free: 2.352 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001598/1.241, allocations: 114.3 kB / 0.9178 GB, free: 2.238 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002992/1.244, allocations: 1.88 MB / 0.9197 GB, free: 356 kB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01227/1.256, allocations: 7.95 MB / 0.9274 GB, free: 7.555 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001914/1.258, allocations: 0.9074 MB / 0.9283 GB, free: 6.617 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001137/1.259, allocations: 0.6895 MB / 0.929 GB, free: 5.926 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002916/1.262, allocations: 2.347 MB / 0.9313 GB, free: 3.059 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.31e-05/1.262, allocations: 43.56 kB / 0.9313 GB, free: 3.008 MB / 0.67 GB Notification: Performance of pre-optimization done (n=101): time 7.073e-06/1.262, allocations: 3.938 kB / 0.9313 GB, free: 3.004 MB / 0.67 GB Notification: Performance of matching and sorting (n=103): time 0.009898/1.272, allocations: 3.815 MB / 0.9351 GB, free: 15.1 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.686e-05/1.272, allocations: 60.41 kB / 0.9351 GB, free: 15.03 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001249/1.273, allocations: 0.6687 MB / 0.9358 GB, free: 14.35 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0001059/1.274, allocations: 41.7 kB / 0.9358 GB, free: 14.3 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005913/1.274, allocations: 0.5438 MB / 0.9363 GB, free: 13.75 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004077/1.275, allocations: 368.7 kB / 0.9367 GB, free: 13.39 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003943/1.275, allocations: 190.6 kB / 0.9369 GB, free: 13.2 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0002172/1.275, allocations: 337.9 kB / 0.9372 GB, free: 12.87 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008708/1.276, allocations: 0.5017 MB / 0.9377 GB, free: 12.37 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001018/1.277, allocations: 0.5841 MB / 0.9383 GB, free: 11.77 MB / 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.002261/1.279, allocations: 1.231 MB / 0.9395 GB, free: 10.51 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.894e-06/1.279, allocations: 4 kB / 0.9395 GB, free: 10.51 MB / 0.6856 GB Notification: Performance of matching and sorting (n=112) (initialization): time 0.002992/1.282, allocations: 1.482 MB / 0.9409 GB, free: 9.012 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 3.197e-05/1.282, allocations: 7.938 kB / 0.9409 GB, free: 9.004 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.502e-05/1.282, allocations: 0 / 0.9409 GB, free: 9.004 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007164/1.283, allocations: 180.6 kB / 0.9411 GB, free: 8.824 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007162/1.284, allocations: 195.6 kB / 0.9413 GB, free: 8.633 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003781/1.288, allocations: 2.7 MB / 0.9439 GB, free: 5.797 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008226/1.289, allocations: 28.05 kB / 0.9439 GB, free: 5.77 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002047/1.289, allocations: 67.97 kB / 0.944 GB, free: 5.703 MB / 0.6856 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.0007365/1.29, allocations: 335.9 kB / 0.9443 GB, free: 5.367 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000301/1.29, allocations: 95.39 kB / 0.9444 GB, free: 5.273 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003851/1.294, allocations: 2.118 MB / 0.9465 GB, free: 3.137 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.457e-05/1.294, allocations: 8 kB / 0.9465 GB, free: 3.129 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.314e-06/1.294, allocations: 4 kB / 0.9465 GB, free: 3.125 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.252e-05/1.294, allocations: 3.984 kB / 0.9465 GB, free: 3.121 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005733/1.3, allocations: 3.315 MB / 0.9497 GB, free: 15.71 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.482e-06/1.3, allocations: 0 / 0.9497 GB, free: 15.71 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006792/1.3, allocations: 179.8 kB / 0.9499 GB, free: 15.53 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006149/1.301, allocations: 188.7 kB / 0.9501 GB, free: 15.34 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001094/1.301, allocations: 47.88 kB / 0.9501 GB, free: 15.3 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003525/1.305, allocations: 2.693 MB / 0.9528 GB, free: 12.47 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.8e-06/1.305, allocations: 7.969 kB / 0.9528 GB, free: 12.46 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004045/1.309, allocations: 2.328 MB / 0.955 GB, free: 10.11 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003864/1.309, allocations: 180.3 kB / 0.9552 GB, free: 9.918 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002272/1.309, allocations: 20 kB / 0.9552 GB, free: 9.898 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00054/1.31, allocations: 23.98 kB / 0.9553 GB, free: 9.875 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002019/1.31, allocations: 92.81 kB / 0.9553 GB, free: 9.785 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001643/1.31, allocations: 63.95 kB / 0.9554 GB, free: 9.723 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0008061/1.311, allocations: 0.499 MB / 0.9559 GB, free: 9.227 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.5e-07/1.311, allocations: 0 / 0.9559 GB, free: 9.227 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.00294/1.314, allocations: 0.9389 MB / 0.9568 GB, free: 8.285 MB / 0.7012 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.009249/1.323, allocations: 4.086 MB / 0.9608 GB, free: 4.168 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.003257/1.327, allocations: 1.522 MB / 0.9623 GB, free: 2.633 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 9.909e-06/1.327, allocations: 4 kB / 0.9623 GB, free: 2.629 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.001771/1.328, allocations: 0.9259 MB / 0.9632 GB, free: 1.691 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002367/1.331, allocations: 412.6 kB / 0.9636 GB, free: 1.305 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01914/1.35, allocations: 9.958 MB / 0.9733 GB, free: 7.184 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001255/1.351, allocations: 1.217 MB / 0.9745 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001613/1.353, allocations: 0.5871 MB / 0.9751 GB, free: 5.344 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009469/1.354, allocations: 0.5305 MB / 0.9756 GB, free: 4.812 MB / 0.7169 GB Notification: Performance of SimCode: time 1.653e-06/1.354, allocations: 0 / 0.9756 GB, free: 4.812 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09668/1.451, allocations: 47.66 MB / 1.022 GB, free: 5.41 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 31.22/32.67, allocations: 7.938 kB / 1.022 GB, free: 5.402 MB / 0.7637 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