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: translateModel(ThermofluidStream.Processes.Tests.TransportDelay,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|sawTooth.T_start|sawTooth.count|sawTooth1.T_start|sawTooth1.count|transportDelay.inlet.m_flow|transportDelay.x|transportDelay1.inlet.m_flow|transportDelay1.x",fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.TransportDelay") translateModel(ThermofluidStream.Processes.Tests.TransportDelay,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|sawTooth.T_start|sawTooth.count|sawTooth1.T_start|sawTooth1.count|transportDelay.inlet.m_flow|transportDelay.x|transportDelay1.inlet.m_flow|transportDelay1.x",fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.TransportDelay") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008948/0.0008948, allocations: 170.5 kB / 16.11 MB, free: 5.66 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.169/1.169, allocations: 205 MB / 221.9 MB, free: 9.148 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.0007356/0.0007359, allocations: 89.48 kB / 269.9 MB, free: 8.672 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.6068/0.6068, allocations: 90.5 MB / 408.3 MB, free: 3.941 MB / 298.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.0002728/0.0002728, allocations: 12.22 kB / 484.9 MB, free: 7.207 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2321/0.2324, allocations: 65.8 MB / 0.5378 GB, free: 34.93 MB / 394.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.TransportDelay): time 0.3853/0.6177, allocations: 193.3 MB / 0.7265 GB, free: 1.074 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.008806/0.6266, allocations: 10.55 MB / 0.7368 GB, free: 0.8203 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005676/0.6272, allocations: 10.8 kB / 0.7368 GB, free: 0.8203 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0007987/0.628, allocations: 324.3 kB / 0.7372 GB, free: 0.8008 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.003394/0.6314, allocations: 1.273 MB / 0.7384 GB, free: 0.7422 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.002985/0.6344, allocations: 1.158 MB / 0.7395 GB, free: 0.6992 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.002974/0.6374, allocations: 2.501 MB / 0.742 GB, free: 0.6406 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002218/0.6376, allocations: 140.7 kB / 0.7421 GB, free: 0.6055 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002133/0.6397, allocations: 1.505 MB / 0.7436 GB, free: 0.5547 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005393/0.6403, allocations: 0.5109 MB / 0.7441 GB, free: 0.5508 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 6.012e-05/0.6404, allocations: 26.03 kB / 0.7441 GB, free: 0.5508 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003583/0.644, allocations: 1.903 MB / 0.746 GB, free: 0.5195 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001012/0.6441, allocations: 104.4 kB / 0.7461 GB, free: 0.5195 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.000296/0.6444, allocations: 316.5 kB / 0.7464 GB, free: 0.5156 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.003171/0.6476, allocations: 1.917 MB / 0.7482 GB, free: 416 kB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/0.6476, allocations: 6.969 kB / 0.7482 GB, free: 412 kB / 0.4948 GB Notification: Performance of FrontEnd: time 2.434e-06/0.6476, allocations: 0 / 0.7482 GB, free: 412 kB / 0.4948 GB Notification: Performance of Transformations before backend: time 7.184e-06/0.6476, allocations: 1.75 kB / 0.7482 GB, free: 412 kB / 0.4948 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.00234/0.6499, allocations: 1.229 MB / 0.7494 GB, free: 15.64 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.678e-05/0.65, allocations: 9.438 kB / 0.7494 GB, free: 15.64 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008993/0.6509, allocations: 139.8 kB / 0.7496 GB, free: 15.6 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004467/0.6514, allocations: 428.7 kB / 0.75 GB, free: 15.34 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.149e-05/0.6514, allocations: 40.47 kB / 0.75 GB, free: 15.34 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.8e-05/0.6515, allocations: 49.94 kB / 0.7501 GB, free: 15.33 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001072/0.6526, allocations: 0.6082 MB / 0.7507 GB, free: 15.27 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.883e-05/0.6526, allocations: 0.75 kB / 0.7507 GB, free: 15.27 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.717e-05/0.6527, allocations: 18.28 kB / 0.7507 GB, free: 15.27 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.467e-05/0.6527, allocations: 16.03 kB / 0.7507 GB, free: 15.26 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001028/0.6537, allocations: 0.4903 MB / 0.7512 GB, free: 15.25 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00305/0.6568, allocations: 2.548 MB / 0.7537 GB, free: 13.57 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009903/0.6578, allocations: 0.501 MB / 0.7542 GB, free: 13.45 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005078/0.6583, allocations: 270.9 kB / 0.7544 GB, free: 13.41 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001157/0.6595, allocations: 1.417 MB / 0.7558 GB, free: 12.13 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007199/0.6602, allocations: 448.6 kB / 0.7562 GB, free: 11.94 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=58): time 2.645e-06/0.6602, allocations: 2.438 kB / 0.7562 GB, free: 11.94 MB / 0.5105 GB Notification: Performance of matching and sorting (n=58): time 0.002384/0.6626, allocations: 1.125 MB / 0.7573 GB, free: 11.52 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.816e-05/0.6627, allocations: 90.55 kB / 0.7574 GB, free: 11.41 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000408/0.6631, allocations: 389.1 kB / 0.7578 GB, free: 11.25 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 6.398e-05/0.6632, allocations: 36.5 kB / 0.7578 GB, free: 11.22 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001785/0.6633, allocations: 257.5 kB / 0.7581 GB, free: 11.06 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001647/0.6635, allocations: 197.9 kB / 0.7583 GB, free: 10.92 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.978e-05/0.6636, allocations: 7.938 kB / 0.7583 GB, free: 10.92 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001333/0.6637, allocations: 368.2 kB / 0.7586 GB, free: 10.59 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005454/0.6642, allocations: 230.2 kB / 0.7588 GB, free: 10.55 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006495/0.6649, allocations: 301.2 kB / 0.7591 GB, free: 10.45 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001114/0.666, allocations: 0.585 MB / 0.7597 GB, free: 10.28 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.927e-06/0.6661, allocations: 0 / 0.7597 GB, free: 10.28 MB / 0.5105 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001684/0.6677, allocations: 0.8211 MB / 0.7605 GB, free: 10.04 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 4.716e-05/0.6678, allocations: 59.44 kB / 0.7606 GB, free: 9.973 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.965e-05/0.6678, allocations: 12.23 kB / 0.7606 GB, free: 9.969 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003034/0.6681, allocations: 82.19 kB / 0.7606 GB, free: 9.938 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004228/0.6686, allocations: 129.6 kB / 0.7608 GB, free: 9.914 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001971/0.6706, allocations: 2.844 MB / 0.7635 GB, free: 7.141 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005137/0.6711, allocations: 73.69 kB / 0.7636 GB, free: 7.102 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001246/0.6712, allocations: 73.16 kB / 0.7637 GB, free: 7.086 MB / 0.5105 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.0002782/0.6715, allocations: 178.2 kB / 0.7639 GB, free: 6.934 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001263/0.6716, allocations: 53.16 kB / 0.7639 GB, free: 6.906 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002483/0.6741, allocations: 0.9955 MB / 0.7649 GB, free: 6.383 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.176e-05/0.6742, allocations: 18.36 kB / 0.7649 GB, free: 6.367 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.097e-05/0.6742, allocations: 13.39 kB / 0.7649 GB, free: 6.363 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002536/0.6745, allocations: 217.4 kB / 0.7651 GB, free: 6.168 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.567e-05/0.6746, allocations: 15.19 kB / 0.7651 GB, free: 6.156 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003794/0.6749, allocations: 46.31 kB / 0.7652 GB, free: 6.137 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001835/0.6751, allocations: 92.39 kB / 0.7653 GB, free: 6.094 MB / 0.5105 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001925/0.6771, allocations: 0.9617 MB / 0.7662 GB, free: 5.57 MB / 0.5105 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001973/0.6791, allocations: 1.258 MB / 0.7674 GB, free: 4.836 MB / 0.5105 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005947/0.6797, allocations: 302.7 kB / 0.7677 GB, free: 4.695 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0002344/0.6799, allocations: 270.5 kB / 0.768 GB, free: 4.531 MB / 0.5105 GB Notification: Performance of Backend: time 3.91e-07/0.6799, allocations: 7.219 kB / 0.768 GB, free: 4.527 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.003722/0.6836, allocations: 1.8 MB / 0.7697 GB, free: 3.242 MB / 0.5105 GB Notification: Performance of SimCode: time 0.002206/0.6859, allocations: 2.078 MB / 0.7718 GB, free: 1.094 MB / 0.5105 GB Notification: Performance of Templates: time 0.02961/0.7155, allocations: 21.42 MB / 0.7927 GB, free: 11.84 MB / 0.5417 GB make -j1 -f ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.TransportDelay.makefile (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 & ./ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.TransportDelay -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > 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