Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_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_dev_ThermofluidStream_Examples_SimpleStream",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Examples.SimpleStream,fileNamePrefix="ThermofluidStream_dev_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.00142/0.001419, 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.001677/0.001677, allocations: 192.6 kB / 16.53 MB, free: 6.664 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.473/1.473, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.7656/0.7656, allocations: 93.72 MB / 384.1 MB, free: 6.973 MB / 318.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.002278/0.002278, allocations: 82 kB / 463.5 MB, free: 21.96 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1403/0.1426, allocations: 68.27 MB / 0.5193 GB, free: 6.914 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Examples.SimpleStream): time 0.6095/0.7521, allocations: 284.6 MB / 0.7972 GB, free: 13.86 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.03331/0.7854, allocations: 27.34 MB / 0.8239 GB, free: 2.422 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001251/0.7867, allocations: 47.69 kB / 0.824 GB, free: 2.375 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.003366/0.7901, allocations: 1.388 MB / 0.8253 GB, free: 0.9805 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.4053/1.195, allocations: 4.677 MB / 0.8299 GB, free: 1.898 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.006765/1.202, allocations: 2.035 MB / 0.8319 GB, free: 1.898 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.004144/1.206, allocations: 2.244 MB / 0.8341 GB, free: 1.898 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001042/1.207, allocations: 0.6362 MB / 0.8347 GB, free: 1.75 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003721/1.211, allocations: 1.361 MB / 0.836 GB, free: 1.746 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001306/1.213, allocations: 0.9877 MB / 0.837 GB, free: 1.746 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0002421/1.213, allocations: 135.5 kB / 0.8371 GB, free: 1.746 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02141/1.234, allocations: 8.859 MB / 0.8458 GB, free: 1.746 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.001009/1.235, allocations: 494 kB / 0.8462 GB, free: 1.746 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.00153/1.237, allocations: 0.8372 MB / 0.847 GB, free: 1.746 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.01626/1.253, allocations: 5.482 MB / 0.8524 GB, free: 1.566 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 6.151e-06/1.253, allocations: 0.6875 kB / 0.8524 GB, free: 1.566 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.733e-06/1.253, allocations: 1.094 kB / 0.8524 GB, free: 1.566 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 3.41e-05/1.253, allocations: 0 / 0.8524 GB, free: 1.566 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.006921/1.26, allocations: 2.704 MB / 0.855 GB, free: 16.24 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.452e-05/1.26, allocations: 10.81 kB / 0.8551 GB, free: 16.24 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002287/1.26, allocations: 189.7 kB / 0.8552 GB, free: 16.2 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003926/1.261, allocations: 175.8 kB / 0.8554 GB, free: 16.11 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00148/1.262, allocations: 0.946 MB / 0.8563 GB, free: 15.75 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.054e-05/1.262, allocations: 89.34 kB / 0.8564 GB, free: 15.74 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001753/1.263, allocations: 118.7 kB / 0.8565 GB, free: 15.74 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002437/1.265, allocations: 1.777 MB / 0.8583 GB, free: 15.62 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.095e-05/1.265, allocations: 2.719 kB / 0.8583 GB, free: 15.62 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001017/1.265, allocations: 46.38 kB / 0.8583 GB, free: 15.62 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001279/1.265, allocations: 110.1 kB / 0.8584 GB, free: 15.62 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002373/1.268, allocations: 1.882 MB / 0.8603 GB, free: 15.61 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01022/1.278, allocations: 8.023 MB / 0.8681 GB, free: 10.96 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001568/1.279, allocations: 0.9149 MB / 0.869 GB, free: 10.84 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009296/1.28, allocations: 0.6841 MB / 0.8696 GB, free: 10.83 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002328/1.283, allocations: 2.355 MB / 0.8719 GB, free: 8.207 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.546e-05/1.283, allocations: 45.34 kB / 0.872 GB, free: 8.168 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=101): time 4.509e-06/1.283, allocations: 0.7812 kB / 0.872 GB, free: 8.168 MB / 0.6387 GB Notification: Performance of matching and sorting (n=103): time 0.00715/1.29, allocations: 3.838 MB / 0.8757 GB, free: 7.418 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.995e-05/1.29, allocations: 66.52 kB / 0.8758 GB, free: 7.355 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001677/1.292, allocations: 0.8099 MB / 0.8766 GB, free: 7.207 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0001335/1.292, allocations: 40.33 kB / 0.8766 GB, free: 7.176 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005953/1.293, allocations: 0.6087 MB / 0.8772 GB, free: 6.93 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004765/1.293, allocations: 351.4 kB / 0.8776 GB, free: 6.703 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004176/1.294, allocations: 185.8 kB / 0.8777 GB, free: 6.688 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0002666/1.294, allocations: 343.6 kB / 0.8781 GB, free: 6.383 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009444/1.295, allocations: 0.4964 MB / 0.8786 GB, free: 6.383 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001158/1.296, allocations: 0.5788 MB / 0.8791 GB, free: 6.348 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.002268/1.298, allocations: 1.231 MB / 0.8803 GB, free: 6.215 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-05/1.298, allocations: 7.281 kB / 0.8803 GB, free: 6.211 MB / 0.6387 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.002612/1.301, allocations: 1.497 MB / 0.8818 GB, free: 6.094 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.648e-05/1.301, allocations: 5.688 kB / 0.8818 GB, free: 6.094 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.068e-05/1.301, allocations: 0.875 kB / 0.8818 GB, free: 6.094 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005945/1.301, allocations: 169.7 kB / 0.882 GB, free: 6.086 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006336/1.302, allocations: 190.3 kB / 0.8821 GB, free: 6.086 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003165/1.305, allocations: 2.696 MB / 0.8848 GB, free: 4.559 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006297/1.306, allocations: 23.97 kB / 0.8848 GB, free: 4.559 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001448/1.306, allocations: 68.31 kB / 0.8849 GB, free: 4.559 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.0007339/1.307, allocations: 344.3 kB / 0.8852 GB, free: 4.434 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002523/1.307, allocations: 111.3 kB / 0.8853 GB, free: 4.375 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003369/1.31, allocations: 2.132 MB / 0.8874 GB, free: 4.199 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.388e-05/1.311, allocations: 10.78 kB / 0.8874 GB, free: 4.199 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.003e-06/1.311, allocations: 5.094 kB / 0.8874 GB, free: 4.199 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.148e-05/1.311, allocations: 6.516 kB / 0.8874 GB, free: 4.199 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005043/1.316, allocations: 3.378 MB / 0.8907 GB, free: 3.68 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.611e-06/1.316, allocations: 1.062 kB / 0.8907 GB, free: 3.68 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005924/1.316, allocations: 178.3 kB / 0.8909 GB, free: 3.68 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005256/1.317, allocations: 179.5 kB / 0.891 GB, free: 3.668 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.679e-05/1.317, allocations: 40.47 kB / 0.8911 GB, free: 3.668 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003007/1.32, allocations: 2.704 MB / 0.8937 GB, free: 2.129 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/1.32, allocations: 0 / 0.8937 GB, free: 2.129 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00333/1.323, allocations: 2.357 MB / 0.896 GB, free: 1.867 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004159/1.324, allocations: 177.7 kB / 0.8962 GB, free: 1.711 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001585/1.324, allocations: 22.97 kB / 0.8962 GB, free: 1.711 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004617/1.324, allocations: 28.89 kB / 0.8962 GB, free: 1.711 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001793/1.324, allocations: 88.95 kB / 0.8963 GB, free: 1.707 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001432/1.325, allocations: 67.67 kB / 0.8964 GB, free: 1.703 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0008333/1.325, allocations: 0.5868 MB / 0.897 GB, free: 1.594 MB / 0.6387 GB Notification: Performance of sort global known variables: time 2.11e-07/1.325, allocations: 0.7812 kB / 0.897 GB, free: 1.594 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.003247/1.329, allocations: 0.9241 MB / 0.8979 GB, free: 1.457 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.007089/1.336, allocations: 4.078 MB / 0.9018 GB, free: 492 kB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.005665/1.342, allocations: 1.772 MB / 0.9036 GB, free: 15.73 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 7.034e-06/1.342, allocations: 0.8438 kB / 0.9036 GB, free: 15.73 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.001596/1.343, allocations: 0.9233 MB / 0.9045 GB, free: 15.18 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00224/1.345, allocations: 426.3 kB / 0.9049 GB, free: 14.95 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01855/1.364, allocations: 11.11 MB / 0.9157 GB, free: 6.598 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001167/1.365, allocations: 1.272 MB / 0.917 GB, free: 5.293 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.001767/1.367, allocations: 0.6103 MB / 0.9176 GB, free: 4.688 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009575/1.368, allocations: 0.5969 MB / 0.9182 GB, free: 4.09 MB / 0.6544 GB Notification: Performance of SimCode: time 1.523e-06/1.368, allocations: 0 / 0.9182 GB, free: 4.09 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1085/1.476, allocations: 49.09 MB / 0.9661 GB, free: 3.414 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.48/12.96, allocations: 4 kB / 0.9661 GB, free: 3.41 MB / 0.7012 GB (rm -f ThermofluidStream_dev_ThermofluidStream.Examples.SimpleStream.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.Examples.SimpleStream.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.Examples.SimpleStream.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.Examples.SimpleStream.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ThermofluidStream_dev_ThermofluidStream.Examples.SimpleStream_res.mat --tempDir=temp_ThermofluidStream_dev_ThermofluidStream_Examples_SimpleStream_fmu --startTime=0 --stopTime=100 --timeout=1200 --tolerance=1e-06 ThermofluidStream_dev_ThermofluidStream_Examples_SimpleStream.fmu > ThermofluidStream_dev_ThermofluidStream.Examples.SimpleStream.pipe 2>&1) diffSimulationResults("ThermofluidStream_dev_ThermofluidStream.Examples.SimpleStream_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Examples.SimpleStream_ref.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_dev_ThermofluidStream.Examples.SimpleStream.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches