Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|res.1..m_flow|res.1..m_flow_turbulent",fileNamePrefix="Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries") translateModel(Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|res.1..m_flow|res.1..m_flow_turbulent",fileNamePrefix="Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.446/2.446, allocations: 393.5 MB / 408.4 MB, free: 11.06 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001892/0.001893, allocations: 190.8 kB / 0.4902 GB, free: 2.312 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.652/1.652, allocations: 223.1 MB / 0.7992 GB, free: 15.7 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001043/0.001043, allocations: 92.08 kB / 0.9396 GB, free: 2.883 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003948/0.0003951, allocations: 9.062 kB / 1.09 GB, free: 212.9 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3734/0.3738, allocations: 143 MB / 1.229 GB, free: 85.56 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.881/5.255, allocations: 1.869 GB / 3.098 GB, free: 94.25 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002773/5.255, allocations: 83.95 kB / 3.098 GB, free: 94.17 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 3.238/8.493, allocations: 0.9668 GB / 4.065 GB, free: 23.42 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.394e-06/8.493, allocations: 3.938 kB / 4.065 GB, free: 23.42 MB / 1.167 GB Notification: Performance of Transformations before backend: time 9.412e-05/8.493, allocations: 31.98 kB / 4.065 GB, free: 23.39 MB / 1.167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.002726/8.496, allocations: 1.367 MB / 4.066 GB, free: 21.97 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.592e-05/8.496, allocations: 12.03 kB / 4.066 GB, free: 21.96 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007532/8.497, allocations: 186.5 kB / 4.066 GB, free: 21.77 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002123/8.499, allocations: 1.084 MB / 4.067 GB, free: 20.64 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.508e-05/8.499, allocations: 41 kB / 4.067 GB, free: 20.6 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.958e-05/8.499, allocations: 56 kB / 4.068 GB, free: 20.55 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009132/8.5, allocations: 0.655 MB / 4.068 GB, free: 19.88 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.734e-05/8.5, allocations: 0 / 4.068 GB, free: 19.88 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.684e-05/8.5, allocations: 20 kB / 4.068 GB, free: 19.86 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.414e-05/8.5, allocations: 12 kB / 4.068 GB, free: 19.84 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006768/8.501, allocations: 0.4995 MB / 4.069 GB, free: 19.34 MB / 1.167 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002986/8.504, allocations: 3.237 MB / 4.072 GB, free: 15.73 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004688/8.504, allocations: 387 kB / 4.072 GB, free: 15.35 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002757/8.505, allocations: 190.4 kB / 4.072 GB, free: 15.12 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.544e-05/8.505, allocations: 38.73 kB / 4.072 GB, free: 15.08 MB / 1.167 GB Notification: Performance of pre-optimization done (n=28): time 1.763e-06/8.505, allocations: 7.938 kB / 4.072 GB, free: 15.07 MB / 1.167 GB Notification: Performance of matching and sorting (n=28): time 0.002778/8.508, allocations: 1.182 MB / 4.074 GB, free: 13.86 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.132e-05/8.508, allocations: 55.41 kB / 4.074 GB, free: 13.8 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001002/8.509, allocations: 0.9465 MB / 4.075 GB, free: 12.83 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 3.807e-05/8.509, allocations: 34.03 kB / 4.075 GB, free: 12.79 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002424/8.509, allocations: 437.4 kB / 4.075 GB, free: 12.36 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 6.929e-05/8.509, allocations: 98.58 kB / 4.075 GB, free: 12.26 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.343e-05/8.509, allocations: 8 kB / 4.075 GB, free: 12.25 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 6.608e-05/8.509, allocations: 318 kB / 4.075 GB, free: 11.94 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002025/8.509, allocations: 135.9 kB / 4.076 GB, free: 11.8 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003074/8.51, allocations: 338.3 kB / 4.076 GB, free: 11.39 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002394/8.51, allocations: 181.4 kB / 4.076 GB, free: 11.22 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.534e-06/8.51, allocations: 0 / 4.076 GB, free: 11.22 MB / 1.167 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.000971/8.511, allocations: 0.6705 MB / 4.077 GB, free: 10.54 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.000112/8.511, allocations: 360.8 kB / 4.077 GB, free: 10.16 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.735e-06/8.511, allocations: 3.938 kB / 4.077 GB, free: 10.16 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004843/8.511, allocations: 229 kB / 4.077 GB, free: 9.934 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001364/8.512, allocations: 27.98 kB / 4.077 GB, free: 9.906 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000735/8.512, allocations: 1.004 MB / 4.078 GB, free: 8.879 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007295/8.513, allocations: 83.67 kB / 4.078 GB, free: 8.797 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.246e-05/8.513, allocations: 12 kB / 4.078 GB, free: 8.785 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.001e-05/8.513, allocations: 4 kB / 4.078 GB, free: 8.781 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009374/8.514, allocations: 0.4961 MB / 4.079 GB, free: 8.281 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.866e-06/8.514, allocations: 0 / 4.079 GB, free: 8.281 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005158/8.515, allocations: 213.8 kB / 4.079 GB, free: 8.07 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001029/8.515, allocations: 23.98 kB / 4.079 GB, free: 8.047 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00313/8.518, allocations: 3.143 MB / 4.082 GB, free: 4.762 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007152/8.519, allocations: 79.72 kB / 4.082 GB, free: 4.684 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.788e-05/8.519, allocations: 8 kB / 4.082 GB, free: 4.676 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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: 0 * Non-linear torn systems: 1 {1 19} Notification: Performance of prepare postOptimizeDAE: time 0.0005948/8.519, allocations: 457.7 kB / 4.083 GB, free: 4.219 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000112/8.519, allocations: 90.88 kB / 4.083 GB, free: 4.129 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001036/8.52, allocations: 0.7071 MB / 4.083 GB, free: 3.406 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.947e-06/8.52, allocations: 4.188 kB / 4.083 GB, free: 3.402 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.044e-06/8.52, allocations: 7.922 kB / 4.083 GB, free: 3.395 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/8.52, allocations: 3.984 kB / 4.083 GB, free: 3.391 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002083/8.523, allocations: 1.503 MB / 4.085 GB, free: 1.805 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.567e-06/8.523, allocations: 0 / 4.085 GB, free: 1.805 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001028/8.523, allocations: 32.14 kB / 4.085 GB, free: 1.773 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003884/8.523, allocations: 220.5 kB / 4.085 GB, free: 1.555 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.074e-05/8.523, allocations: 8 kB / 4.085 GB, free: 1.547 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006579/8.524, allocations: 0.979 MB / 4.086 GB, free: 0.543 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/8.524, allocations: 7.969 kB / 4.086 GB, free: 0.5352 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.7295/9.253, allocations: 0.8927 MB / 4.087 GB, free: 374.7 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007821/9.254, allocations: 213.5 kB / 4.087 GB, free: 374.6 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.726e-05/9.254, allocations: 8.453 kB / 4.087 GB, free: 374.6 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000572/9.255, allocations: 65.3 kB / 4.087 GB, free: 374.6 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.23e-05/9.255, allocations: 22.7 kB / 4.087 GB, free: 374.6 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.606e-05/9.255, allocations: 10.58 kB / 4.087 GB, free: 374.6 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.001375/9.256, allocations: 0.7619 MB / 4.088 GB, free: 374.5 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.11e-07/9.256, allocations: 0 / 4.088 GB, free: 374.5 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.001836/9.258, allocations: 474.6 kB / 4.089 GB, free: 374.5 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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: 0 * Non-linear torn systems: 1 {1 19} Notification: Performance of Backend phase and start with SimCode phase: time 0.002504/9.261, allocations: 0.9028 MB / 4.089 GB, free: 374.3 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.002169/9.263, allocations: 0.7409 MB / 4.09 GB, free: 374.2 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 6.823e-06/9.263, allocations: 0.6562 kB / 4.09 GB, free: 374.2 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0005201/9.263, allocations: 216 kB / 4.09 GB, free: 374.2 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002625/9.266, allocations: 483.9 kB / 4.091 GB, free: 374.2 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003215/9.269, allocations: 1.913 MB / 4.093 GB, free: 373.4 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008664/9.27, allocations: 1.2 MB / 4.094 GB, free: 372.7 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.001034/9.271, allocations: 200.5 kB / 4.094 GB, free: 372.7 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000131/9.271, allocations: 57.53 kB / 4.094 GB, free: 372.7 MB / 1.167 GB Notification: Performance of SimCode: time 1.643e-06/9.271, allocations: 1.281 kB / 4.094 GB, free: 372.7 MB / 1.167 GB Notification: Performance of Templates: time 0.05698/9.328, allocations: 29.19 MB / 4.123 GB, free: 372 MB / 1.167 GB make -j1 -f Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries.makefile (rm -f Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries.pipe >> ../files/Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries.sim & ./Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_FixedResistances_Validation_PressureDropsSeries.csv","../files/Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches