Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.FlowControl.Tests.CheckValve.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.Undirected.FlowControl.Tests.CheckValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|boundary_rear.fore.m_flow|pulse.T_start|pulse.count",fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.FlowControl.Tests.CheckValve") translateModel(ThermofluidStream.Undirected.FlowControl.Tests.CheckValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|boundary_rear.fore.m_flow|pulse.T_start|pulse.count",fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.FlowControl.Tests.CheckValve") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.007237/0.007237, allocations: 169.2 kB / 15.12 MB, free: 5.477 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.527/1.527, allocations: 205.4 MB / 221.3 MB, free: 13.79 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.001059/0.001059, allocations: 98.84 kB / 269.6 MB, free: 13.32 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.8125/0.8125, allocations: 90.59 MB / 408.4 MB, free: 14.97 MB / 298.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.0003375/0.0003375, allocations: 8 kB / 485.2 MB, free: 2.066 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3839/0.3842, allocations: 66.28 MB / 0.5386 GB, free: 45.75 MB / 426.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.FlowControl.Tests.CheckValve): time 0.1554/0.5397, allocations: 123.2 MB / 0.6589 GB, free: 468 kB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.004172/0.5439, allocations: 2.789 MB / 0.6616 GB, free: 13.66 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003871/0.5443, allocations: 9.531 kB / 0.6616 GB, free: 13.66 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006184/0.545, allocations: 163.2 kB / 0.6618 GB, free: 13.5 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001038/0.546, allocations: 446.7 kB / 0.6622 GB, free: 13.06 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008471/0.5469, allocations: 287.2 kB / 0.6625 GB, free: 12.78 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005242/0.5474, allocations: 439.1 kB / 0.6629 GB, free: 12.35 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002156/0.5476, allocations: 91.84 kB / 0.663 GB, free: 12.26 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005112/0.5482, allocations: 255.1 kB / 0.6632 GB, free: 12.01 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003432/0.5485, allocations: 263 kB / 0.6635 GB, free: 11.75 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 4.668e-05/0.5486, allocations: 16 kB / 0.6635 GB, free: 11.73 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001052/0.5496, allocations: 0.55 MB / 0.664 GB, free: 11.18 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 6.507e-05/0.5497, allocations: 55.75 kB / 0.6641 GB, free: 11.13 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001113/0.5498, allocations: 101.5 kB / 0.6642 GB, free: 11.02 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006023/0.5504, allocations: 473.6 kB / 0.6646 GB, free: 10.57 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.976e-06/0.5505, allocations: 0 / 0.6646 GB, free: 10.57 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.306e-06/0.5505, allocations: 4 kB / 0.6646 GB, free: 10.57 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.642e-06/0.5505, allocations: 0 / 0.6646 GB, free: 10.57 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 83 * Number of variables: 83 Notification: Performance of Generate backend data structure: time 0.001433/0.5519, allocations: 0.7097 MB / 0.6653 GB, free: 9.809 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.167e-05/0.552, allocations: 12.03 kB / 0.6653 GB, free: 9.797 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.309e-05/0.5521, allocations: 51.39 kB / 0.6654 GB, free: 9.746 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004146/0.5525, allocations: 310.2 kB / 0.6657 GB, free: 9.398 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.305e-05/0.5525, allocations: 28.66 kB / 0.6657 GB, free: 9.371 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.01e-05/0.5526, allocations: 28 kB / 0.6657 GB, free: 9.344 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007044/0.5533, allocations: 412.2 kB / 0.6661 GB, free: 8.926 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.385e-05/0.5533, allocations: 4 kB / 0.6661 GB, free: 8.922 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.709e-05/0.5534, allocations: 16 kB / 0.6662 GB, free: 8.906 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.619e-05/0.5534, allocations: 15.94 kB / 0.6662 GB, free: 8.891 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006979/0.5541, allocations: 382.4 kB / 0.6665 GB, free: 8.516 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002247/0.5564, allocations: 1.889 MB / 0.6684 GB, free: 6.422 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008531/0.5572, allocations: 423.5 kB / 0.6688 GB, free: 6 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0021/0.5593, allocations: 1.647 MB / 0.6704 GB, free: 4.145 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005346/0.5599, allocations: 237.7 kB / 0.6706 GB, free: 3.902 MB / 490.7 MB Notification: Performance of pre-optimization done (n=41): time 2.996e-06/0.5599, allocations: 0 / 0.6706 GB, free: 3.902 MB / 490.7 MB Notification: Performance of matching and sorting (n=41): time 0.001543/0.5615, allocations: 0.8303 MB / 0.6714 GB, free: 3.008 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.123e-05/0.5615, allocations: 55.41 kB / 0.6715 GB, free: 2.941 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002834/0.5618, allocations: 267 kB / 0.6717 GB, free: 2.676 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 3.818e-05/0.5618, allocations: 33.7 kB / 0.6718 GB, free: 2.637 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001383/0.562, allocations: 192.3 kB / 0.6719 GB, free: 2.445 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001019/0.5621, allocations: 138 kB / 0.6721 GB, free: 2.309 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.013e-05/0.5621, allocations: 12 kB / 0.6721 GB, free: 2.297 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001559/0.5623, allocations: 350.8 kB / 0.6724 GB, free: 1.945 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000304/0.5626, allocations: 140.8 kB / 0.6726 GB, free: 1.809 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003473/0.563, allocations: 196.6 kB / 0.6727 GB, free: 1.605 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003438/0.5633, allocations: 183.2 kB / 0.6729 GB, free: 1.418 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.5633, allocations: 4 kB / 0.6729 GB, free: 1.414 MB / 490.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0009705/0.5643, allocations: 0.497 MB / 0.6734 GB, free: 0.9023 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.236e-05/0.5644, allocations: 37.86 kB / 0.6734 GB, free: 0.8594 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.977e-06/0.5644, allocations: 0 / 0.6734 GB, free: 0.8594 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000243/0.5646, allocations: 44.78 kB / 0.6735 GB, free: 0.8125 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002947/0.5649, allocations: 83.88 kB / 0.6736 GB, free: 0.7305 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001459/0.5664, allocations: 1.43 MB / 0.675 GB, free: 15.16 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000317/0.5667, allocations: 47.61 kB / 0.675 GB, free: 15.12 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.735e-05/0.5668, allocations: 20.06 kB / 0.675 GB, free: 15.1 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (44): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * 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: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000236/0.567, allocations: 157.8 kB / 0.6752 GB, free: 14.93 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.704e-05/0.5671, allocations: 31.62 kB / 0.6752 GB, free: 14.9 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001188/0.5683, allocations: 0.5344 MB / 0.6757 GB, free: 14.38 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.007e-05/0.5683, allocations: 8 kB / 0.6757 GB, free: 14.37 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.965e-06/0.5683, allocations: 0 / 0.6757 GB, free: 14.37 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.017e-06/0.5683, allocations: 7.984 kB / 0.6757 GB, free: 14.36 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001721/0.5701, allocations: 1.079 MB / 0.6768 GB, free: 13.22 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.839e-06/0.5701, allocations: 5.859 kB / 0.6768 GB, free: 13.22 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002563/0.5703, allocations: 74.64 kB / 0.6769 GB, free: 13.15 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001617/0.5705, allocations: 44.77 kB / 0.6769 GB, free: 13.1 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.628e-05/0.5706, allocations: 15.98 kB / 0.6769 GB, free: 13.09 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001221/0.5718, allocations: 1.437 MB / 0.6783 GB, free: 11.52 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.5718, allocations: 3.938 kB / 0.6783 GB, free: 11.51 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00127/0.5731, allocations: 0.7594 MB / 0.6791 GB, free: 10.72 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 9.873e-05/0.5732, allocations: 116.6 kB / 0.6792 GB, free: 10.59 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.928e-05/0.5732, allocations: 11.98 kB / 0.6792 GB, free: 10.58 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002376/0.5735, allocations: 23.89 kB / 0.6792 GB, free: 10.55 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001132/0.5736, allocations: 43.89 kB / 0.6793 GB, free: 10.51 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.285e-05/0.5737, allocations: 20.06 kB / 0.6793 GB, free: 10.49 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001878/0.5738, allocations: 190 kB / 0.6795 GB, free: 10.31 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.6e-07/0.5739, allocations: 3.938 kB / 0.6795 GB, free: 10.3 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0006084/0.5745, allocations: 163.8 kB / 0.6796 GB, free: 10.14 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (flowResistance.rear.m_flow) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * 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: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004154/0.5749, allocations: 247.9 kB / 0.6799 GB, free: 9.895 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.001126/0.576, allocations: 0.5489 MB / 0.6804 GB, free: 9.32 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.576, allocations: 0 / 0.6804 GB, free: 9.32 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0005188/0.5766, allocations: 342.3 kB / 0.6807 GB, free: 8.973 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006317/0.5772, allocations: 106.5 kB / 0.6808 GB, free: 8.875 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001484/0.5787, allocations: 0.9164 MB / 0.6817 GB, free: 7.938 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004101/0.5791, allocations: 0.8044 MB / 0.6825 GB, free: 7.109 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0002876/0.5794, allocations: 81.45 kB / 0.6826 GB, free: 7.047 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001134/0.5795, allocations: 39.42 kB / 0.6826 GB, free: 7.008 MB / 0.4948 GB Notification: Performance of SimCode: time 1.092e-06/0.5795, allocations: 0 / 0.6826 GB, free: 7.008 MB / 0.4948 GB Notification: Performance of Templates: time 0.01442/0.594, allocations: 7.624 MB / 0.6901 GB, free: 15.52 MB / 0.5105 GB make -j1 -f ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.FlowControl.Tests.CheckValve.makefile (rm -f ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.FlowControl.Tests.CheckValve.pipe ; mkfifo ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.FlowControl.Tests.CheckValve.pipe ; head -c 1048576 < ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.FlowControl.Tests.CheckValve.pipe >> ../files/ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.FlowControl.Tests.CheckValve.sim & ./ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.FlowControl.Tests.CheckValve -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.FlowControl.Tests.CheckValve.pipe 2>&1) diffSimulationResults("ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.FlowControl.Tests.CheckValve_res.mat","/mnt/ReferenceFiles/ThermofluidStream-OM-regression/ReferenceData/ThermofluidStream.Undirected.FlowControl.Tests.CheckValve_ref.mat","../files/ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.FlowControl.Tests.CheckValve.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches