Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_OM_adaptions_ThermofluidStream.Boundaries.Tests.TerminalSourceSink.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.Boundaries.Tests.TerminalSourceSink,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|pulse.T_start|pulse.count|terminalSource.p",fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream.Boundaries.Tests.TerminalSourceSink") translateModel(ThermofluidStream.Boundaries.Tests.TerminalSourceSink,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|pulse.T_start|pulse.count|terminalSource.p",fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream.Boundaries.Tests.TerminalSourceSink") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002423/0.002423, allocations: 172.5 kB / 7.647 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.804/1.804, allocations: 205.3 MB / 213.4 MB, free: 13.71 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.0008981/0.0008982, allocations: 102.2 kB / 261.4 MB, free: 13.45 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.7814/0.7814, allocations: 90.36 MB / 399.7 MB, free: 12.13 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.475e-05/1.469e-05, allocations: 0 / 472.2 MB, free: 3.484 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3659/0.3659, allocations: 66.26 MB / 0.5258 GB, free: 29.04 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.207/1.573, allocations: 431.1 MB / 0.9468 GB, free: 164.9 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001945/1.573, allocations: 79.28 kB / 0.9469 GB, free: 164.9 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.08858/1.661, allocations: 46.99 MB / 0.9928 GB, free: 156.2 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.513e-06/1.661, allocations: 3.688 kB / 0.9928 GB, free: 156.2 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 1.121e-05/1.661, allocations: 0 / 0.9928 GB, free: 156.2 MB / 0.5886 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.0007049/1.662, allocations: 0.5044 MB / 0.9933 GB, free: 155.7 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.748e-05/1.662, allocations: 11.75 kB / 0.9933 GB, free: 155.7 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.268e-05/1.662, allocations: 19.09 kB / 0.9933 GB, free: 155.7 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002011/1.662, allocations: 221 kB / 0.9935 GB, free: 155.4 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.605e-05/1.663, allocations: 3.75 kB / 0.9935 GB, free: 155.4 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.986e-05/1.663, allocations: 7.094 kB / 0.9935 GB, free: 155.4 MB / 0.5886 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001403/1.663, allocations: 76.81 kB / 0.9936 GB, free: 155.4 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001798/1.663, allocations: 127.8 kB / 0.9937 GB, free: 155.4 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.257e-06/1.663, allocations: 0 / 0.9937 GB, free: 155.4 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.583e-05/1.663, allocations: 0 / 0.9937 GB, free: 155.4 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.394e-06/1.663, allocations: 3.875 kB / 0.9937 GB, free: 155.4 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007043/1.664, allocations: 0.759 MB / 0.9945 GB, free: 154.7 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001249/1.664, allocations: 76.7 kB / 0.9945 GB, free: 154.6 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.177e-05/1.664, allocations: 30.8 kB / 0.9946 GB, free: 154.6 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 8.289e-05/1.664, allocations: 84.95 kB / 0.9946 GB, free: 154.5 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001313/1.664, allocations: 85.27 kB / 0.9947 GB, free: 154.5 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=9): time 1.443e-06/1.664, allocations: 0 / 0.9947 GB, free: 154.5 MB / 0.5886 GB Notification: Performance of matching and sorting (n=9): time 0.0002312/1.664, allocations: 94.92 kB / 0.9948 GB, free: 154.4 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.028e-05/1.664, allocations: 51.41 kB / 0.9949 GB, free: 154.4 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001129/1.664, allocations: 163.8 kB / 0.995 GB, free: 154.3 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.499e-05/1.665, allocations: 25.7 kB / 0.995 GB, free: 154.2 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 5.849e-05/1.665, allocations: 145.6 kB / 0.9952 GB, free: 154.1 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.905e-05/1.665, allocations: 23.27 kB / 0.9952 GB, free: 154.1 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.606e-06/1.665, allocations: 4 kB / 0.9952 GB, free: 154.1 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 5.277e-05/1.665, allocations: 326.4 kB / 0.9955 GB, free: 153.8 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.109e-05/1.665, allocations: 25.56 kB / 0.9955 GB, free: 153.8 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.447e-05/1.665, allocations: 82.16 kB / 0.9956 GB, free: 153.7 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.687e-05/1.665, allocations: 42.86 kB / 0.9957 GB, free: 153.7 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/1.665, allocations: 0 / 0.9957 GB, free: 153.7 MB / 0.5886 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002191/1.665, allocations: 140.4 kB / 0.9958 GB, free: 153.7 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.484e-05/1.665, allocations: 37.52 kB / 0.9958 GB, free: 153.6 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.236e-06/1.665, allocations: 7.875 kB / 0.9958 GB, free: 153.6 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.399e-05/1.665, allocations: 0 / 0.9958 GB, free: 153.6 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001584/1.665, allocations: 39.14 kB / 0.9959 GB, free: 153.6 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.959e-06/1.665, allocations: 0 / 0.9959 GB, free: 153.6 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001489/1.666, allocations: 28.77 kB / 0.9959 GB, free: 153.6 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.53e-05/1.666, allocations: 11.69 kB / 0.9959 GB, free: 153.6 MB / 0.5886 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.292e-05/1.666, allocations: 116.7 kB / 0.996 GB, free: 153.5 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.883e-05/1.666, allocations: 11.69 kB / 0.996 GB, free: 153.5 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001906/1.666, allocations: 109.1 kB / 0.9961 GB, free: 153.4 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.058e-06/1.666, allocations: 3.75 kB / 0.9961 GB, free: 153.4 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/1.666, allocations: 0 / 0.9961 GB, free: 153.4 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/1.666, allocations: 0 / 0.9961 GB, free: 153.4 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001273/1.666, allocations: 199.9 kB / 0.9963 GB, free: 153.2 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/1.666, allocations: 0 / 0.9963 GB, free: 153.2 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001122/1.666, allocations: 19.42 kB / 0.9964 GB, free: 153.2 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/1.666, allocations: 0 / 0.9964 GB, free: 153.2 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.273e-05/1.666, allocations: 7.469 kB / 0.9964 GB, free: 153.2 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/1.666, allocations: 0 / 0.9964 GB, free: 153.2 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/1.666, allocations: 7.953 kB / 0.9964 GB, free: 153.2 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002186/1.666, allocations: 159.7 kB / 0.9965 GB, free: 153.1 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 3.327e-05/1.666, allocations: 88.77 kB / 0.9966 GB, free: 153 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.939e-05/1.666, allocations: 3.984 kB / 0.9966 GB, free: 153 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000116/1.667, allocations: 15.52 kB / 0.9966 GB, free: 153 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.8e-05/1.667, allocations: 19.61 kB / 0.9966 GB, free: 153 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.787e-06/1.667, allocations: 7.812 kB / 0.9966 GB, free: 153 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 6.31e-05/1.667, allocations: 125.8 kB / 0.9968 GB, free: 152.9 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.31e-07/1.667, allocations: 0 / 0.9968 GB, free: 152.9 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0002664/1.667, allocations: 57.66 kB / 0.9968 GB, free: 152.9 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (terminalSource.p) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002555/1.667, allocations: 209.7 kB / 0.997 GB, free: 152.8 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001843/1.667, allocations: 136.7 kB / 0.9972 GB, free: 152.7 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/1.667, allocations: 3.875 kB / 0.9972 GB, free: 152.7 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 5.361e-05/1.668, allocations: 30.48 kB / 0.9972 GB, free: 152.7 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002587/1.668, allocations: 35.11 kB / 0.9972 GB, free: 152.7 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005427/1.668, allocations: 253.2 kB / 0.9975 GB, free: 152.5 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001387/1.669, allocations: 0.7268 MB / 0.9982 GB, free: 151.8 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 6.938e-05/1.669, allocations: 11.98 kB / 0.9982 GB, free: 151.8 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.187e-05/1.669, allocations: 18.45 kB / 0.9982 GB, free: 151.8 MB / 0.5886 GB Notification: Performance of SimCode: time 2.61e-07/1.669, allocations: 0 / 0.9982 GB, free: 151.8 MB / 0.5886 GB Notification: Performance of Templates: time 0.004843/1.673, allocations: 2.522 MB / 1.001 GB, free: 150.3 MB / 0.5886 GB make -j1 -f ThermofluidStream_OM_adaptions_ThermofluidStream.Boundaries.Tests.TerminalSourceSink.makefile (rm -f ThermofluidStream_OM_adaptions_ThermofluidStream.Boundaries.Tests.TerminalSourceSink.pipe ; mkfifo ThermofluidStream_OM_adaptions_ThermofluidStream.Boundaries.Tests.TerminalSourceSink.pipe ; head -c 1048576 < ThermofluidStream_OM_adaptions_ThermofluidStream.Boundaries.Tests.TerminalSourceSink.pipe >> ../files/ThermofluidStream_OM_adaptions_ThermofluidStream.Boundaries.Tests.TerminalSourceSink.sim & ./ThermofluidStream_OM_adaptions_ThermofluidStream.Boundaries.Tests.TerminalSourceSink -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_OM_adaptions_ThermofluidStream.Boundaries.Tests.TerminalSourceSink.pipe 2>&1) diffSimulationResults("ThermofluidStream_OM_adaptions_ThermofluidStream.Boundaries.Tests.TerminalSourceSink_res.mat","/mnt/ReferenceFiles/ThermofluidStream-OM-regression/ReferenceData/ThermofluidStream.Boundaries.Tests.TerminalSourceSink_ref.mat","../files/ThermofluidStream_OM_adaptions_ThermofluidStream.Boundaries.Tests.TerminalSourceSink.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches