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.001547/0.001547, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001829/0.001829, allocations: 197.4 kB / 16.53 MB, free: 6.699 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.372/1.372, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.9309/0.9309, allocations: 91.21 MB / 381.6 MB, free: 9.402 MB / 318.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.001577/0.001577, allocations: 80.72 kB / 460.4 MB, free: 23.12 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1186/0.1202, allocations: 67.69 MB / 0.5157 GB, free: 10.11 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Examples.SimpleStream): time 0.598/0.7183, allocations: 284.6 MB / 0.7936 GB, free: 2.648 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.03191/0.7502, allocations: 27.32 MB / 0.8203 GB, free: 7.234 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001497/0.7518, allocations: 51.69 kB / 0.8204 GB, free: 7.184 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.003698/0.7555, allocations: 1.388 MB / 0.8217 GB, free: 5.789 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.01313/0.7687, allocations: 4.667 MB / 0.8263 GB, free: 1.105 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.3897/1.158, allocations: 2.028 MB / 0.8283 GB, free: 4.07 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.003769/1.162, allocations: 2.214 MB / 0.8304 GB, free: 4.07 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001047/1.163, allocations: 0.635 MB / 0.831 GB, free: 3.938 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003053/1.166, allocations: 1.346 MB / 0.8324 GB, free: 3.938 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001372/1.168, allocations: 0.9848 MB / 0.8333 GB, free: 3.938 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0002139/1.168, allocations: 135.6 kB / 0.8334 GB, free: 3.938 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01917/1.187, allocations: 8.852 MB / 0.8421 GB, free: 3.938 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.001092/1.188, allocations: 497.7 kB / 0.8426 GB, free: 3.938 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.00163/1.19, allocations: 0.8377 MB / 0.8434 GB, free: 3.938 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.01693/1.207, allocations: 5.472 MB / 0.8487 GB, free: 3.809 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 8.315e-06/1.207, allocations: 3.75 kB / 0.8487 GB, free: 3.809 MB / 0.6231 GB Notification: Performance of FrontEnd: time 2.084e-06/1.207, allocations: 2.719 kB / 0.8487 GB, free: 3.809 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 2.66e-05/1.207, allocations: 1.062 kB / 0.8487 GB, free: 3.809 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.008091/1.215, allocations: 2.696 MB / 0.8514 GB, free: 18.66 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.986e-05/1.215, allocations: 14.62 kB / 0.8514 GB, free: 18.66 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002213/1.215, allocations: 186.1 kB / 0.8516 GB, free: 18.61 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003651/1.216, allocations: 175.4 kB / 0.8517 GB, free: 18.53 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001598/1.217, allocations: 0.9332 MB / 0.8526 GB, free: 18.16 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.41e-05/1.217, allocations: 91.69 kB / 0.8527 GB, free: 18.16 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002028/1.218, allocations: 128.7 kB / 0.8529 GB, free: 18.15 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00291/1.221, allocations: 1.775 MB / 0.8546 GB, free: 18.04 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.091e-05/1.221, allocations: 0 / 0.8546 GB, free: 18.04 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001066/1.221, allocations: 50.77 kB / 0.8546 GB, free: 18.04 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001401/1.221, allocations: 111.2 kB / 0.8547 GB, free: 18.03 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002581/1.223, allocations: 1.879 MB / 0.8566 GB, free: 18.02 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009351/1.233, allocations: 8.015 MB / 0.8644 GB, free: 13.39 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001428/1.234, allocations: 0.9207 MB / 0.8653 GB, free: 13.26 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009188/1.235, allocations: 0.6835 MB / 0.866 GB, free: 13.25 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001709/1.237, allocations: 2.348 MB / 0.8683 GB, free: 10.62 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.263e-05/1.237, allocations: 45.7 kB / 0.8683 GB, free: 10.59 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=101): time 3.887e-06/1.237, allocations: 0 / 0.8683 GB, free: 10.59 MB / 0.6387 GB Notification: Performance of matching and sorting (n=103): time 0.006438/1.243, allocations: 3.839 MB / 0.8721 GB, free: 9.848 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.394e-05/1.243, allocations: 64.81 kB / 0.8721 GB, free: 9.785 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001059/1.245, allocations: 0.7917 MB / 0.8729 GB, free: 9.641 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 7.829e-05/1.245, allocations: 44.67 kB / 0.8729 GB, free: 9.609 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003279/1.245, allocations: 0.5976 MB / 0.8735 GB, free: 9.363 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002187/1.245, allocations: 357.3 kB / 0.8739 GB, free: 9.137 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002842/1.245, allocations: 183 kB / 0.874 GB, free: 9.121 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001205/1.246, allocations: 341.2 kB / 0.8744 GB, free: 8.816 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006935/1.246, allocations: 0.4996 MB / 0.8748 GB, free: 8.816 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008009/1.247, allocations: 0.5762 MB / 0.8754 GB, free: 8.781 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.001769/1.249, allocations: 1.234 MB / 0.8766 GB, free: 8.648 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.118e-06/1.249, allocations: 5.594 kB / 0.8766 GB, free: 8.645 MB / 0.6387 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.002379/1.251, allocations: 1.498 MB / 0.8781 GB, free: 8.531 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.814e-05/1.251, allocations: 6.156 kB / 0.8781 GB, free: 8.531 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.556e-06/1.251, allocations: 1 kB / 0.8781 GB, free: 8.531 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005727/1.252, allocations: 170 kB / 0.8782 GB, free: 8.523 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006668/1.253, allocations: 190.4 kB / 0.8784 GB, free: 8.523 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002957/1.256, allocations: 2.702 MB / 0.8811 GB, free: 6.988 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005535/1.256, allocations: 25.78 kB / 0.8811 GB, free: 6.988 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001534/1.256, allocations: 64.8 kB / 0.8812 GB, free: 6.988 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.000637/1.257, allocations: 345.3 kB / 0.8815 GB, free: 6.859 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002063/1.257, allocations: 110.6 kB / 0.8816 GB, free: 6.801 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003361/1.261, allocations: 2.132 MB / 0.8837 GB, free: 6.625 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.543e-05/1.261, allocations: 11.31 kB / 0.8837 GB, free: 6.625 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.092e-06/1.261, allocations: 6.141 kB / 0.8837 GB, free: 6.625 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.414e-05/1.261, allocations: 6.375 kB / 0.8837 GB, free: 6.625 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005089/1.266, allocations: 3.38 MB / 0.887 GB, free: 6.109 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.52e-06/1.266, allocations: 1.125 kB / 0.887 GB, free: 6.109 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006488/1.266, allocations: 176.4 kB / 0.8872 GB, free: 6.109 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005474/1.267, allocations: 180.4 kB / 0.8873 GB, free: 6.098 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001014/1.267, allocations: 38.83 kB / 0.8874 GB, free: 6.098 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002994/1.27, allocations: 2.693 MB / 0.89 GB, free: 4.57 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.394e-06/1.27, allocations: 2.016 kB / 0.89 GB, free: 4.57 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003436/1.273, allocations: 2.35 MB / 0.8923 GB, free: 4.309 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003328/1.274, allocations: 180.6 kB / 0.8925 GB, free: 4.152 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002471/1.274, allocations: 25.77 kB / 0.8925 GB, free: 4.152 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005382/1.275, allocations: 24.81 kB / 0.8925 GB, free: 4.152 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001489/1.275, allocations: 86.73 kB / 0.8926 GB, free: 4.152 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001394/1.275, allocations: 66.47 kB / 0.8927 GB, free: 4.148 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0008761/1.276, allocations: 0.5812 MB / 0.8932 GB, free: 4.039 MB / 0.6387 GB Notification: Performance of sort global known variables: time 4.81e-07/1.276, allocations: 0 / 0.8932 GB, free: 4.039 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.002909/1.279, allocations: 0.9297 MB / 0.8941 GB, free: 3.902 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.00737/1.286, allocations: 4.081 MB / 0.8981 GB, free: 2.918 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.003371/1.29, allocations: 1.714 MB / 0.8998 GB, free: 2.762 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 4.408e-06/1.29, allocations: 0 / 0.8998 GB, free: 2.762 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001391/1.291, allocations: 0.9301 MB / 0.9007 GB, free: 2.625 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002154/1.293, allocations: 428.7 kB / 0.9011 GB, free: 2.562 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01936/1.312, allocations: 11.28 MB / 0.9121 GB, free: 11.95 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001018/1.314, allocations: 1.266 MB / 0.9134 GB, free: 10.88 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.001465/1.315, allocations: 0.5973 MB / 0.914 GB, free: 10.46 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000832/1.316, allocations: 0.5982 MB / 0.9145 GB, free: 10.36 MB / 0.6544 GB Notification: Performance of SimCode: time 5.61e-07/1.316, allocations: 0 / 0.9145 GB, free: 10.36 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09333/1.409, allocations: 48.98 MB / 0.9624 GB, free: 10.44 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.96/13.37, allocations: 0 / 0.9624 GB, free: 10.44 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