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.005333/0.005333, allocations: 101.4 kB / 15.73 MB, free: 6.043 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.00123/0.00123, allocations: 198.9 kB / 16.68 MB, free: 5.961 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.398/1.398, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.8504/0.8504, allocations: 91.18 MB / 381.7 MB, free: 7.496 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001654/0.001654, allocations: 79.89 kB / 0.5163 GB, free: 4.613 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3526/0.3542, allocations: 67.69 MB / 0.5825 GB, free: 13.59 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Examples.SimpleStream): time 0.6911/1.045, allocations: 284.6 MB / 0.8604 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.03759/1.083, allocations: 27.33 MB / 0.8871 GB, free: 0.7852 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002249/1.085, allocations: 47.69 kB / 0.8871 GB, free: 0.7383 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.005146/1.091, allocations: 1.384 MB / 0.8885 GB, free: 15.35 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.01987/1.11, allocations: 4.67 MB / 0.893 GB, free: 10.66 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.009143/1.12, allocations: 2.028 MB / 0.895 GB, free: 8.625 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.005091/1.125, allocations: 2.229 MB / 0.8972 GB, free: 6.387 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001621/1.126, allocations: 0.6344 MB / 0.8978 GB, free: 5.727 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004349/1.131, allocations: 1.37 MB / 0.8991 GB, free: 4.352 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002013/1.133, allocations: 0.9843 MB / 0.9001 GB, free: 3.363 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0004377/1.133, allocations: 136 kB / 0.9002 GB, free: 3.23 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01919/1.152, allocations: 8.894 MB / 0.9089 GB, free: 10.32 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0009333/1.153, allocations: 494.4 kB / 0.9094 GB, free: 9.836 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.001804/1.155, allocations: 0.8396 MB / 0.9102 GB, free: 8.992 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.01524/1.171, allocations: 5.534 MB / 0.9156 GB, free: 3.445 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 7.394e-06/1.171, allocations: 0 / 0.9156 GB, free: 3.445 MB / 0.6544 GB Notification: Performance of FrontEnd: time 3.196e-06/1.171, allocations: 0 / 0.9156 GB, free: 3.445 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0001018/1.171, allocations: 0 / 0.9156 GB, free: 3.445 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.006695/1.177, allocations: 2.696 MB / 0.9182 GB, free: 0.6914 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.209e-05/1.177, allocations: 8.031 kB / 0.9182 GB, free: 0.6836 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000203/1.178, allocations: 185.8 kB / 0.9184 GB, free: 0.4922 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003207/1.178, allocations: 181.8 kB / 0.9186 GB, free: 316 kB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00174/1.18, allocations: 0.9929 MB / 0.9196 GB, free: 15.27 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.202e-05/1.18, allocations: 90.33 kB / 0.9197 GB, free: 15.18 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002019/1.18, allocations: 127.9 kB / 0.9198 GB, free: 15.05 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002579/1.183, allocations: 1.77 MB / 0.9215 GB, free: 13.25 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.167e-05/1.183, allocations: 3.984 kB / 0.9215 GB, free: 13.24 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001146/1.183, allocations: 47.98 kB / 0.9216 GB, free: 13.2 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001413/1.183, allocations: 110.4 kB / 0.9217 GB, free: 13.09 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002437/1.185, allocations: 1.887 MB / 0.9235 GB, free: 11.19 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008893/1.194, allocations: 7.971 MB / 0.9313 GB, free: 2.375 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0014/1.196, allocations: 0.9137 MB / 0.9322 GB, free: 1.438 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009316/1.197, allocations: 0.687 MB / 0.9328 GB, free: 0.7422 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001446/1.198, allocations: 2.355 MB / 0.9351 GB, free: 13.87 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.566e-05/1.198, allocations: 47.55 kB / 0.9352 GB, free: 13.82 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=101): time 3.156e-06/1.198, allocations: 0 / 0.9352 GB, free: 13.82 MB / 0.6856 GB Notification: Performance of matching and sorting (n=103): time 0.006386/1.205, allocations: 3.828 MB / 0.9389 GB, free: 9.898 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.768e-05/1.205, allocations: 60.41 kB / 0.939 GB, free: 9.828 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000979/1.206, allocations: 0.8043 MB / 0.9398 GB, free: 9 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 8.11e-05/1.206, allocations: 41.7 kB / 0.9398 GB, free: 8.953 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003867/1.206, allocations: 0.5976 MB / 0.9404 GB, free: 8.348 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002528/1.206, allocations: 358.8 kB / 0.9407 GB, free: 7.992 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002832/1.207, allocations: 178.6 kB / 0.9409 GB, free: 7.812 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001347/1.207, allocations: 345.9 kB / 0.9412 GB, free: 7.469 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007206/1.208, allocations: 0.5017 MB / 0.9417 GB, free: 6.965 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008112/1.208, allocations: 0.5763 MB / 0.9423 GB, free: 6.379 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.001718/1.21, allocations: 1.235 MB / 0.9435 GB, free: 5.113 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/1.21, allocations: 0 / 0.9435 GB, free: 5.113 MB / 0.6856 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.002386/1.212, allocations: 1.496 MB / 0.945 GB, free: 3.605 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/1.213, allocations: 4 kB / 0.945 GB, free: 3.602 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.476e-06/1.213, allocations: 3.938 kB / 0.945 GB, free: 3.598 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000549/1.213, allocations: 175.8 kB / 0.9451 GB, free: 3.426 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006589/1.214, allocations: 187.8 kB / 0.9453 GB, free: 3.242 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003196/1.217, allocations: 2.694 MB / 0.9479 GB, free: 416 kB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005664/1.218, allocations: 31.97 kB / 0.948 GB, free: 384 kB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001502/1.218, allocations: 68.03 kB / 0.948 GB, free: 316 kB / 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 (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.0006436/1.218, allocations: 337.5 kB / 0.9484 GB, free: 15.96 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002651/1.219, allocations: 106.7 kB / 0.9485 GB, free: 15.86 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003492/1.222, allocations: 2.114 MB / 0.9505 GB, free: 13.72 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.513e-05/1.222, allocations: 12 kB / 0.9505 GB, free: 13.71 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.985e-06/1.222, allocations: 7.938 kB / 0.9505 GB, free: 13.7 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.443e-05/1.222, allocations: 11.91 kB / 0.9506 GB, free: 13.69 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005093/1.227, allocations: 3.369 MB / 0.9538 GB, free: 10.23 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.781e-06/1.227, allocations: 0 / 0.9538 GB, free: 10.23 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006849/1.228, allocations: 183.8 kB / 0.954 GB, free: 10.05 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000537/1.229, allocations: 171.2 kB / 0.9542 GB, free: 9.887 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.089e-05/1.229, allocations: 43.97 kB / 0.9542 GB, free: 9.844 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002955/1.232, allocations: 2.691 MB / 0.9569 GB, free: 7.023 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.506e-06/1.232, allocations: 4.031 kB / 0.9569 GB, free: 7.02 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00338/1.235, allocations: 2.351 MB / 0.9592 GB, free: 4.641 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002482/1.235, allocations: 183.7 kB / 0.9593 GB, free: 4.441 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001499/1.235, allocations: 19.98 kB / 0.9594 GB, free: 4.422 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004677/1.236, allocations: 23.98 kB / 0.9594 GB, free: 4.398 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001479/1.236, allocations: 92.81 kB / 0.9595 GB, free: 4.309 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001174/1.236, allocations: 59.97 kB / 0.9595 GB, free: 4.25 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0007179/1.237, allocations: 0.5865 MB / 0.9601 GB, free: 3.652 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.6e-07/1.237, allocations: 0 / 0.9601 GB, free: 3.652 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.002285/1.239, allocations: 0.929 MB / 0.961 GB, free: 2.723 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.006369/1.246, allocations: 4.087 MB / 0.965 GB, free: 14.61 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.00248/1.248, allocations: 1.518 MB / 0.9665 GB, free: 13.08 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/1.248, allocations: 0 / 0.9665 GB, free: 13.08 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.001358/1.249, allocations: 0.9376 MB / 0.9674 GB, free: 12.13 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001822/1.251, allocations: 412.8 kB / 0.9678 GB, free: 11.74 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01538/1.267, allocations: 10.49 MB / 0.978 GB, free: 1.094 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008538/1.268, allocations: 1.26 MB / 0.9793 GB, free: 15.8 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001284/1.269, allocations: 0.6105 MB / 0.9799 GB, free: 15.2 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007576/1.27, allocations: 0.593 MB / 0.9804 GB, free: 14.6 MB / 0.7325 GB Notification: Performance of SimCode: time 6.82e-07/1.27, allocations: 0 / 0.9804 GB, free: 14.6 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3599/1.63, allocations: 49.96 MB / 1.029 GB, free: 324.3 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.02/14.65, allocations: 13.31 kB / 1.029 GB, free: 324.3 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