Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Sensors_TestTemperature2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Sensors_TestTemperature2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001462/0.001462, allocations: 103.7 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001873/0.001873, allocations: 208.6 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.46/1.46, allocations: 227.4 MB / 246.8 MB, free: 10.64 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2295/0.2295, allocations: 46.11 MB / 344.1 MB, free: 11.62 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001369/0.001369, allocations: 73.41 kB / 417.7 MB, free: 19.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.123/0.1244, allocations: 62.45 MB / 480.1 MB, free: 5.207 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2): time 0.3018/0.4263, allocations: 75.42 MB / 0.5425 GB, free: 0.8164 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03956/0.4659, allocations: 33.51 MB / 0.5753 GB, free: 6.367 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00199/0.4679, allocations: 43.75 kB / 0.5753 GB, free: 6.324 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003032/0.471, allocations: 1.037 MB / 0.5763 GB, free: 5.281 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01467/0.4857, allocations: 5.122 MB / 0.5813 GB, free: 160 kB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02013/0.5058, allocations: 6.34 MB / 0.5875 GB, free: 9.824 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.006591/0.5124, allocations: 5.177 MB / 0.5926 GB, free: 4.637 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002043/0.5145, allocations: 1.323 MB / 0.5938 GB, free: 3.285 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0115/0.526, allocations: 5.297 MB / 0.599 GB, free: 13.93 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00307/0.5291, allocations: 1.596 MB / 0.6006 GB, free: 12.33 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001005/0.5301, allocations: 196 kB / 0.6008 GB, free: 12.14 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01809/0.5482, allocations: 7.091 MB / 0.6077 GB, free: 5.039 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001499/0.5498, allocations: 0.7208 MB / 0.6084 GB, free: 4.316 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002211/0.552, allocations: 1.101 MB / 0.6095 GB, free: 3.211 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01373/0.5657, allocations: 6.665 MB / 0.616 GB, free: 12.53 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.5658, allocations: 0 / 0.616 GB, free: 12.53 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.5658, allocations: 0 / 0.616 GB, free: 12.53 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.000105/0.5659, allocations: 4 kB / 0.616 GB, free: 12.52 MB / 462.1 MB 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.007123/0.573, allocations: 2.81 MB / 0.6187 GB, free: 9.656 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.065e-05/0.5731, allocations: 8.031 kB / 0.6187 GB, free: 9.648 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004491/0.5735, allocations: 269.3 kB / 0.619 GB, free: 9.375 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00628/0.5798, allocations: 0.8104 MB / 0.6198 GB, free: 8.562 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002035/0.5819, allocations: 1.053 MB / 0.6208 GB, free: 7.469 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003755/0.5823, allocations: 457.2 kB / 0.6212 GB, free: 6.961 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003756/0.5827, allocations: 175.9 kB / 0.6214 GB, free: 6.789 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006905/0.5896, allocations: 3.138 MB / 0.6245 GB, free: 3.395 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.636e-05/0.5897, allocations: 11.88 kB / 0.6245 GB, free: 3.383 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002727/0.5899, allocations: 80 kB / 0.6246 GB, free: 3.305 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.295e-05/0.59, allocations: 74.72 kB / 0.6246 GB, free: 3.23 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00683/0.5969, allocations: 2.699 MB / 0.6273 GB, free: 0.5234 MB / 462.1 MB Warning: The model contains alias variables with redundant start and/or conflicting 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.0174/0.6143, allocations: 15.78 MB / 0.6427 GB, free: 15.64 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00428/0.6186, allocations: 1.391 MB / 0.644 GB, free: 14.25 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001343/0.62, allocations: 0.5461 MB / 0.6446 GB, free: 13.7 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001139/0.6211, allocations: 0.6947 MB / 0.6453 GB, free: 12.89 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.355e-05/0.6212, allocations: 51.56 kB / 0.6453 GB, free: 12.83 MB / 494.1 MB Notification: Performance of pre-optimization done (n=101): time 2.756e-06/0.6212, allocations: 0 / 0.6453 GB, free: 12.83 MB / 494.1 MB Notification: Performance of matching and sorting (n=117): time 0.01682/0.638, allocations: 5.211 MB / 0.6504 GB, free: 7.547 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.445e-05/0.6381, allocations: 167.2 kB / 0.6505 GB, free: 7.348 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001858/0.64, allocations: 1.461 MB / 0.652 GB, free: 5.875 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001103/0.6401, allocations: 53.7 kB / 0.652 GB, free: 5.816 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008992/0.641, allocations: 0.9283 MB / 0.6529 GB, free: 4.875 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004699/0.6415, allocations: 430.2 kB / 0.6533 GB, free: 4.449 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008045/0.6424, allocations: 459.9 kB / 0.6538 GB, free: 3.992 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001105/0.6425, allocations: 305.1 kB / 0.6541 GB, free: 3.691 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002494/0.645, allocations: 0.6798 MB / 0.6547 GB, free: 3.008 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00364/0.6486, allocations: 1.93 MB / 0.6566 GB, free: 472 kB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006462/0.6551, allocations: 2.771 MB / 0.6593 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.784e-05/0.6552, allocations: 16 kB / 0.6593 GB, free: 13.08 MB / 0.4981 GB Notification: Performance of matching and sorting (n=293) (initialization): time 0.009539/0.6648, allocations: 2.808 MB / 0.6621 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 6.47e-05/0.6649, allocations: 30.64 kB / 0.6621 GB, free: 10.22 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.426e-05/0.665, allocations: 47.94 kB / 0.6622 GB, free: 10.17 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002348/0.6673, allocations: 435.6 kB / 0.6626 GB, free: 9.738 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003237/0.6706, allocations: 0.5264 MB / 0.6631 GB, free: 9.211 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003489/0.6741, allocations: 2.74 MB / 0.6658 GB, free: 6.367 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003287/0.6774, allocations: 140.1 kB / 0.6659 GB, free: 6.23 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003792/0.6778, allocations: 144 kB / 0.666 GB, free: 6.09 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 193 * Number of states: 0 () * Number of discrete variables: 28 (sink2.medium.phase,source2.medium.phase,sink1.medium.phase,source1.medium.phase,volume2_2.heatTransfer.states[1].phase,volume2_1.heatTransfer.states[1].phase,volume1_2.heatTransfer.states[1].phase,volume1_1.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],volume2_2.inFlow[2],volume2_2.inFlow[1],volume2_1.inFlow[2],volume2_1.inFlow[1],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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(1,7), (1,7), (1,7), (1,7)} Notification: Performance of prepare postOptimizeDAE: time 0.001451/0.6793, allocations: 0.5425 MB / 0.6666 GB, free: 5.543 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006339/0.6799, allocations: 170 kB / 0.6667 GB, free: 5.375 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01252/0.6925, allocations: 4.973 MB / 0.6716 GB, free: 336 kB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.923e-05/0.6926, allocations: 47.94 kB / 0.6716 GB, free: 288 kB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.313e-05/0.6926, allocations: 0 / 0.6716 GB, free: 288 kB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.866e-05/0.6926, allocations: 12 kB / 0.6716 GB, free: 276 kB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01775/0.7104, allocations: 7.115 MB / 0.6786 GB, free: 9.012 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.526e-05/0.7105, allocations: 4.312 kB / 0.6786 GB, free: 9.008 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001871/0.7124, allocations: 259.6 kB / 0.6788 GB, free: 8.754 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002466/0.7149, allocations: 443 kB / 0.6793 GB, free: 8.309 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001664/0.7151, allocations: 32 kB / 0.6793 GB, free: 8.277 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003681/0.7188, allocations: 2.779 MB / 0.682 GB, free: 5.395 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.451e-05/0.7188, allocations: 15.92 kB / 0.682 GB, free: 5.379 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00852/0.7274, allocations: 4.072 MB / 0.686 GB, free: 1.199 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008211/0.7282, allocations: 421.8 kB / 0.6864 GB, free: 0.7656 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004957/0.7287, allocations: 67.38 kB / 0.6865 GB, free: 0.6992 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001254/0.73, allocations: 83.91 kB / 0.6865 GB, free: 0.6172 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002231/0.7302, allocations: 112.8 kB / 0.6867 GB, free: 0.5078 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001082/0.7303, allocations: 43.98 kB / 0.6867 GB, free: 476 kB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.002051/0.7324, allocations: 1.232 MB / 0.6879 GB, free: 15.21 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7324, allocations: 0 / 0.6879 GB, free: 15.21 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.005345/0.7378, allocations: 1.413 MB / 0.6893 GB, free: 13.8 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 4 (volume1_1.medium.h,volume1_2.medium.h,volume2_1.medium.h,volume2_2.medium.h) * Number of discrete variables: 32 ($cse3.phase,$cse3.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse10.phase,$cse10.region,$cse13.phase,$cse13.region,$cse15.phase,$cse15.region,$cse16.phase,$cse16.region,$cse17.phase,$cse17.region,$cse19.phase,$cse19.region,$cse20.phase,$cse20.region,volume1_1.heatTransfer.states[1].phase,source1.medium.phase,volume1_2.heatTransfer.states[1].phase,sink1.medium.phase,volume2_1.heatTransfer.states[1].phase,source2.medium.phase,volume2_2.heatTransfer.states[1].phase,sink2.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (103): * Single equations (assignments): 87 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(2,5), (2,5), (2,5), (2,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0123/0.7501, allocations: 5.928 MB / 0.6951 GB, free: 7.766 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.006896/0.757, allocations: 2.508 MB / 0.6975 GB, free: 5.258 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.178e-05/0.757, allocations: 448 / 0.6975 GB, free: 5.254 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.002662/0.7597, allocations: 1.355 MB / 0.6988 GB, free: 3.898 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005996/0.7658, allocations: 0.9305 MB / 0.6998 GB, free: 2.992 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2559/1.022, allocations: 21.26 MB / 0.7205 GB, free: 200.6 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0016/1.023, allocations: 1.645 MB / 0.7221 GB, free: 199.9 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.002722/1.026, allocations: 0.9684 MB / 0.7231 GB, free: 199.9 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009643/1.027, allocations: 0.9214 MB / 0.724 GB, free: 199.7 MB / 0.545 GB Notification: Performance of SimCode: time 6.82e-07/1.027, allocations: 0 / 0.724 GB, free: 199.7 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1243/1.151, allocations: 89.17 MB / 0.811 GB, free: 127.9 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.92/16.07, allocations: 3.859 kB / 0.811 GB, free: 127.9 MB / 0.545 GB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2_res.csv --start-time 0 --stop-time 15 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.006 ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Sensors_TestTemperature2.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Sensors/TestTemperature2/TestTemperature2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches