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.008663/0.008663, allocations: 167.6 kB / 15.13 MB, free: 5.602 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.383/1.383, allocations: 205.4 MB / 221.3 MB, free: 13.8 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.000926/0.0009261, allocations: 86.3 kB / 269.6 MB, free: 13.34 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.7103/0.7103, allocations: 90.61 MB / 408.5 MB, free: 14.95 MB / 298.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.0002954/0.0002956, allocations: 8 kB / 485.2 MB, free: 2.043 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3091/0.3094, allocations: 66.28 MB / 0.5386 GB, free: 45.7 MB / 426.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.FlowControl.Tests.CheckValve): time 0.1311/0.4405, allocations: 131.9 MB / 0.6674 GB, free: 7.707 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.003588/0.4442, allocations: 3.07 MB / 0.6704 GB, free: 4.633 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002732/0.4445, allocations: 7.938 kB / 0.6704 GB, free: 4.625 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005064/0.445, allocations: 171 kB / 0.6706 GB, free: 4.457 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008881/0.4459, allocations: 465.3 kB / 0.671 GB, free: 4 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007379/0.4466, allocations: 275.1 kB / 0.6713 GB, free: 3.73 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006736/0.4473, allocations: 0.8013 MB / 0.6721 GB, free: 2.926 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001675/0.4475, allocations: 91.53 kB / 0.6722 GB, free: 2.836 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004607/0.448, allocations: 274.8 kB / 0.6724 GB, free: 2.566 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003592/0.4483, allocations: 334.8 kB / 0.6728 GB, free: 2.238 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 3.605e-05/0.4484, allocations: 16 kB / 0.6728 GB, free: 2.223 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000887/0.4493, allocations: 0.5107 MB / 0.6733 GB, free: 1.711 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 5.998e-05/0.4493, allocations: 59.7 kB / 0.6733 GB, free: 1.652 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 8.714e-05/0.4494, allocations: 101.5 kB / 0.6734 GB, free: 1.547 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004886/0.4499, allocations: 480.9 kB / 0.6739 GB, free: 1.078 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.45, allocations: 1.406 kB / 0.6739 GB, free: 1.078 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.45, allocations: 0 / 0.6739 GB, free: 1.078 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.751e-06/0.45, allocations: 0 / 0.6739 GB, free: 1.078 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.001195/0.4512, allocations: 0.7161 MB / 0.6746 GB, free: 320 kB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.974e-05/0.4512, allocations: 8.031 kB / 0.6746 GB, free: 312 kB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.914e-05/0.4513, allocations: 55.39 kB / 0.6746 GB, free: 256 kB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003445/0.4516, allocations: 310.2 kB / 0.6749 GB, free: 15.9 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.961e-05/0.4517, allocations: 20.66 kB / 0.675 GB, free: 15.88 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.97e-05/0.4518, allocations: 36 kB / 0.675 GB, free: 15.85 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006929/0.4525, allocations: 416.2 kB / 0.6754 GB, free: 15.43 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.036e-05/0.4525, allocations: 4 kB / 0.6754 GB, free: 15.42 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.227e-05/0.4525, allocations: 16 kB / 0.6754 GB, free: 15.41 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.295e-05/0.4525, allocations: 11.95 kB / 0.6754 GB, free: 15.39 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006677/0.4532, allocations: 382.4 kB / 0.6758 GB, free: 15.02 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001887/0.4551, allocations: 1.847 MB / 0.6776 GB, free: 12.97 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008277/0.4559, allocations: 427.7 kB / 0.678 GB, free: 12.55 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003556/0.4563, allocations: 206.6 kB / 0.6782 GB, free: 12.34 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001866/0.4582, allocations: 1.614 MB / 0.6798 GB, free: 10.52 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004544/0.4587, allocations: 240.2 kB / 0.68 GB, free: 10.27 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=41): time 3.266e-06/0.4587, allocations: 3.984 kB / 0.68 GB, free: 10.27 MB / 0.4948 GB Notification: Performance of matching and sorting (n=41): time 0.001391/0.4601, allocations: 0.6638 MB / 0.6807 GB, free: 9.578 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.372e-05/0.4601, allocations: 55.41 kB / 0.6807 GB, free: 9.512 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002511/0.4604, allocations: 271 kB / 0.681 GB, free: 9.242 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.437e-05/0.4604, allocations: 37.7 kB / 0.681 GB, free: 9.199 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001182/0.4605, allocations: 192.3 kB / 0.6812 GB, free: 9.008 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 9.65e-05/0.4606, allocations: 141.9 kB / 0.6813 GB, free: 8.867 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.057e-05/0.4607, allocations: 8 kB / 0.6813 GB, free: 8.859 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001299/0.4608, allocations: 346.8 kB / 0.6817 GB, free: 8.512 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000305/0.4611, allocations: 140.8 kB / 0.6818 GB, free: 8.375 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003293/0.4615, allocations: 207.5 kB / 0.682 GB, free: 8.16 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003297/0.4618, allocations: 187.2 kB / 0.6822 GB, free: 7.969 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.4618, allocations: 0 / 0.6822 GB, free: 7.969 MB / 0.4948 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0008808/0.4627, allocations: 0.4897 MB / 0.6826 GB, free: 7.465 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 3.086e-05/0.4627, allocations: 45.58 kB / 0.6827 GB, free: 7.414 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/0.4627, allocations: 0 / 0.6827 GB, free: 7.414 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001988/0.463, allocations: 44.83 kB / 0.6827 GB, free: 7.367 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002979/0.4633, allocations: 76.77 kB / 0.6828 GB, free: 7.293 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00112/0.4644, allocations: 1.432 MB / 0.6842 GB, free: 5.73 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002697/0.4647, allocations: 47.64 kB / 0.6843 GB, free: 5.684 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.629e-05/0.4647, allocations: 17.88 kB / 0.6843 GB, free: 5.668 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.0001558/0.4649, allocations: 149.8 kB / 0.6844 GB, free: 5.512 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.049e-05/0.4649, allocations: 39.58 kB / 0.6844 GB, free: 5.473 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001082/0.466, allocations: 0.5409 MB / 0.685 GB, free: 4.938 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.943e-06/0.466, allocations: 4 kB / 0.685 GB, free: 4.934 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.4661, allocations: 3.984 kB / 0.685 GB, free: 4.93 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.841e-06/0.4661, allocations: 0 / 0.685 GB, free: 4.93 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001537/0.4676, allocations: 1.06 MB / 0.686 GB, free: 3.809 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.12e-06/0.4676, allocations: 12.03 kB / 0.686 GB, free: 3.797 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002856/0.4679, allocations: 69.22 kB / 0.6861 GB, free: 3.73 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001534/0.4681, allocations: 49.95 kB / 0.6861 GB, free: 3.68 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.123e-05/0.4681, allocations: 15.98 kB / 0.6862 GB, free: 3.664 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001002/0.4691, allocations: 1.423 MB / 0.6876 GB, free: 2.109 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.4691, allocations: 0 / 0.6876 GB, free: 2.109 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001224/0.4704, allocations: 0.7539 MB / 0.6883 GB, free: 1.332 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 7.323e-05/0.4705, allocations: 108.6 kB / 0.6884 GB, free: 1.207 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.544e-05/0.4705, allocations: 8 kB / 0.6884 GB, free: 1.199 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002588/0.4708, allocations: 31.95 kB / 0.6884 GB, free: 1.168 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.36e-05/0.4709, allocations: 39.94 kB / 0.6885 GB, free: 1.129 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.341e-05/0.4709, allocations: 15.98 kB / 0.6885 GB, free: 1.113 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001667/0.4711, allocations: 193.9 kB / 0.6887 GB, free: 0.9258 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4711, allocations: 0 / 0.6887 GB, free: 0.9258 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.000523/0.4716, allocations: 173.3 kB / 0.6888 GB, free: 0.7578 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.0003599/0.472, allocations: 238.5 kB / 0.6891 GB, free: 0.5156 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0009947/0.473, allocations: 0.5565 MB / 0.6896 GB, free: 15.93 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.473, allocations: 0 / 0.6896 GB, free: 15.93 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0005223/0.4735, allocations: 350.3 kB / 0.6899 GB, free: 15.58 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006864/0.4742, allocations: 109.9 kB / 0.69 GB, free: 15.48 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001316/0.4756, allocations: 0.929 MB / 0.6909 GB, free: 14.52 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003191/0.4759, allocations: 0.8004 MB / 0.6917 GB, free: 13.7 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0002767/0.4762, allocations: 87.98 kB / 0.6918 GB, free: 13.63 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.869e-05/0.4763, allocations: 39.44 kB / 0.6919 GB, free: 13.59 MB / 0.5105 GB Notification: Performance of SimCode: time 2.7e-07/0.4763, allocations: 0 / 0.6919 GB, free: 13.59 MB / 0.5105 GB Notification: Performance of Templates: time 0.01217/0.4885, allocations: 7.659 MB / 0.6993 GB, free: 6.074 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