Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Processes.Tests.TransportDelay.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: "" <> buildModelFMU(ThermofluidStream.Undirected.Processes.Tests.TransportDelay,fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream_Undirected_Processes_Tests_TransportDelay",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Undirected.Processes.Tests.TransportDelay,fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream_Undirected_Processes_Tests_TransportDelay",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009884/0.0009933, allocations: 180.3 kB / 15.45 MB, free: 6.234 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.11/1.11, allocations: 205 MB / 221.2 MB, free: 1.855 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006954/0.0006954, allocations: 106 kB / 269.2 MB, free: 1.793 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/package.mo): time 0.4603/0.4603, allocations: 90.52 MB / 407.6 MB, free: 15.09 MB / 314.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.0002549/0.000255, allocations: 8.281 kB / 484.3 MB, free: 3.492 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09133/0.0916, allocations: 65.82 MB / 0.5372 GB, free: 1.605 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Processes.Tests.TransportDelay): time 0.3305/0.4221, allocations: 196.9 MB / 0.7295 GB, free: 3.73 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.008837/0.431, allocations: 8.393 MB / 0.7377 GB, free: 11.32 MB / 0.5417 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006595/0.4317, allocations: 11.94 kB / 0.7377 GB, free: 11.3 MB / 0.5417 GB Notification: Performance of NFTyping.typeComponents: time 0.0009261/0.4326, allocations: 354 kB / 0.7381 GB, free: 10.96 MB / 0.5417 GB Notification: Performance of NFTyping.typeBindings: time 0.0034/0.436, allocations: 1.416 MB / 0.7394 GB, free: 9.539 MB / 0.5417 GB Notification: Performance of NFTyping.typeClassSections: time 0.003392/0.4394, allocations: 1.436 MB / 0.7408 GB, free: 8.117 MB / 0.5417 GB Notification: Performance of NFFlatten.flatten: time 0.003343/0.4428, allocations: 2.933 MB / 0.7437 GB, free: 5.176 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002743/0.4431, allocations: 199.8 kB / 0.7439 GB, free: 4.973 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002536/0.4456, allocations: 1.726 MB / 0.7456 GB, free: 3.242 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007733/0.4464, allocations: 0.6499 MB / 0.7462 GB, free: 2.59 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 0.0001131/0.4465, allocations: 32 kB / 0.7463 GB, free: 2.559 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003388/0.4499, allocations: 2.184 MB / 0.7484 GB, free: 380 kB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 0.0001367/0.4501, allocations: 143.2 kB / 0.7485 GB, free: 236 kB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 0.0003733/0.4504, allocations: 401.8 kB / 0.7489 GB, free: 15.84 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.003131/0.4536, allocations: 2.33 MB / 0.7512 GB, free: 13.5 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 2.755e-06/0.4536, allocations: 0 / 0.7512 GB, free: 13.5 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.413e-06/0.4536, allocations: 0 / 0.7512 GB, free: 13.5 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 2.02e-05/0.4536, allocations: 0 / 0.7512 GB, free: 13.5 MB / 0.5573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 154 * Number of variables: 154 Notification: Performance of Generate backend data structure: time 0.002946/0.4566, allocations: 1.486 MB / 0.7526 GB, free: 11.95 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.579e-05/0.4566, allocations: 12.03 kB / 0.7526 GB, free: 11.94 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001337/0.4568, allocations: 106.4 kB / 0.7527 GB, free: 11.82 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009862/0.4578, allocations: 170.8 kB / 0.7529 GB, free: 11.66 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006036/0.4584, allocations: 0.4922 MB / 0.7534 GB, free: 11.12 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.827e-05/0.4585, allocations: 79 kB / 0.7535 GB, free: 11.04 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001152/0.4586, allocations: 60 kB / 0.7535 GB, free: 10.98 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001447/0.46, allocations: 0.8443 MB / 0.7543 GB, free: 10.12 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.134e-05/0.4601, allocations: 7.875 kB / 0.7544 GB, free: 10.11 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.511e-05/0.4601, allocations: 20 kB / 0.7544 GB, free: 10.09 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.587e-05/0.4602, allocations: 19.98 kB / 0.7544 GB, free: 10.07 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001672/0.4618, allocations: 0.7712 MB / 0.7551 GB, free: 9.301 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004112/0.466, allocations: 3.63 MB / 0.7587 GB, free: 5.324 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001722/0.4677, allocations: 0.8111 MB / 0.7595 GB, free: 4.496 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008215/0.4685, allocations: 425.9 kB / 0.7599 GB, free: 4.074 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001747/0.4703, allocations: 1.682 MB / 0.7615 GB, free: 2.133 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001051/0.4713, allocations: 0.5869 MB / 0.7621 GB, free: 1.527 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=76): time 2.795e-06/0.4714, allocations: 4 kB / 0.7621 GB, free: 1.523 MB / 0.5573 GB Notification: Performance of matching and sorting (n=76): time 0.1703/0.6416, allocations: 1.56 MB / 0.7636 GB, free: 197.5 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.502e-05/0.6417, allocations: 87.67 kB / 0.7637 GB, free: 197.4 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005852/0.6423, allocations: 464.6 kB / 0.7642 GB, free: 197.3 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0001669/0.6425, allocations: 42.86 kB / 0.7642 GB, free: 197.3 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002549/0.6427, allocations: 307 kB / 0.7645 GB, free: 197.2 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002881/0.643, allocations: 257.2 kB / 0.7647 GB, free: 197.1 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.644e-05/0.6431, allocations: 14.84 kB / 0.7647 GB, free: 197.1 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001198/0.6432, allocations: 382 kB / 0.7651 GB, free: 196.7 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009587/0.6442, allocations: 361.3 kB / 0.7655 GB, free: 196.7 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001029/0.6452, allocations: 459.5 kB / 0.7659 GB, free: 196.7 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00181/0.6471, allocations: 0.8702 MB / 0.7667 GB, free: 196.5 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.079e-06/0.6471, allocations: 0.9062 kB / 0.7667 GB, free: 196.5 MB / 0.5573 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.002264/0.6493, allocations: 1.149 MB / 0.7679 GB, free: 196.3 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 3.647e-05/0.6494, allocations: 63.77 kB / 0.7679 GB, free: 196.2 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.396e-05/0.6494, allocations: 10.58 kB / 0.7679 GB, free: 196.2 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002839/0.6497, allocations: 85.11 kB / 0.768 GB, free: 196.2 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006408/0.6504, allocations: 202.5 kB / 0.7682 GB, free: 196.2 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001526/0.6519, allocations: 2.84 MB / 0.771 GB, free: 193.4 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006226/0.6525, allocations: 124.1 kB / 0.7711 GB, free: 193.4 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000116/0.6527, allocations: 92.98 kB / 0.7712 GB, free: 193.4 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.trapezoid.T_start,trapezoid.T_start,$PRE.trapezoid.count,trapezoid.count,$whenCondition1,$PRE.trapezoid1.T_start,trapezoid1.T_start,$PRE.trapezoid1.count,trapezoid1.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (80): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 7 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002423/0.6529, allocations: 193.7 kB / 0.7714 GB, free: 193.2 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001166/0.653, allocations: 67.78 kB / 0.7714 GB, free: 193.2 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003142/0.6562, allocations: 1.405 MB / 0.7728 GB, free: 192.8 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.488e-06/0.6562, allocations: 16.73 kB / 0.7728 GB, free: 192.8 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.437e-06/0.6562, allocations: 1.875 kB / 0.7728 GB, free: 192.8 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.015e-05/0.6562, allocations: 5.844 kB / 0.7728 GB, free: 192.8 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003283/0.6595, allocations: 2.156 MB / 0.7749 GB, free: 191.8 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.006e-05/0.6595, allocations: 11.97 kB / 0.775 GB, free: 191.8 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005987/0.6602, allocations: 185.5 kB / 0.7751 GB, free: 191.8 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002215/0.6604, allocations: 83.61 kB / 0.7752 GB, free: 191.8 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.737e-05/0.6605, allocations: 46.89 kB / 0.7753 GB, free: 191.7 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001379/0.6619, allocations: 2.846 MB / 0.778 GB, free: 189 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.764e-06/0.6619, allocations: 1.906 kB / 0.778 GB, free: 189 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003173/0.665, allocations: 1.702 MB / 0.7797 GB, free: 188.3 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002658/0.6653, allocations: 252.8 kB / 0.7799 GB, free: 188.1 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.491e-05/0.6654, allocations: 19.62 kB / 0.78 GB, free: 188.1 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005583/0.666, allocations: 86.31 kB / 0.78 GB, free: 188 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002408/0.6662, allocations: 116.6 kB / 0.7802 GB, free: 188 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001134/0.6664, allocations: 88.77 kB / 0.7802 GB, free: 188 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0002815/0.6667, allocations: 323.4 kB / 0.7805 GB, free: 187.9 MB / 0.5573 GB Notification: Performance of sort global known variables: time 2.2e-07/0.6667, allocations: 0 / 0.7805 GB, free: 187.9 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.001152/0.6678, allocations: 0.5631 MB / 0.7811 GB, free: 187.8 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (transportDelay1.x,flowResistance1.rear.m_flow,transportDelay.x,flowResistance.inlet.m_flow) * Number of discrete variables: 6 ($whenCondition1,trapezoid1.T_start,trapezoid1.count,$whenCondition2,trapezoid.T_start,trapezoid.count) * Number of discrete states: 2 (trapezoid.count,trapezoid1.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (72): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 7 * When equations: 4 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.004341/0.6722, allocations: 2.968 MB / 0.784 GB, free: 186.5 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.002178/0.6744, allocations: 1.452 MB / 0.7854 GB, free: 185.6 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.6744, allocations: 0 / 0.7854 GB, free: 185.6 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.001269/0.6756, allocations: 0.961 MB / 0.7864 GB, free: 185 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001007/0.6767, allocations: 220.1 kB / 0.7866 GB, free: 184.9 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009556/0.6862, allocations: 7.328 MB / 0.7937 GB, free: 180.9 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002817/0.6865, allocations: 0.9359 MB / 0.7946 GB, free: 180.2 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.001133/0.6877, allocations: 275.1 kB / 0.7949 GB, free: 180.1 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005399/0.6882, allocations: 355.7 kB / 0.7952 GB, free: 179.9 MB / 0.5573 GB Notification: Performance of SimCode: time 2.51e-07/0.6882, allocations: 0 / 0.7952 GB, free: 179.9 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2084/0.8966, allocations: 29.23 MB / 0.8238 GB, free: 154.6 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001606/0.8968, allocations: 304.1 kB / 0.8241 GB, free: 154.2 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.935/3.831, allocations: 4 kB / 0.8241 GB, free: 154.2 MB / 0.5573 GB (rm -f ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Processes.Tests.TransportDelay.pipe ; mkfifo ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Processes.Tests.TransportDelay.pipe ; head -c 1048576 < ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Processes.Tests.TransportDelay.pipe >> ../files/ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Processes.Tests.TransportDelay.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Processes.Tests.TransportDelay_res.mat --tempDir=temp_ThermofluidStream_OM_adaptions_ThermofluidStream_Undirected_Processes_Tests_TransportDelay_fmu --startTime=0 --stopTime=2.5 --timeout=1200 --tolerance=1e-06 ThermofluidStream_OM_adaptions_ThermofluidStream_Undirected_Processes_Tests_TransportDelay.fmu > ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Processes.Tests.TransportDelay.pipe 2>&1) diffSimulationResults("ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Processes.Tests.TransportDelay_res.mat","/mnt/ReferenceFiles/ThermofluidStream-OM-regression/ReferenceData/ThermofluidStream.Undirected.Processes.Tests.TransportDelay_ref.mat","../files/ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Processes.Tests.TransportDelay.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches