Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_ThermofluidStream.Undirected.Processes.Tests.TransportDelay.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo", uses=false) Using package ThermofluidStream with version 1.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ThermofluidStream.Undirected.Processes.Tests.TransportDelay,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_Undirected_Processes_Tests_TransportDelay",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Undirected.Processes.Tests.TransportDelay,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_Undirected_Processes_Tests_TransportDelay",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001619/0.001619, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001622/0.001622, allocations: 198.7 kB / 16.54 MB, free: 6.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.577/1.577, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.8572/0.8572, allocations: 93.72 MB / 384.1 MB, free: 6.938 MB / 318.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.002428/0.002428, allocations: 86.33 kB / 463.5 MB, free: 21.86 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1781/0.1806, allocations: 68.26 MB / 0.5193 GB, free: 6.84 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Processes.Tests.TransportDelay): time 0.6644/0.845, allocations: 192.4 MB / 0.7072 GB, free: 10.34 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.009046/0.8541, allocations: 5.531 MB / 0.7126 GB, free: 4.785 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001077/0.8552, allocations: 39.75 kB / 0.7126 GB, free: 4.746 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.00131/0.8566, allocations: 413.2 kB / 0.713 GB, free: 4.34 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.00473/0.8614, allocations: 1.423 MB / 0.7144 GB, free: 2.914 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.00237/0.8637, allocations: 0.8252 MB / 0.7152 GB, free: 2.086 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.005002/0.8688, allocations: 2.668 MB / 0.7178 GB, free: 15.41 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004938/0.8693, allocations: 243 kB / 0.7181 GB, free: 15.17 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00365/0.8729, allocations: 1.843 MB / 0.7199 GB, free: 13.32 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001039/0.874, allocations: 0.7081 MB / 0.7205 GB, free: 12.61 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0001331/0.8741, allocations: 72 kB / 0.7206 GB, free: 12.54 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003532/0.8777, allocations: 1.17 MB / 0.7218 GB, free: 11.38 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0002252/0.8779, allocations: 195.1 kB / 0.7219 GB, free: 11.18 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0005774/0.8785, allocations: 489.3 kB / 0.7224 GB, free: 10.7 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.003526/0.882, allocations: 1.702 MB / 0.7241 GB, free: 8.996 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.169e-06/0.882, allocations: 0 / 0.7241 GB, free: 8.996 MB / 0.5294 GB Notification: Performance of FrontEnd: time 4.408e-06/0.8821, allocations: 3.984 kB / 0.7241 GB, free: 8.992 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.401e-05/0.8821, allocations: 4 kB / 0.7241 GB, free: 8.988 MB / 0.5294 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.003922/0.886, allocations: 1.568 MB / 0.7256 GB, free: 7.348 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.271e-05/0.8861, allocations: 8.031 kB / 0.7256 GB, free: 7.34 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001335/0.8862, allocations: 98.52 kB / 0.7257 GB, free: 7.234 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001149/0.8874, allocations: 190.6 kB / 0.7259 GB, free: 7.047 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001245/0.8886, allocations: 0.666 MB / 0.7265 GB, free: 6.34 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001102/0.8887, allocations: 82.95 kB / 0.7266 GB, free: 6.254 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001471/0.8889, allocations: 63.94 kB / 0.7267 GB, free: 6.191 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001792/0.8907, allocations: 0.8077 MB / 0.7275 GB, free: 5.359 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.161e-05/0.8907, allocations: 0 / 0.7275 GB, free: 5.359 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.386e-05/0.8908, allocations: 28.88 kB / 0.7275 GB, free: 5.332 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.079e-05/0.8908, allocations: 16 kB / 0.7275 GB, free: 5.316 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001957/0.8928, allocations: 0.693 MB / 0.7282 GB, free: 4.621 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005391/0.8982, allocations: 3.633 MB / 0.7317 GB, free: 0.668 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00199/0.9002, allocations: 0.711 MB / 0.7324 GB, free: 15.94 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009281/0.9012, allocations: 347.3 kB / 0.7328 GB, free: 15.6 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009885/0.9022, allocations: 0.4939 MB / 0.7333 GB, free: 15.01 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001243/0.9034, allocations: 0.5048 MB / 0.7337 GB, free: 14.49 MB / 0.545 GB Notification: Performance of pre-optimization done (n=69): time 2.315e-06/0.9034, allocations: 0 / 0.7337 GB, free: 14.49 MB / 0.545 GB Notification: Performance of matching and sorting (n=69): time 0.003932/0.9074, allocations: 1.362 MB / 0.7351 GB, free: 13.08 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.25e-05/0.9075, allocations: 85.11 kB / 0.7352 GB, free: 12.98 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008935/0.9084, allocations: 0.6689 MB / 0.7358 GB, free: 12.3 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 9.105e-05/0.9085, allocations: 45.69 kB / 0.7359 GB, free: 12.25 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003922/0.9089, allocations: 392.5 kB / 0.7362 GB, free: 11.86 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002336/0.9091, allocations: 224.7 kB / 0.7364 GB, free: 11.64 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003173/0.9094, allocations: 174.5 kB / 0.7366 GB, free: 11.46 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001751/0.9096, allocations: 330 kB / 0.7369 GB, free: 11.13 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008947/0.9105, allocations: 297.8 kB / 0.7372 GB, free: 10.84 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009634/0.9115, allocations: 390.4 kB / 0.7376 GB, free: 10.43 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001941/0.9134, allocations: 0.7312 MB / 0.7383 GB, free: 9.648 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/0.9135, allocations: 4 kB / 0.7383 GB, free: 9.645 MB / 0.545 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.002682/0.9161, allocations: 1.034 MB / 0.7393 GB, free: 8.586 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 7.548e-05/0.9162, allocations: 63.41 kB / 0.7394 GB, free: 8.512 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.447e-05/0.9163, allocations: 11.98 kB / 0.7394 GB, free: 8.5 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004193/0.9167, allocations: 89.81 kB / 0.7395 GB, free: 8.406 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007602/0.9175, allocations: 191.7 kB / 0.7396 GB, free: 8.219 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002941/0.9204, allocations: 3.051 MB / 0.7426 GB, free: 4.887 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007999/0.9212, allocations: 103.2 kB / 0.7427 GB, free: 4.785 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001507/0.9214, allocations: 83.92 kB / 0.7428 GB, free: 4.703 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 10 (trapezoid.count,$PRE.trapezoid.count,trapezoid.T_start,$PRE.trapezoid.T_start,$whenCondition2,trapezoid1.count,$PRE.trapezoid1.count,trapezoid1.T_start,$PRE.trapezoid1.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (77): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 4 * 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.0004382/0.9219, allocations: 213.7 kB / 0.743 GB, free: 4.484 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001743/0.922, allocations: 82.97 kB / 0.7431 GB, free: 4.402 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00442/0.9265, allocations: 1.796 MB / 0.7448 GB, free: 2.59 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.341e-05/0.9265, allocations: 11.94 kB / 0.7449 GB, free: 2.578 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.845e-06/0.9265, allocations: 4 kB / 0.7449 GB, free: 2.574 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.225e-05/0.9265, allocations: 3.984 kB / 0.7449 GB, free: 2.57 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004095/0.9306, allocations: 1.955 MB / 0.7468 GB, free: 0.543 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.453e-05/0.9307, allocations: 16.08 kB / 0.7468 GB, free: 0.5273 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006934/0.9314, allocations: 163.8 kB / 0.7469 GB, free: 376 kB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003105/0.9317, allocations: 85.62 kB / 0.747 GB, free: 284 kB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.336e-05/0.9318, allocations: 43.98 kB / 0.7471 GB, free: 240 kB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002757/0.9345, allocations: 3.07 MB / 0.7501 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.691e-06/0.9346, allocations: 4.031 kB / 0.7501 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003629/0.9382, allocations: 1.472 MB / 0.7515 GB, free: 11.38 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004209/0.9386, allocations: 243.8 kB / 0.7517 GB, free: 11.12 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001567/0.9388, allocations: 20.09 kB / 0.7518 GB, free: 11.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006652/0.9395, allocations: 55.92 kB / 0.7518 GB, free: 11.05 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003071/0.9398, allocations: 115.9 kB / 0.7519 GB, free: 10.93 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001366/0.9399, allocations: 75.97 kB / 0.752 GB, free: 10.86 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0006666/0.9406, allocations: 471 kB / 0.7524 GB, free: 10.41 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9406, allocations: 0 / 0.7524 GB, free: 10.41 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001449/0.9421, allocations: 347.4 kB / 0.7528 GB, free: 10.07 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (66): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.004992/0.9471, allocations: 2.336 MB / 0.7551 GB, free: 7.699 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.002974/0.9501, allocations: 1.233 MB / 0.7563 GB, free: 6.387 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.388e-06/0.9501, allocations: 4.062 kB / 0.7563 GB, free: 6.383 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.00163/0.9517, allocations: 0.7848 MB / 0.757 GB, free: 5.547 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001482/0.9532, allocations: 263.4 kB / 0.7573 GB, free: 5.301 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01504/0.9683, allocations: 7.613 MB / 0.7647 GB, free: 13.39 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006668/0.969, allocations: 0.9747 MB / 0.7657 GB, free: 12.39 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.00229/0.9713, allocations: 0.9954 MB / 0.7666 GB, free: 11.4 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009254/0.9722, allocations: 459.1 kB / 0.7671 GB, free: 10.95 MB / 0.5762 GB Notification: Performance of SimCode: time 1.192e-06/0.9722, allocations: 0 / 0.7671 GB, free: 10.95 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0751/1.047, allocations: 26.36 MB / 0.7928 GB, free: 0.8984 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.2/14.24, allocations: 22.12 kB / 0.7928 GB, free: 0.8828 MB / 0.5919 GB (rm -f ThermofluidStream_dev_ThermofluidStream.Undirected.Processes.Tests.TransportDelay.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.Undirected.Processes.Tests.TransportDelay.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.Undirected.Processes.Tests.TransportDelay.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.Undirected.Processes.Tests.TransportDelay.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ThermofluidStream_dev_ThermofluidStream.Undirected.Processes.Tests.TransportDelay_res.mat --tempDir=temp_ThermofluidStream_dev_ThermofluidStream_Undirected_Processes_Tests_TransportDelay_fmu --startTime=0 --stopTime=2.5 --timeout=1200 --tolerance=1e-06 ThermofluidStream_dev_ThermofluidStream_Undirected_Processes_Tests_TransportDelay.fmu > ThermofluidStream_dev_ThermofluidStream.Undirected.Processes.Tests.TransportDelay.pipe 2>&1) diffSimulationResults("ThermofluidStream_dev_ThermofluidStream.Undirected.Processes.Tests.TransportDelay_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Undirected.Processes.Tests.TransportDelay_ref.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_dev_ThermofluidStream.Undirected.Processes.Tests.TransportDelay.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches