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/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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001525/0.001525, allocations: 103.8 kB / 16.35 MB, free: 5.824 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.001754/0.001754, allocations: 190.5 kB / 17.29 MB, free: 5.48 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.345/1.345, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.228/2.228, allocations: 442.6 MB / 0.7165 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001113/0.001113, allocations: 63.44 kB / 0.8773 GB, free: 10.99 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2254/0.2266, allocations: 153 MB / 1.027 GB, free: 2.07 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries): time 0.5035/0.7301, allocations: 161.5 MB / 1.184 GB, free: 2.254 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.002378/0.7325, allocations: 1.717 MB / 1.186 GB, free: 0.8672 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001631/0.7327, allocations: 14.84 kB / 1.186 GB, free: 0.8594 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0004266/0.7331, allocations: 159.7 kB / 1.186 GB, free: 0.7266 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0009503/0.7341, allocations: 0.5148 MB / 1.187 GB, free: 344 kB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008333/0.735, allocations: 424.9 kB / 1.187 GB, free: 44 kB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.002049/0.7371, allocations: 2.452 MB / 1.19 GB, free: 14.68 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009127/0.738, allocations: 0.9406 MB / 1.191 GB, free: 14.14 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009743/0.739, allocations: 0.9318 MB / 1.191 GB, free: 13.64 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006383/0.7396, allocations: 0.7103 MB / 1.192 GB, free: 13.24 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 8.023e-05/0.7397, allocations: 56.38 kB / 1.192 GB, free: 13.24 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001021/0.7407, allocations: 0.7417 MB / 1.193 GB, free: 12.84 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.000259/0.741, allocations: 311.3 kB / 1.193 GB, free: 12.64 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0004597/0.7415, allocations: 0.535 MB / 1.194 GB, free: 12.31 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.00114/0.7426, allocations: 1.405 MB / 1.195 GB, free: 11.48 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.7426, allocations: 0 / 1.195 GB, free: 11.48 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.635e-06/0.7426, allocations: 0 / 1.195 GB, free: 11.48 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 9.979e-06/0.7426, allocations: 3.938 kB / 1.195 GB, free: 11.48 MB / 0.9044 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.001671/0.7443, allocations: 1.4 MB / 1.196 GB, free: 10.41 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 2.662e-05/0.7444, allocations: 11.19 kB / 1.196 GB, free: 10.41 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006302/0.745, allocations: 180.8 kB / 1.197 GB, free: 10.32 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001179/0.7462, allocations: 0.8477 MB / 1.197 GB, free: 9.715 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.686e-05/0.7462, allocations: 51.16 kB / 1.198 GB, free: 9.691 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.979e-05/0.7463, allocations: 56.03 kB / 1.198 GB, free: 9.676 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008388/0.7471, allocations: 0.6798 MB / 1.198 GB, free: 9.281 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.271e-05/0.7472, allocations: 0 / 1.198 GB, free: 9.281 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.093e-05/0.7472, allocations: 25.88 kB / 1.198 GB, free: 9.262 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.017e-06/0.7472, allocations: 15.12 kB / 1.198 GB, free: 9.258 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006962/0.7479, allocations: 0.5193 MB / 1.199 GB, free: 9.008 MB / 0.9044 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.002618/0.7505, allocations: 3.238 MB / 1.202 GB, free: 6.07 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004691/0.751, allocations: 390.8 kB / 1.202 GB, free: 5.871 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002902/0.7513, allocations: 240.6 kB / 1.203 GB, free: 5.754 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002374/0.7516, allocations: 199.1 kB / 1.203 GB, free: 5.547 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.938e-05/0.7516, allocations: 36.97 kB / 1.203 GB, free: 5.504 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=28): time 1.343e-06/0.7516, allocations: 0 / 1.203 GB, free: 5.504 MB / 0.9044 GB Notification: Performance of matching and sorting (n=28): time 0.004121/0.7557, allocations: 1.486 MB / 1.204 GB, free: 4.664 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.788e-05/0.7558, allocations: 56.06 kB / 1.204 GB, free: 4.602 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009497/0.7567, allocations: 1.069 MB / 1.205 GB, free: 4.031 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 3.286e-05/0.7568, allocations: 34.14 kB / 1.205 GB, free: 3.996 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002827/0.757, allocations: 443.8 kB / 1.206 GB, free: 3.621 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 6.24e-05/0.7571, allocations: 96.61 kB / 1.206 GB, free: 3.535 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.558e-05/0.7572, allocations: 68.8 kB / 1.206 GB, free: 3.496 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 7.829e-05/0.7573, allocations: 326.6 kB / 1.206 GB, free: 3.176 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002337/0.7575, allocations: 165.1 kB / 1.206 GB, free: 3.09 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003494/0.7579, allocations: 360.9 kB / 1.207 GB, free: 2.781 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004861/0.7584, allocations: 386.6 kB / 1.207 GB, free: 2.574 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.7584, allocations: 0 / 1.207 GB, free: 2.574 MB / 0.9044 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.00164/0.76, allocations: 0.7986 MB / 1.208 GB, free: 2.141 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.118e-05/0.7601, allocations: 8.312 kB / 1.208 GB, free: 2.137 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/0.7601, allocations: 3.984 kB / 1.208 GB, free: 2.133 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001297/0.7614, allocations: 357.3 kB / 1.208 GB, free: 1.965 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001073/0.7615, allocations: 19.7 kB / 1.208 GB, free: 1.961 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007793/0.7623, allocations: 1.009 MB / 1.209 GB, free: 1.18 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003701/0.7627, allocations: 51.23 kB / 1.209 GB, free: 1.148 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.874e-05/0.7627, allocations: 7.781 kB / 1.209 GB, free: 1.148 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004316/0.7631, allocations: 454.2 kB / 1.21 GB, free: 0.8789 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002952/0.7634, allocations: 314.8 kB / 1.21 GB, free: 0.5977 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000379/0.7638, allocations: 310.1 kB / 1.21 GB, free: 440 kB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.282e-06/0.7638, allocations: 0 / 1.21 GB, free: 440 kB / 0.9044 GB Notification: Performance of matching and sorting (n=28) (initialization_lambda0): time 0.0009546/0.7648, allocations: 0.601 MB / 1.211 GB, free: 24 kB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 6.703e-06/0.7648, allocations: 4 kB / 1.211 GB, free: 20 kB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.845e-06/0.7648, allocations: 7.984 kB / 1.211 GB, free: 12 kB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004693/0.7653, allocations: 201.5 kB / 1.211 GB, free: 15.81 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.106e-05/0.7654, allocations: 19.98 kB / 1.211 GB, free: 15.79 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003067/0.7685, allocations: 3.308 MB / 1.214 GB, free: 12.34 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003786/0.7689, allocations: 40.22 kB / 1.214 GB, free: 12.3 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.21e-05/0.7689, allocations: 12 kB / 1.214 GB, free: 12.29 MB / 0.92 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 (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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,19)} Notification: Performance of prepare postOptimizeDAE: time 0.0001111/0.769, allocations: 202.2 kB / 1.215 GB, free: 12.09 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001081/0.7691, allocations: 102.8 kB / 1.215 GB, free: 11.99 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001015/0.7701, allocations: 0.7031 MB / 1.215 GB, free: 11.27 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.408e-06/0.7702, allocations: 4 kB / 1.215 GB, free: 11.27 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.132e-06/0.7702, allocations: 0 / 1.215 GB, free: 11.27 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.7702, allocations: 3.984 kB / 1.215 GB, free: 11.27 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001937/0.7721, allocations: 1.511 MB / 1.217 GB, free: 9.672 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.7721, allocations: 0 / 1.217 GB, free: 9.672 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.946e-05/0.7722, allocations: 19.98 kB / 1.217 GB, free: 9.652 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003878/0.7726, allocations: 220.6 kB / 1.217 GB, free: 9.434 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.839e-05/0.7726, allocations: 12.22 kB / 1.217 GB, free: 9.422 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007115/0.7734, allocations: 0.9698 MB / 1.218 GB, free: 8.426 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.7734, allocations: 4.031 kB / 1.218 GB, free: 8.422 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000948/0.7743, allocations: 0.8173 MB / 1.219 GB, free: 7.562 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000283/0.7746, allocations: 211.8 kB / 1.219 GB, free: 7.336 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.178e-05/0.7747, allocations: 8 kB / 1.219 GB, free: 7.328 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003255/0.775, allocations: 23.97 kB / 1.219 GB, free: 7.305 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.147e-05/0.7751, allocations: 19.98 kB / 1.219 GB, free: 7.285 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.745e-05/0.7751, allocations: 8 kB / 1.219 GB, free: 7.277 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0007692/0.7759, allocations: 0.7708 MB / 1.22 GB, free: 6.496 MB / 0.92 GB Notification: Performance of sort global known variables: time 2.11e-07/0.7759, allocations: 0 / 1.22 GB, free: 6.496 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0007698/0.7767, allocations: 399.3 kB / 1.22 GB, free: 6.105 MB / 0.92 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 (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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,19)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000312/0.777, allocations: 177.7 kB / 1.22 GB, free: 5.93 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.00117/0.7782, allocations: 0.7563 MB / 1.221 GB, free: 5.164 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.7782, allocations: 0 / 1.221 GB, free: 5.164 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0003584/0.7786, allocations: 214.6 kB / 1.221 GB, free: 4.953 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001554/0.7801, allocations: 489.2 kB / 1.222 GB, free: 4.48 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001826/0.7819, allocations: 1.696 MB / 1.224 GB, free: 2.73 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005755/0.7825, allocations: 1.176 MB / 1.225 GB, free: 1.527 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.0004243/0.783, allocations: 211.2 kB / 1.225 GB, free: 1.316 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.082e-05/0.7831, allocations: 55.44 kB / 1.225 GB, free: 1.266 MB / 0.92 GB Notification: Performance of SimCode: time 2.71e-07/0.7831, allocations: 0 / 1.225 GB, free: 1.266 MB / 0.92 GB Notification: Performance of Templates: time 0.3198/1.103, allocations: 19.74 MB / 1.244 GB, free: 13.75 MB / 0.9512 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 -s gbode -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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches