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.0008372/0.0008372, allocations: 171.2 kB / 16.11 MB, free: 5.691 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.162/1.162, allocations: 205 MB / 221.9 MB, free: 9.051 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.0007571/0.0007571, allocations: 76.69 kB / 269.9 MB, free: 8.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.5896/0.5896, allocations: 90.52 MB / 408.3 MB, free: 3.926 MB / 298.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.0002785/0.0002786, allocations: 8 kB / 484.9 MB, free: 7.195 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2338/0.2341, allocations: 65.8 MB / 0.5378 GB, free: 34.99 MB / 394.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.FlowControl.Tests.CheckValve): time 0.1196/0.3537, allocations: 141.6 MB / 0.6761 GB, free: 8.816 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.003507/0.3572, allocations: 3.322 MB / 0.6793 GB, free: 5.484 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001596/0.3574, allocations: 4 kB / 0.6793 GB, free: 5.48 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0004945/0.3579, allocations: 183.1 kB / 0.6795 GB, free: 5.301 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0007571/0.3586, allocations: 457.6 kB / 0.6799 GB, free: 4.852 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006259/0.3593, allocations: 330.9 kB / 0.6803 GB, free: 4.527 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0006949/0.36, allocations: 0.938 MB / 0.6812 GB, free: 3.586 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001615/0.3602, allocations: 105.9 kB / 0.6813 GB, free: 3.48 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004335/0.3606, allocations: 294.8 kB / 0.6816 GB, free: 3.191 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003545/0.361, allocations: 346.7 kB / 0.6819 GB, free: 2.852 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 3.704e-05/0.361, allocations: 20 kB / 0.6819 GB, free: 2.832 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009453/0.362, allocations: 0.6393 MB / 0.6825 GB, free: 2.191 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 6.173e-05/0.362, allocations: 63.64 kB / 0.6826 GB, free: 2.129 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.000169/0.3622, allocations: 202.9 kB / 0.6828 GB, free: 1.93 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0007492/0.363, allocations: 0.6931 MB / 0.6835 GB, free: 1.234 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.925e-06/0.363, allocations: 4 kB / 0.6835 GB, free: 1.23 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.272e-06/0.363, allocations: 0 / 0.6835 GB, free: 1.23 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.949e-06/0.363, allocations: 0 / 0.6835 GB, free: 1.23 MB / 0.4948 GB 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.00115/0.3641, allocations: 0.7119 MB / 0.6842 GB, free: 476 kB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.134e-05/0.3642, allocations: 8.031 kB / 0.6842 GB, free: 468 kB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.802e-05/0.3643, allocations: 48.38 kB / 0.6842 GB, free: 420 kB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003362/0.3646, allocations: 323.4 kB / 0.6845 GB, free: 56 kB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.67e-05/0.3647, allocations: 32.91 kB / 0.6845 GB, free: 24 kB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.177/0.5417, allocations: 33.36 kB / 0.6846 GB, free: 144.8 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009323/0.5426, allocations: 415.3 kB / 0.685 GB, free: 144.8 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.682e-05/0.5427, allocations: 0 / 0.685 GB, free: 144.8 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.959e-05/0.5427, allocations: 17.86 kB / 0.685 GB, free: 144.8 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.536e-05/0.5427, allocations: 9.281 kB / 0.685 GB, free: 144.8 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007867/0.5435, allocations: 385.7 kB / 0.6854 GB, free: 144.7 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00181/0.5454, allocations: 1.846 MB / 0.6872 GB, free: 143.2 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007877/0.5462, allocations: 435.4 kB / 0.6876 GB, free: 143 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003405/0.5465, allocations: 202 kB / 0.6878 GB, free: 142.9 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001621/0.5481, allocations: 1.603 MB / 0.6893 GB, free: 141.5 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004536/0.5486, allocations: 238 kB / 0.6896 GB, free: 141.4 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=41): time 2.044e-06/0.5486, allocations: 0 / 0.6896 GB, free: 141.4 MB / 0.4948 GB Notification: Performance of matching and sorting (n=41): time 0.001459/0.5501, allocations: 0.6756 MB / 0.6902 GB, free: 141.1 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.953e-05/0.5501, allocations: 60.77 kB / 0.6903 GB, free: 141 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002364/0.5504, allocations: 270.3 kB / 0.6905 GB, free: 140.9 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.641e-05/0.5504, allocations: 32.02 kB / 0.6906 GB, free: 140.8 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 8.566e-05/0.5505, allocations: 195.5 kB / 0.6908 GB, free: 140.7 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 7.642e-05/0.5506, allocations: 137.9 kB / 0.6909 GB, free: 140.6 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.789e-05/0.5506, allocations: 6.312 kB / 0.6909 GB, free: 140.6 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 5.573e-05/0.5507, allocations: 349.3 kB / 0.6912 GB, free: 140.2 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003068/0.551, allocations: 142.6 kB / 0.6914 GB, free: 140.2 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003258/0.5513, allocations: 207 kB / 0.6916 GB, free: 140.1 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006287/0.5519, allocations: 382.4 kB / 0.6919 GB, free: 139.9 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.552, allocations: 7.578 kB / 0.6919 GB, free: 139.9 MB / 0.4948 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.000902/0.5529, allocations: 0.5063 MB / 0.6924 GB, free: 139.6 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.495e-05/0.5529, allocations: 33.11 kB / 0.6925 GB, free: 139.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.782e-06/0.5529, allocations: 1.75 kB / 0.6925 GB, free: 139.6 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002118/0.5531, allocations: 50.27 kB / 0.6925 GB, free: 139.6 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002876/0.5534, allocations: 77.81 kB / 0.6926 GB, free: 139.6 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008886/0.5543, allocations: 1.419 MB / 0.694 GB, free: 138.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002562/0.5546, allocations: 53.12 kB / 0.694 GB, free: 138.2 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.463e-05/0.5546, allocations: 21.66 kB / 0.694 GB, free: 138.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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001385/0.5548, allocations: 156.9 kB / 0.6942 GB, free: 138 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.081e-05/0.5549, allocations: 36.88 kB / 0.6942 GB, free: 138 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00119/0.5561, allocations: 0.5407 MB / 0.6948 GB, free: 137.8 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.516e-06/0.5561, allocations: 2.812 kB / 0.6948 GB, free: 137.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.5561, allocations: 4 kB / 0.6948 GB, free: 137.7 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.106e-05/0.5562, allocations: 120.8 kB / 0.6949 GB, free: 137.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.006e-05/0.5562, allocations: 11.52 kB / 0.6949 GB, free: 137.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002131/0.5564, allocations: 19.7 kB / 0.6949 GB, free: 137.6 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001036/0.5565, allocations: 41.47 kB / 0.695 GB, free: 137.6 MB / 0.4948 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001151/0.5577, allocations: 0.5497 MB / 0.6955 GB, free: 137.3 MB / 0.4948 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001063/0.5588, allocations: 0.7918 MB / 0.6963 GB, free: 136.9 MB / 0.4948 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003081/0.5591, allocations: 196.1 kB / 0.6965 GB, free: 136.8 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001468/0.5592, allocations: 197.5 kB / 0.6966 GB, free: 136.7 MB / 0.4948 GB Notification: Performance of Backend: time 4.91e-07/0.5593, allocations: 0 / 0.6966 GB, free: 136.7 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.001226/0.5605, allocations: 0.691 MB / 0.6973 GB, free: 136.4 MB / 0.4948 GB Notification: Performance of SimCode: time 0.001122/0.5616, allocations: 1.295 MB / 0.6986 GB, free: 135.3 MB / 0.4948 GB Notification: Performance of Templates: time 0.0112/0.5728, allocations: 8.452 MB / 0.7068 GB, free: 130.5 MB / 0.4948 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