Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.FixedResistances.Validation.PressureDropsParallel.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.FixedResistances.Validation.PressureDropsParallel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|res1.m_flow|res2.m_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.FixedResistances.Validation.PressureDropsParallel") translateModel(Buildings.Fluid.FixedResistances.Validation.PressureDropsParallel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|res1.m_flow|res2.m_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.FixedResistances.Validation.PressureDropsParallel") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00127/0.00127, allocations: 98.27 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0135/0.0135, allocations: 170.6 kB / 16.27 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.487/1.487, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.551/2.551, allocations: 390.9 MB / 0.6663 GB, free: 2.32 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0005362/0.0005365, allocations: 8.281 kB / 0.8159 GB, free: 13.21 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9116/0.9122, allocations: 142.4 MB / 0.955 GB, free: 8.074 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PressureDropsParallel): time 0.01829/0.9305, allocations: 18.34 MB / 0.9729 GB, free: 9.363 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.008548/0.9391, allocations: 4.943 MB / 0.9778 GB, free: 5.379 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009696/0.9402, allocations: 16.97 kB / 0.9778 GB, free: 5.371 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0009136/0.9411, allocations: 169.9 kB / 0.9779 GB, free: 5.23 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.001695/0.9428, allocations: 0.4966 MB / 0.9784 GB, free: 4.832 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001877/0.9447, allocations: 497.7 kB / 0.9789 GB, free: 4.496 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.002508/0.9472, allocations: 1.468 MB / 0.9803 GB, free: 3.688 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005733/0.9478, allocations: 281.4 kB / 0.9806 GB, free: 3.52 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001267/0.9491, allocations: 455.8 kB / 0.981 GB, free: 3.262 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005111/0.9496, allocations: 288 kB / 0.9813 GB, free: 3.098 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 4.277e-05/0.9496, allocations: 13.84 kB / 0.9813 GB, free: 3.098 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001316/0.951, allocations: 0.5243 MB / 0.9818 GB, free: 2.801 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0001111/0.9511, allocations: 66.34 kB / 0.9819 GB, free: 2.754 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0002439/0.9513, allocations: 204.8 kB / 0.9821 GB, free: 2.617 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001052/0.9524, allocations: 0.6021 MB / 0.9827 GB, free: 2.238 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.9524, allocations: 4 kB / 0.9827 GB, free: 2.234 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.583e-06/0.9524, allocations: 1.375 kB / 0.9827 GB, free: 2.234 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 8.235e-06/0.9524, allocations: 0 / 0.9827 GB, free: 2.234 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.001206/0.9537, allocations: 0.648 MB / 0.9833 GB, free: 1.648 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.768e-05/0.9537, allocations: 10.47 kB / 0.9833 GB, free: 1.648 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.674e-05/0.9538, allocations: 50.41 kB / 0.9834 GB, free: 1.621 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005125/0.9544, allocations: 369 kB / 0.9837 GB, free: 1.285 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.389e-05/0.9545, allocations: 47.17 kB / 0.9838 GB, free: 1.242 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.636e-05/0.9545, allocations: 24.67 kB / 0.9838 GB, free: 1.234 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000541/0.9551, allocations: 232 kB / 0.984 GB, free: 1.105 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.482e-05/0.9551, allocations: 1.031 kB / 0.984 GB, free: 1.105 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.731e-05/0.9551, allocations: 14.59 kB / 0.984 GB, free: 1.094 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.428e-06/0.9551, allocations: 4.25 kB / 0.984 GB, free: 1.094 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000388/0.9555, allocations: 163.3 kB / 0.9842 GB, free: 1.023 MB / 0.7325 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.001567/0.9571, allocations: 1.089 MB / 0.9853 GB, free: 20 kB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002816/0.9574, allocations: 118.1 kB / 0.9854 GB, free: 15.95 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001686/0.9576, allocations: 73.34 kB / 0.9855 GB, free: 15.91 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003519/0.9579, allocations: 339.3 kB / 0.9858 GB, free: 15.52 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.615e-05/0.958, allocations: 35.94 kB / 0.9858 GB, free: 15.48 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=10): time 1.794e-06/0.958, allocations: 0 / 0.9858 GB, free: 15.48 MB / 0.7481 GB Notification: Performance of matching and sorting (n=10): time 0.0006352/0.9586, allocations: 220.3 kB / 0.986 GB, free: 15.36 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.152e-05/0.9587, allocations: 56.72 kB / 0.9861 GB, free: 15.3 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003685/0.9591, allocations: 331.4 kB / 0.9864 GB, free: 15.04 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 2.681e-05/0.9591, allocations: 29.7 kB / 0.9864 GB, free: 15 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.000145/0.9593, allocations: 196.1 kB / 0.9866 GB, free: 14.8 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 3.627e-05/0.9593, allocations: 39.45 kB / 0.9866 GB, free: 14.77 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.956e-05/0.9593, allocations: 13.72 kB / 0.9867 GB, free: 14.75 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.000142/0.9595, allocations: 338.8 kB / 0.987 GB, free: 14.41 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001479/0.9596, allocations: 51.78 kB / 0.987 GB, free: 14.36 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001796/0.9598, allocations: 109.9 kB / 0.9871 GB, free: 14.23 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002869/0.9601, allocations: 130.6 kB / 0.9873 GB, free: 14.09 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.9601, allocations: 0 / 0.9873 GB, free: 14.09 MB / 0.7481 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003788/0.9605, allocations: 181.3 kB / 0.9874 GB, free: 13.91 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 7.91e-05/0.9606, allocations: 116.7 kB / 0.9875 GB, free: 13.79 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.9606, allocations: 0 / 0.9875 GB, free: 13.79 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.543e-05/0.9606, allocations: 0 / 0.9875 GB, free: 13.79 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001496/0.9608, allocations: 27.98 kB / 0.9876 GB, free: 13.76 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.356e-06/0.9608, allocations: 7.938 kB / 0.9876 GB, free: 13.75 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002654/0.9611, allocations: 43.8 kB / 0.9876 GB, free: 13.71 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.59e-05/0.9611, allocations: 4 kB / 0.9876 GB, free: 13.7 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 7.634e-06/0.9611, allocations: 4 kB / 0.9876 GB, free: 13.7 MB / 0.7481 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002969/0.9614, allocations: 127.8 kB / 0.9877 GB, free: 13.57 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.657e-06/0.9614, allocations: 4 kB / 0.9878 GB, free: 13.57 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.813e-06/0.9615, allocations: 0 / 0.9878 GB, free: 13.57 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001064/0.9616, allocations: 31.92 kB / 0.9878 GB, free: 13.54 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.864e-06/0.9616, allocations: 4.031 kB / 0.9878 GB, free: 13.54 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002114/0.9618, allocations: 37.44 kB / 0.9878 GB, free: 13.5 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.694e-05/0.9618, allocations: 7.984 kB / 0.9878 GB, free: 13.49 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001762/0.962, allocations: 225.1 kB / 0.988 GB, free: 13.26 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.206e-05/0.9621, allocations: 35.61 kB / 0.9881 GB, free: 13.23 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005161/0.9626, allocations: 220.6 kB / 0.9883 GB, free: 13 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.206e-05/0.9626, allocations: 4 kB / 0.9883 GB, free: 13 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.954e-06/0.9627, allocations: 4 kB / 0.9883 GB, free: 12.99 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.562e-06/0.9627, allocations: 7.875 kB / 0.9883 GB, free: 12.98 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009324/0.9636, allocations: 0.6451 MB / 0.9889 GB, free: 12.27 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.038e-06/0.9636, allocations: 0 / 0.9889 GB, free: 12.27 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.42e-05/0.9637, allocations: 24.08 kB / 0.989 GB, free: 12.25 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.57e-06/0.9637, allocations: 7.922 kB / 0.989 GB, free: 12.24 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.009e-05/0.9637, allocations: 4 kB / 0.989 GB, free: 12.24 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.9638, allocations: 0 / 0.989 GB, free: 12.24 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/0.9638, allocations: 4 kB / 0.989 GB, free: 12.23 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004141/0.9642, allocations: 309.8 kB / 0.9893 GB, free: 11.91 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001263/0.9643, allocations: 136.6 kB / 0.9894 GB, free: 11.75 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.649e-05/0.9644, allocations: 7.938 kB / 0.9894 GB, free: 11.75 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002791/0.9646, allocations: 31.97 kB / 0.9894 GB, free: 11.71 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.006e-05/0.9647, allocations: 15.98 kB / 0.9894 GB, free: 11.7 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.79e-05/0.9647, allocations: 7.984 kB / 0.9895 GB, free: 11.69 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0002268/0.965, allocations: 239.2 kB / 0.9897 GB, free: 11.46 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.964e-06/0.965, allocations: 0 / 0.9897 GB, free: 11.46 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0006368/0.9656, allocations: 171.5 kB / 0.9898 GB, free: 11.3 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (12): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005205/0.9661, allocations: 218.3 kB / 0.9901 GB, free: 11.08 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.000543/0.9667, allocations: 188.1 kB / 0.9902 GB, free: 10.9 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.9667, allocations: 0 / 0.9902 GB, free: 10.9 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0001758/0.9669, allocations: 83.83 kB / 0.9903 GB, free: 10.82 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001076/0.968, allocations: 174 kB / 0.9905 GB, free: 10.65 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009024/0.9689, allocations: 0.6736 MB / 0.9911 GB, free: 9.941 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000377/0.9693, allocations: 0.7992 MB / 0.9919 GB, free: 9.113 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0002331/0.9695, allocations: 71.19 kB / 0.992 GB, free: 9.047 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.172e-05/0.9696, allocations: 31.44 kB / 0.992 GB, free: 9.016 MB / 0.7481 GB Notification: Performance of SimCode: time 3.01e-07/0.9696, allocations: 0 / 0.992 GB, free: 9.016 MB / 0.7481 GB Notification: Performance of Templates: time 0.01209/0.9817, allocations: 6.108 MB / 0.998 GB, free: 3.016 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Fluid.FixedResistances.Validation.PressureDropsParallel.makefile (rm -f Buildings_9_Buildings.Fluid.FixedResistances.Validation.PressureDropsParallel.pipe ; mkfifo Buildings_9_Buildings.Fluid.FixedResistances.Validation.PressureDropsParallel.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.FixedResistances.Validation.PressureDropsParallel.pipe >> ../files/Buildings_9_Buildings.Fluid.FixedResistances.Validation.PressureDropsParallel.sim & ./Buildings_9_Buildings.Fluid.FixedResistances.Validation.PressureDropsParallel -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.FixedResistances.Validation.PressureDropsParallel.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.FixedResistances.Validation.PressureDropsParallel_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_FixedResistances_Validation_PressureDropsParallel.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.FixedResistances.Validation.PressureDropsParallel.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches