Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.ConvectivePipe.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/package.mo", uses=false) Using package ThermofluidStream with version 0.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ThermofluidStream.Processes.Tests.ConvectivePipe,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|heatCapacitor.T|thermalConvection.inlet.m_flow",fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.ConvectivePipe") translateModel(ThermofluidStream.Processes.Tests.ConvectivePipe,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|heatCapacitor.T|thermalConvection.inlet.m_flow",fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.ConvectivePipe") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001897/0.001897, allocations: 173.4 kB / 15.77 MB, free: 6.328 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.847/1.847, allocations: 205.4 MB / 221.9 MB, free: 13.82 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000787/0.0007868, allocations: 78.38 kB / 270.3 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/package.mo): time 0.9409/0.9409, allocations: 90.6 MB / 409.1 MB, free: 14.98 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003496/0.0003496, allocations: 12 kB / 485.9 MB, free: 2.078 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4832/0.4836, allocations: 66.27 MB / 0.5392 GB, free: 45.56 MB / 426.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.ConvectivePipe): time 0.01485/0.4985, allocations: 15.88 MB / 0.5547 GB, free: 38.57 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.005648/0.5042, allocations: 6.228 MB / 0.5608 GB, free: 34.12 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004621/0.5047, allocations: 11.53 kB / 0.5608 GB, free: 34.12 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005748/0.5052, allocations: 227.5 kB / 0.561 GB, free: 34 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009903/0.5063, allocations: 443.2 kB / 0.5615 GB, free: 33.72 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006865/0.507, allocations: 279.9 kB / 0.5617 GB, free: 33.57 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.000572/0.5075, allocations: 0.717 MB / 0.5624 GB, free: 33.23 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001899/0.5077, allocations: 110.6 kB / 0.5625 GB, free: 33.2 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003594/0.5081, allocations: 236.8 kB / 0.5628 GB, free: 33.11 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002326/0.5083, allocations: 235.4 kB / 0.563 GB, free: 33 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 4.471e-05/0.5084, allocations: 24.38 kB / 0.563 GB, free: 33 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006681/0.5091, allocations: 278 kB / 0.5633 GB, free: 32.93 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 6.063e-05/0.5091, allocations: 73.22 kB / 0.5633 GB, free: 32.88 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 8.183e-05/0.5092, allocations: 118.7 kB / 0.5635 GB, free: 32.81 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000509/0.5097, allocations: 0.4895 MB / 0.5639 GB, free: 32.66 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.5098, allocations: 0 / 0.5639 GB, free: 32.66 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.813e-06/0.5098, allocations: 0.6562 kB / 0.5639 GB, free: 32.66 MB / 426.7 MB Notification: Performance of Transformations before backend: time 9.357e-06/0.5098, allocations: 0 / 0.5639 GB, free: 32.66 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 102 * Number of variables: 102 Notification: Performance of Generate backend data structure: time 0.001255/0.511, allocations: 0.7785 MB / 0.5647 GB, free: 32.07 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.601e-05/0.5111, allocations: 8.25 kB / 0.5647 GB, free: 32.07 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001647/0.5113, allocations: 62.16 kB / 0.5648 GB, free: 32.04 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004308/0.5117, allocations: 348.4 kB / 0.5651 GB, free: 31.74 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.13e-05/0.5118, allocations: 37.09 kB / 0.5651 GB, free: 31.72 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.634e-05/0.5118, allocations: 47.25 kB / 0.5652 GB, free: 31.71 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007244/0.5126, allocations: 450.6 kB / 0.5656 GB, free: 31.5 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.953e-05/0.5126, allocations: 1.531 kB / 0.5656 GB, free: 31.5 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.733e-05/0.5127, allocations: 19.03 kB / 0.5656 GB, free: 31.48 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.814e-05/0.5127, allocations: 12.83 kB / 0.5656 GB, free: 31.48 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007189/0.5134, allocations: 415.3 kB / 0.566 GB, free: 31.34 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002673/0.5161, allocations: 2.057 MB / 0.568 GB, free: 29.7 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009925/0.5171, allocations: 472.8 kB / 0.5685 GB, free: 29.47 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003813/0.5175, allocations: 208.5 kB / 0.5687 GB, free: 29.37 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001582/0.5191, allocations: 1.428 MB / 0.5701 GB, free: 28.04 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.361e-05/0.5191, allocations: 36.11 kB / 0.5701 GB, free: 28 MB / 426.7 MB Notification: Performance of pre-optimization done (n=43): time 1.963e-06/0.5191, allocations: 4.875 kB / 0.5701 GB, free: 27.99 MB / 426.7 MB Notification: Performance of matching and sorting (n=43): time 0.006156/0.5253, allocations: 1.476 MB / 0.5716 GB, free: 27.47 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.794e-05/0.5254, allocations: 82.08 kB / 0.5716 GB, free: 27.38 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003928/0.5258, allocations: 327.6 kB / 0.572 GB, free: 27.2 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.92e-05/0.5258, allocations: 34.8 kB / 0.572 GB, free: 27.16 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001515/0.526, allocations: 235 kB / 0.5722 GB, free: 26.97 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001001/0.5261, allocations: 148.7 kB / 0.5724 GB, free: 26.86 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.096e-05/0.5261, allocations: 10.22 kB / 0.5724 GB, free: 26.85 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001104/0.5262, allocations: 348.2 kB / 0.5727 GB, free: 26.52 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002915/0.5265, allocations: 132.6 kB / 0.5728 GB, free: 26.47 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003028/0.5268, allocations: 204.9 kB / 0.573 GB, free: 26.35 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000289/0.5271, allocations: 154.5 kB / 0.5732 GB, free: 26.28 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/0.5271, allocations: 1.031 kB / 0.5732 GB, free: 26.28 MB / 426.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.002812/0.53, allocations: 0.8076 MB / 0.574 GB, free: 26 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.606e-05/0.53, allocations: 6 kB / 0.574 GB, free: 26 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.267e-05/0.53, allocations: 2 kB / 0.574 GB, free: 26 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002691/0.5327, allocations: 491.1 kB / 0.5744 GB, free: 25.92 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002641/0.533, allocations: 62.31 kB / 0.5745 GB, free: 25.92 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001507/0.5345, allocations: 2.086 MB / 0.5765 GB, free: 23.95 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003234/0.5348, allocations: 55.44 kB / 0.5766 GB, free: 23.91 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.991e-05/0.5349, allocations: 18.45 kB / 0.5766 GB, free: 23.91 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 1 (thermalConvection.turb_flag) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (37): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 1 {1 11} Notification: Performance of prepare postOptimizeDAE: time 0.0001966/0.5351, allocations: 157.3 kB / 0.5768 GB, free: 23.77 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.148e-05/0.5352, allocations: 40.8 kB / 0.5768 GB, free: 23.75 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003189/0.5384, allocations: 0.8364 MB / 0.5776 GB, free: 23.45 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.238e-05/0.5384, allocations: 5.719 kB / 0.5776 GB, free: 23.45 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.5384, allocations: 1.719 kB / 0.5776 GB, free: 23.45 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.067e-05/0.5384, allocations: 2.953 kB / 0.5776 GB, free: 23.45 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003745/0.5422, allocations: 1.394 MB / 0.579 GB, free: 22.75 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.15e-06/0.5422, allocations: 1 kB / 0.579 GB, free: 22.75 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002544/0.5425, allocations: 60.56 kB / 0.579 GB, free: 22.74 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002711/0.5452, allocations: 492.6 kB / 0.5795 GB, free: 22.66 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.622e-05/0.5453, allocations: 13.19 kB / 0.5795 GB, free: 22.66 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001442/0.5467, allocations: 2.112 MB / 0.5816 GB, free: 20.66 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.5467, allocations: 3.938 kB / 0.5816 GB, free: 20.66 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003131/0.5499, allocations: 1.139 MB / 0.5827 GB, free: 20.13 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002039/0.5501, allocations: 155 kB / 0.5828 GB, free: 19.99 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.561e-05/0.5501, allocations: 10.5 kB / 0.5829 GB, free: 19.98 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003623/0.5505, allocations: 33.33 kB / 0.5829 GB, free: 19.96 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.687e-05/0.5506, allocations: 31.39 kB / 0.5829 GB, free: 19.96 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.211e-05/0.5506, allocations: 15.52 kB / 0.5829 GB, free: 19.96 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002418/0.5509, allocations: 228.4 kB / 0.5831 GB, free: 19.83 MB / 426.7 MB Notification: Performance of sort global known variables: time 2e-07/0.5509, allocations: 0 / 0.5831 GB, free: 19.83 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0007536/0.5517, allocations: 198.7 kB / 0.5833 GB, free: 19.77 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (flowResistance.inlet.m_flow,heatCapacitor.T) * 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 (32): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 1 {1 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004654/0.5521, allocations: 292.5 kB / 0.5836 GB, free: 19.62 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001033/0.5532, allocations: 0.5006 MB / 0.5841 GB, free: 19.38 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.5532, allocations: 0 / 0.5841 GB, free: 19.38 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005258/0.5537, allocations: 337.1 kB / 0.5844 GB, free: 19.19 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008847/0.5546, allocations: 128.3 kB / 0.5845 GB, free: 19.15 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001774/0.5564, allocations: 1.273 MB / 0.5858 GB, free: 18.38 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003401/0.5568, allocations: 0.8308 MB / 0.5866 GB, free: 17.68 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001025/0.5569, allocations: 40.64 kB / 0.5866 GB, free: 17.67 MB / 426.7 MB Notification: Performance of SimCode: time 1.262e-06/0.5569, allocations: 0 / 0.5866 GB, free: 17.67 MB / 426.7 MB Notification: Performance of Templates: time 0.01818/0.5751, allocations: 11.36 MB / 0.5977 GB, free: 13.17 MB / 426.7 MB make -j1 -f ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.ConvectivePipe.makefile (rm -f ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.ConvectivePipe.pipe ; mkfifo ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.ConvectivePipe.pipe ; head -c 1048576 < ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.ConvectivePipe.pipe >> ../files/ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.ConvectivePipe.sim & ./ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.ConvectivePipe -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.ConvectivePipe.pipe 2>&1) diffSimulationResults("ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.ConvectivePipe_res.mat","/mnt/ReferenceFiles/ThermofluidStream-OM-regression/ReferenceData/ThermofluidStream.Processes.Tests.ConvectivePipe_ref.mat","../files/ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.ConvectivePipe.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches