Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_OM_adaptions_ThermofluidStream.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.Processes.Tests.TransportDelay,fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream_Processes_Tests_TransportDelay",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Processes.Tests.TransportDelay,fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream_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.0007956/0.0007957, allocations: 178.4 kB / 15.45 MB, free: 6.227 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.132/1.132, allocations: 205 MB / 221.2 MB, free: 1.723 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.000644/0.000644, allocations: 102.2 kB / 269.2 MB, free: 1.66 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.4677/0.4677, allocations: 90.52 MB / 407.6 MB, free: 15.07 MB / 314.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.0002745/0.0002745, allocations: 8 kB / 484.3 MB, free: 3.48 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09093/0.09122, allocations: 65.81 MB / 0.5372 GB, free: 1.59 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.TransportDelay): time 0.3347/0.426, allocations: 193.3 MB / 0.726 GB, free: 7.352 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.01013/0.4361, allocations: 10.57 MB / 0.7363 GB, free: 12.76 MB / 0.5417 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002966/0.4364, allocations: 11.94 kB / 0.7363 GB, free: 12.75 MB / 0.5417 GB Notification: Performance of NFTyping.typeComponents: time 0.0007669/0.4372, allocations: 322.3 kB / 0.7366 GB, free: 12.43 MB / 0.5417 GB Notification: Performance of NFTyping.typeBindings: time 0.002734/0.44, allocations: 1.267 MB / 0.7378 GB, free: 11.17 MB / 0.5417 GB Notification: Performance of NFTyping.typeClassSections: time 0.002632/0.4426, allocations: 1.167 MB / 0.739 GB, free: 10.01 MB / 0.5417 GB Notification: Performance of NFFlatten.flatten: time 0.002732/0.4453, allocations: 2.497 MB / 0.7414 GB, free: 7.504 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001948/0.4456, allocations: 142.7 kB / 0.7416 GB, free: 7.363 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00199/0.4476, allocations: 1.5 MB / 0.743 GB, free: 5.859 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005366/0.4481, allocations: 0.5176 MB / 0.7435 GB, free: 5.34 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 5.772e-05/0.4482, allocations: 24 kB / 0.7436 GB, free: 5.316 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002733/0.4509, allocations: 1.909 MB / 0.7454 GB, free: 3.406 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 8.83e-05/0.451, allocations: 103.4 kB / 0.7455 GB, free: 3.305 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 0.0002518/0.4513, allocations: 322.2 kB / 0.7458 GB, free: 2.988 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.002068/0.4533, allocations: 1.913 MB / 0.7477 GB, free: 1.07 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 2.915e-06/0.4534, allocations: 0 / 0.7477 GB, free: 1.07 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.472e-06/0.4534, allocations: 0 / 0.7477 GB, free: 1.07 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 6.533e-06/0.4534, allocations: 0 / 0.7477 GB, free: 1.07 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: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.002065/0.4554, allocations: 1.227 MB / 0.7489 GB, free: 15.78 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.226e-05/0.4555, allocations: 8.031 kB / 0.7489 GB, free: 15.77 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.68e-05/0.4556, allocations: 94.39 kB / 0.749 GB, free: 15.67 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008041/0.4564, allocations: 139.1 kB / 0.7491 GB, free: 15.53 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004561/0.4569, allocations: 428.4 kB / 0.7495 GB, free: 15.07 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.084e-05/0.4569, allocations: 37 kB / 0.7496 GB, free: 15.04 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.043e-05/0.457, allocations: 52.88 kB / 0.7496 GB, free: 14.98 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009679/0.458, allocations: 0.6075 MB / 0.7502 GB, free: 14.36 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.627e-05/0.458, allocations: 0 / 0.7502 GB, free: 14.36 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.623e-05/0.4581, allocations: 27.88 kB / 0.7502 GB, free: 14.34 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.256e-05/0.4581, allocations: 12 kB / 0.7502 GB, free: 14.32 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001033/0.4591, allocations: 0.4924 MB / 0.7507 GB, free: 13.83 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002976/0.4621, allocations: 2.548 MB / 0.7532 GB, free: 11.05 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009822/0.4631, allocations: 0.5016 MB / 0.7537 GB, free: 10.53 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005043/0.4636, allocations: 274.5 kB / 0.754 GB, free: 10.25 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001182/0.4648, allocations: 1.415 MB / 0.7553 GB, free: 8.617 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007016/0.4655, allocations: 447.9 kB / 0.7558 GB, free: 8.16 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=58): time 1.803e-06/0.4655, allocations: 4 kB / 0.7558 GB, free: 8.156 MB / 0.5573 GB Notification: Performance of matching and sorting (n=58): time 0.002305/0.4678, allocations: 1.123 MB / 0.7569 GB, free: 6.984 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.574e-05/0.4679, allocations: 93.09 kB / 0.757 GB, free: 6.875 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003501/0.4682, allocations: 378 kB / 0.7573 GB, free: 6.5 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 5.227e-05/0.4683, allocations: 41.69 kB / 0.7574 GB, free: 6.453 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001547/0.4685, allocations: 257 kB / 0.7576 GB, free: 6.195 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001401/0.4686, allocations: 193.1 kB / 0.7578 GB, free: 6.004 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.248e-05/0.4687, allocations: 12 kB / 0.7578 GB, free: 5.992 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001317/0.4688, allocations: 366.7 kB / 0.7582 GB, free: 5.625 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004835/0.4693, allocations: 229.1 kB / 0.7584 GB, free: 5.402 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005214/0.4698, allocations: 303.2 kB / 0.7587 GB, free: 5.082 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001044/0.4709, allocations: 0.5838 MB / 0.7592 GB, free: 4.469 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.988e-06/0.4709, allocations: 0 / 0.7592 GB, free: 4.469 MB / 0.5573 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001483/0.4724, allocations: 0.8225 MB / 0.76 GB, free: 3.621 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 4.806e-05/0.4724, allocations: 63.41 kB / 0.7601 GB, free: 3.547 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.344e-05/0.4725, allocations: 11.98 kB / 0.7601 GB, free: 3.535 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002659/0.4727, allocations: 85.78 kB / 0.7602 GB, free: 3.445 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003979/0.4731, allocations: 123.9 kB / 0.7603 GB, free: 3.324 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001963/0.4751, allocations: 2.844 MB / 0.7631 GB, free: 216 kB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004117/0.4755, allocations: 71.56 kB / 0.7632 GB, free: 144 kB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.395e-05/0.4757, allocations: 76.03 kB / 0.7632 GB, free: 68 kB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.sawTooth.T_start,sawTooth.T_start,$PRE.sawTooth.count,sawTooth.count,$whenCondition1,$PRE.sawTooth1.T_start,sawTooth1.T_start,$PRE.sawTooth1.count,sawTooth1.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (62): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 6 * 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.1761/0.6517, allocations: 177.8 kB / 0.7634 GB, free: 197 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002967/0.6521, allocations: 59.69 kB / 0.7635 GB, free: 197 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003311/0.6554, allocations: 0.9941 MB / 0.7644 GB, free: 196.9 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.324e-05/0.6554, allocations: 7.594 kB / 0.7644 GB, free: 196.9 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.676e-06/0.6554, allocations: 2.188 kB / 0.7644 GB, free: 196.9 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.032e-05/0.6554, allocations: 4.031 kB / 0.7644 GB, free: 196.9 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002857/0.6583, allocations: 1.646 MB / 0.766 GB, free: 196.5 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.653e-05/0.6583, allocations: 17.52 kB / 0.7661 GB, free: 196.5 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000416/0.6588, allocations: 123.8 kB / 0.7662 GB, free: 196.5 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002467/0.659, allocations: 80.56 kB / 0.7663 GB, free: 196.5 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.411e-05/0.6591, allocations: 38.8 kB / 0.7663 GB, free: 196.5 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001524/0.6606, allocations: 2.833 MB / 0.7691 GB, free: 194 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.926e-06/0.6607, allocations: 10.41 kB / 0.7691 GB, free: 194 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002065/0.6627, allocations: 1.222 MB / 0.7703 GB, free: 193.6 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002529/0.663, allocations: 214.7 kB / 0.7705 GB, free: 193.4 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.38e-05/0.6631, allocations: 15.61 kB / 0.7705 GB, free: 193.4 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004213/0.6635, allocations: 50.14 kB / 0.7705 GB, free: 193.4 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000215/0.6637, allocations: 95.56 kB / 0.7706 GB, free: 193.4 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000102/0.6638, allocations: 70.16 kB / 0.7707 GB, free: 193.4 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0002704/0.6641, allocations: 268.9 kB / 0.7709 GB, free: 193.2 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6641, allocations: 0 / 0.7709 GB, free: 193.2 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.00123/0.6654, allocations: 480.1 kB / 0.7714 GB, free: 193.2 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.inlet.m_flow,transportDelay.x,flowResistance.inlet.m_flow) * Number of discrete variables: 6 ($whenCondition1,sawTooth1.T_start,sawTooth1.count,$whenCondition2,sawTooth.T_start,sawTooth.count) * Number of discrete states: 2 (sawTooth.count,sawTooth1.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (56): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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.00351/0.6689, allocations: 2.406 MB / 0.7738 GB, free: 192.1 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.001597/0.6705, allocations: 1.116 MB / 0.7748 GB, free: 191.3 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.6705, allocations: 0 / 0.7748 GB, free: 191.3 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.000944/0.6715, allocations: 0.7651 MB / 0.7756 GB, free: 190.8 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008868/0.6724, allocations: 180.1 kB / 0.7758 GB, free: 190.8 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007628/0.68, allocations: 5.784 MB / 0.7814 GB, free: 187.4 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002964/0.6803, allocations: 0.8793 MB / 0.7823 GB, free: 186.7 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0008216/0.6811, allocations: 190 kB / 0.7824 GB, free: 186.6 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004008/0.6815, allocations: 256.1 kB / 0.7827 GB, free: 186.5 MB / 0.5573 GB Notification: Performance of SimCode: time 4.61e-07/0.6816, allocations: 0 / 0.7827 GB, free: 186.5 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2074/0.8889, allocations: 24.25 MB / 0.8064 GB, free: 171.9 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001593/0.8891, allocations: 294.6 kB / 0.8067 GB, free: 171.5 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.698/3.588, allocations: 3.938 kB / 0.8067 GB, free: 171.5 MB / 0.5573 GB (rm -f ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.TransportDelay.pipe ; mkfifo ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.TransportDelay.pipe ; head -c 1048576 < ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.TransportDelay.pipe >> ../files/ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.TransportDelay.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.TransportDelay_res.mat --tempDir=temp_ThermofluidStream_OM_adaptions_ThermofluidStream_Processes_Tests_TransportDelay_fmu --startTime=0 --stopTime=2.5 --timeout=1200 --tolerance=1e-06 ThermofluidStream_OM_adaptions_ThermofluidStream_Processes_Tests_TransportDelay.fmu > ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.TransportDelay.pipe 2>&1) diffSimulationResults("ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.TransportDelay_res.mat","/mnt/ReferenceFiles/ThermofluidStream-OM-regression/ReferenceData/ThermofluidStream.Processes.Tests.TransportDelay_ref.mat","../files/ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.TransportDelay.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches