Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2.conf.json 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 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) 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) Running command: translateModel(ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Tmix1_1.T|Tmix1_2.T|Tmix2.T|Tdiff|volume1_1.medium.h|volume1_2.medium.h|volume2_1.medium.h|volume2_2.medium.h",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2") translateModel(ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Tmix1_1.T|Tmix1_2.T|Tmix2.T|Tdiff|volume1_1.medium.h|volume1_2.medium.h|volume2_1.medium.h|volume2_2.medium.h",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001318/0.001318, allocations: 168.1 kB / 8.738 MB, free: 348 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.452/1.452, allocations: 221.5 MB / 230.7 MB, free: 7.578 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009453/0.0009453, allocations: 99.12 kB / 281.6 MB, free: 5.328 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1962/0.1962, allocations: 44.15 MB / 376.5 MB, free: 3.043 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.557e-05/1.569e-05, allocations: 4.219 kB / 444.6 MB, free: 15.23 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1279/0.1279, allocations: 61.91 MB / 0.4947 GB, free: 1.25 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.937/7.065, allocations: 2.77 GB / 3.265 GB, free: 151.8 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002692/7.065, allocations: 84.81 kB / 3.265 GB, free: 151.8 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 3.111/10.18, allocations: 0.8082 GB / 4.073 GB, free: 0.6953 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.433e-06/10.18, allocations: 0 / 4.073 GB, free: 0.6953 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.0002291/10.18, allocations: 51.84 kB / 4.073 GB, free: 0.6484 MB / 0.5417 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 441 * Number of variables: 441 Notification: Performance of Generate backend data structure: time 0.4563/10.63, allocations: 2.956 MB / 4.076 GB, free: 43 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 7.692e-05/10.63, allocations: 12.56 kB / 4.076 GB, free: 43 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008362/10.64, allocations: 0.8493 MB / 4.077 GB, free: 42.91 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004087/10.65, allocations: 1.107 MB / 4.078 GB, free: 42.65 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004886/10.65, allocations: 399.1 kB / 4.078 GB, free: 42.33 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005083/10.65, allocations: 99.78 kB / 4.078 GB, free: 42.33 MB / 0.5417 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004732/10.65, allocations: 1.862 MB / 4.08 GB, free: 42.32 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004337/10.66, allocations: 2.378 MB / 4.082 GB, free: 41.57 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.037e-05/10.66, allocations: 20.5 kB / 4.082 GB, free: 41.57 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000233/10.66, allocations: 9.281 kB / 4.082 GB, free: 41.57 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001027/10.66, allocations: 85.45 kB / 4.083 GB, free: 41.56 MB / 0.5417 GB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01876/10.67, allocations: 16.14 MB / 4.098 GB, free: 30.05 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001543/10.68, allocations: 0.7213 MB / 4.099 GB, free: 30.02 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006577/10.68, allocations: 387.6 kB / 4.099 GB, free: 30 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001143/10.68, allocations: 0.6875 MB / 4.1 GB, free: 29.44 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.782e-05/10.68, allocations: 50.2 kB / 4.1 GB, free: 29.4 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=95): time 3.707e-06/10.68, allocations: 0 / 4.1 GB, free: 29.4 MB / 0.5417 GB Notification: Performance of matching and sorting (n=111): time 0.01198/10.69, allocations: 3.484 MB / 4.103 GB, free: 28.73 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.588e-05/10.69, allocations: 168.2 kB / 4.104 GB, free: 28.54 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001996/10.69, allocations: 0.9736 MB / 4.105 GB, free: 28.35 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0001618/10.69, allocations: 31.27 kB / 4.105 GB, free: 28.32 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007188/10.69, allocations: 0.9713 MB / 4.106 GB, free: 27.75 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003499/10.69, allocations: 389.6 kB / 4.106 GB, free: 27.51 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.599e-05/10.69, allocations: 1 kB / 4.106 GB, free: 27.51 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0002098/10.69, allocations: 456.5 kB / 4.106 GB, free: 27.19 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008944/10.69, allocations: 0.5128 MB / 4.107 GB, free: 27.18 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001661/10.7, allocations: 1.727 MB / 4.109 GB, free: 25.62 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001823/10.7, allocations: 0.8815 MB / 4.109 GB, free: 25.61 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.177e-05/10.7, allocations: 9.938 kB / 4.109 GB, free: 25.61 MB / 0.5417 GB Notification: Performance of matching and sorting (n=293) (initialization): time 0.004426/10.7, allocations: 2.289 MB / 4.112 GB, free: 25.45 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 4.254e-05/10.7, allocations: 22.16 kB / 4.112 GB, free: 25.45 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.231e-05/10.7, allocations: 43.94 kB / 4.112 GB, free: 25.45 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001057/10.7, allocations: 427.9 kB / 4.112 GB, free: 25.41 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001586/10.71, allocations: 0.5199 MB / 4.113 GB, free: 25.41 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002188/10.71, allocations: 2.792 MB / 4.115 GB, free: 23.33 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002911/10.71, allocations: 197.5 kB / 4.116 GB, free: 23.32 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002417/10.71, allocations: 136.9 kB / 4.116 GB, free: 23.32 MB / 0.5417 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: volume2_1.mb_flow:VARIABLE(unit = "kg/s" ) "Mass flows across boundaries" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: volume2_2.mb_flow:VARIABLE(unit = "kg/s" ) "Mass flows across boundaries" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: volume1_1.mb_flow:VARIABLE(unit = "kg/s" ) "Mass flows across boundaries" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: volume1_2.mb_flow:VARIABLE(unit = "kg/s" ) "Mass flows across boundaries" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 193 * Number of states: 0 () * Number of discrete variables: 28 (source2.medium.phase,source1.medium.phase,volume1_1.heatTransfer.states[1].phase,volume1_2.heatTransfer.states[1].phase,volume2_1.heatTransfer.states[1].phase,volume2_2.heatTransfer.states[1].phase,volume1_1.regularFlow[1],volume1_1.regularFlow[2],volume1_1.regularFlow[3],volume1_2.regularFlow[1],volume1_2.regularFlow[2],volume1_2.regularFlow[3],volume2_1.regularFlow[1],volume2_1.regularFlow[2],volume2_2.regularFlow[1],volume2_2.regularFlow[2],sink2.medium.phase,volume2_2.inFlow[2],volume2_2.inFlow[1],volume2_1.inFlow[2],volume2_1.inFlow[1],sink1.medium.phase,volume1_2.inFlow[3],volume1_2.inFlow[2],volume1_2.inFlow[1],volume1_1.inFlow[3],volume1_1.inFlow[2],volume1_1.inFlow[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (265): * Single equations (assignments): 261 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {2 6,2 6,2 6,2 6} Notification: Performance of prepare postOptimizeDAE: time 0.0005799/10.71, allocations: 240.3 kB / 4.116 GB, free: 23.18 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002794/10.71, allocations: 152.1 kB / 4.116 GB, free: 23.11 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005979/10.72, allocations: 4.197 MB / 4.12 GB, free: 22.6 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.58e-05/10.72, allocations: 40.67 kB / 4.12 GB, free: 22.6 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.032e-05/10.72, allocations: 0 / 4.12 GB, free: 22.6 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.518e-05/10.72, allocations: 7.031 kB / 4.12 GB, free: 22.6 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009904/10.73, allocations: 6.138 MB / 4.126 GB, free: 21.97 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.307e-06/10.73, allocations: 6.594 kB / 4.126 GB, free: 21.97 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008063/10.73, allocations: 236 kB / 4.126 GB, free: 21.97 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001017/10.73, allocations: 410 kB / 4.127 GB, free: 21.94 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.261e-05/10.73, allocations: 19.53 kB / 4.127 GB, free: 21.94 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001926/10.73, allocations: 2.887 MB / 4.13 GB, free: 19.85 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.074e-06/10.73, allocations: 7 kB / 4.13 GB, free: 19.85 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004583/10.74, allocations: 3.618 MB / 4.133 GB, free: 19.03 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001294/10.74, allocations: 0.5188 MB / 4.134 GB, free: 18.77 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002258/10.74, allocations: 14.39 kB / 4.134 GB, free: 18.77 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001106/10.74, allocations: 118.1 kB / 4.134 GB, free: 18.77 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002004/10.74, allocations: 102.6 kB / 4.134 GB, free: 18.76 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.086e-05/10.74, allocations: 48.66 kB / 4.134 GB, free: 18.76 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.001318/10.74, allocations: 0.9394 MB / 4.135 GB, free: 18.65 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.6e-07/10.74, allocations: 0 / 4.135 GB, free: 18.65 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0101/10.75, allocations: 1.397 MB / 4.136 GB, free: 18.59 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 4 (volume1_1.medium.h,volume1_2.medium.h,volume2_1.medium.h,volume2_2.medium.h) * Number of discrete variables: 26 ($cse3.phase,$cse3.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse12.phase,$cse12.region,$cse14.phase,$cse14.region,$cse15.phase,$cse15.region,$cse16.phase,$cse16.region,$cse18.phase,$cse18.region,volume1_1.heatTransfer.states[1].phase,source1.medium.phase,volume1_2.heatTransfer.states[1].phase,volume2_1.heatTransfer.states[1].phase,source2.medium.phase,volume2_2.heatTransfer.states[1].phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (95): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {2 5,2 5,2 5,2 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.01197/10.76, allocations: 2.247 MB / 4.138 GB, free: 18.33 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.004399/10.77, allocations: 1.839 MB / 4.14 GB, free: 18.29 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.456e-05/10.77, allocations: 3.938 kB / 4.14 GB, free: 18.29 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.001949/10.77, allocations: 1.121 MB / 4.141 GB, free: 18.28 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003894/10.77, allocations: 0.5754 MB / 4.142 GB, free: 18.27 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00607/10.78, allocations: 3.456 MB / 4.145 GB, free: 17.42 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009965/10.78, allocations: 1.66 MB / 4.147 GB, free: 16.68 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.002335/10.78, allocations: 1.029 MB / 4.148 GB, free: 16.66 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002673/10.78, allocations: 126.2 kB / 4.148 GB, free: 16.66 MB / 0.5417 GB Notification: Performance of SimCode: time 2.786e-06/10.78, allocations: 0 / 4.148 GB, free: 16.66 MB / 0.5417 GB Notification: Performance of Templates: time 0.07823/10.86, allocations: 50.54 MB / 4.197 GB, free: 14.17 MB / 0.5417 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Sensors/TestTemperature2/TestTemperature2.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches