Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.PressureDropsSeries,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|res.1..m_flow|res.1..m_flow_turbulent",fileNamePrefix="Buildings_9_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_9_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.01011/0.01011, allocations: 103.2 kB / 15.73 MB, free: 5.957 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.002087/0.002087, allocations: 191.4 kB / 16.67 MB, free: 5.887 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.493/1.493, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.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.369/2.369, allocations: 390.2 MB / 0.6648 GB, free: 0.6133 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001237/0.001237, allocations: 63.91 kB / 0.9508 GB, free: 7.621 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.014/1.015, allocations: 140.4 MB / 1.088 GB, free: 5.5 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries): time 0.2216/1.237, allocations: 161.5 MB / 1.246 GB, free: 11.52 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.003612/1.241, allocations: 1.717 MB / 1.247 GB, free: 10.13 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004548/1.241, allocations: 15.25 kB / 1.247 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0007035/1.242, allocations: 161.6 kB / 1.247 GB, free: 9.988 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001654/1.243, allocations: 0.538 MB / 1.248 GB, free: 9.582 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001431/1.245, allocations: 435 kB / 1.248 GB, free: 9.281 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.002591/1.248, allocations: 2.465 MB / 1.251 GB, free: 6.855 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001204/1.249, allocations: 0.9254 MB / 1.252 GB, free: 5.922 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001718/1.25, allocations: 0.9498 MB / 1.253 GB, free: 4.969 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000737/1.251, allocations: 0.7117 MB / 1.253 GB, free: 4.254 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 9.917e-05/1.251, allocations: 56 kB / 1.253 GB, free: 4.199 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001603/1.253, allocations: 0.7445 MB / 1.254 GB, free: 3.453 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0003236/1.253, allocations: 307 kB / 1.254 GB, free: 3.152 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0007229/1.254, allocations: 0.5401 MB / 1.255 GB, free: 2.609 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001955/1.256, allocations: 1.408 MB / 1.256 GB, free: 1.199 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/1.256, allocations: 0 / 1.256 GB, free: 1.199 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.323e-06/1.256, allocations: 4 kB / 1.256 GB, free: 1.195 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.333e-05/1.256, allocations: 0 / 1.256 GB, free: 1.195 MB / 0.9825 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.002282/1.258, allocations: 1.396 MB / 1.258 GB, free: 15.75 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.688e-05/1.258, allocations: 12.03 kB / 1.258 GB, free: 15.73 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007874/1.259, allocations: 182.5 kB / 1.258 GB, free: 15.55 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001284/1.26, allocations: 0.8527 MB / 1.259 GB, free: 14.66 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.033e-05/1.26, allocations: 41 kB / 1.259 GB, free: 14.62 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.568e-05/1.261, allocations: 56 kB / 1.259 GB, free: 14.57 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001181/1.262, allocations: 0.69 MB / 1.259 GB, free: 13.86 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.802e-05/1.262, allocations: 0 / 1.259 GB, free: 13.86 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.412e-05/1.262, allocations: 20 kB / 1.26 GB, free: 13.84 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.03e-05/1.262, allocations: 12 kB / 1.26 GB, free: 13.82 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008877/1.263, allocations: 0.5152 MB / 1.26 GB, free: 13.31 MB / 0.9981 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.003898/1.267, allocations: 3.245 MB / 1.263 GB, free: 9.691 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006089/1.267, allocations: 395.1 kB / 1.264 GB, free: 9.297 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003338/1.268, allocations: 243.9 kB / 1.264 GB, free: 9.059 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003227/1.268, allocations: 194.2 kB / 1.264 GB, free: 8.832 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.159e-05/1.268, allocations: 38.55 kB / 1.264 GB, free: 8.785 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=28): time 2.094e-06/1.268, allocations: 0 / 1.264 GB, free: 8.785 MB / 0.9981 GB Notification: Performance of matching and sorting (n=28): time 0.004855/1.273, allocations: 1.485 MB / 1.265 GB, free: 7.27 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.824e-05/1.273, allocations: 55.41 kB / 1.266 GB, free: 7.203 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001427/1.274, allocations: 1.069 MB / 1.267 GB, free: 6.113 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 5.535e-05/1.274, allocations: 37.64 kB / 1.267 GB, free: 6.07 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003709/1.275, allocations: 444.5 kB / 1.267 GB, free: 5.633 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001053/1.275, allocations: 94.59 kB / 1.267 GB, free: 5.539 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000139/1.275, allocations: 77.59 kB / 1.267 GB, free: 5.457 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001059/1.275, allocations: 317.9 kB / 1.268 GB, free: 5.141 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002696/1.276, allocations: 164.7 kB / 1.268 GB, free: 4.977 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004182/1.276, allocations: 358 kB / 1.268 GB, free: 4.555 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006341/1.277, allocations: 382.9 kB / 1.268 GB, free: 4.172 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.397e-06/1.277, allocations: 0 / 1.268 GB, free: 4.172 MB / 0.9981 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.00202/1.279, allocations: 0.8049 MB / 1.269 GB, free: 3.355 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.237e-05/1.279, allocations: 4 kB / 1.269 GB, free: 3.352 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.025e-06/1.279, allocations: 4 kB / 1.269 GB, free: 3.348 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001391/1.28, allocations: 360.4 kB / 1.27 GB, free: 2.992 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001278/1.28, allocations: 19.98 kB / 1.27 GB, free: 2.973 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001033/1.281, allocations: 1.003 MB / 1.271 GB, free: 1.945 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005418/1.282, allocations: 51.64 kB / 1.271 GB, free: 1.895 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.087e-05/1.282, allocations: 12 kB / 1.271 GB, free: 1.883 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006461/1.282, allocations: 455.8 kB / 1.271 GB, free: 1.434 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003512/1.283, allocations: 313.9 kB / 1.271 GB, free: 1.055 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004458/1.283, allocations: 310 kB / 1.272 GB, free: 0.7422 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.473e-06/1.283, allocations: 0 / 1.272 GB, free: 0.7422 MB / 0.9981 GB Notification: Performance of matching and sorting (n=28) (initialization_lambda0): time 0.001112/1.284, allocations: 0.5983 MB / 1.272 GB, free: 136 kB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.223e-05/1.284, allocations: 4 kB / 1.272 GB, free: 132 kB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.845e-06/1.284, allocations: 0 / 1.272 GB, free: 132 kB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005229/1.285, allocations: 208.6 kB / 1.272 GB, free: 15.92 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001038/1.285, allocations: 19.98 kB / 1.272 GB, free: 15.9 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003553/1.289, allocations: 3.304 MB / 1.276 GB, free: 12.45 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005843/1.289, allocations: 44.48 kB / 1.276 GB, free: 12.41 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.897e-05/1.289, allocations: 19.91 kB / 1.276 GB, free: 12.39 MB / 1.014 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.0001701/1.289, allocations: 196.8 kB / 1.276 GB, free: 12.19 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001307/1.29, allocations: 102.7 kB / 1.276 GB, free: 12.09 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001253/1.291, allocations: 0.7103 MB / 1.277 GB, free: 11.36 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.987e-06/1.291, allocations: 0 / 1.277 GB, free: 11.36 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.062e-06/1.291, allocations: 0 / 1.277 GB, free: 11.36 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.452e-06/1.291, allocations: 4 kB / 1.277 GB, free: 11.36 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002156/1.293, allocations: 1.502 MB / 1.278 GB, free: 9.777 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.901e-06/1.293, allocations: 3.984 kB / 1.278 GB, free: 9.773 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.701e-05/1.293, allocations: 19.98 kB / 1.278 GB, free: 9.754 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004502/1.294, allocations: 228.8 kB / 1.278 GB, free: 9.527 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.28e-05/1.294, allocations: 4 kB / 1.278 GB, free: 9.523 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008394/1.295, allocations: 0.9757 MB / 1.279 GB, free: 8.523 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.679e-06/1.295, allocations: 7.969 kB / 1.279 GB, free: 8.516 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001056/1.296, allocations: 0.7976 MB / 1.28 GB, free: 7.676 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002776/1.296, allocations: 211.9 kB / 1.28 GB, free: 7.449 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.736e-05/1.296, allocations: 0 / 1.28 GB, free: 7.449 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003335/1.296, allocations: 27.97 kB / 1.28 GB, free: 7.422 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.091e-05/1.296, allocations: 19.97 kB / 1.28 GB, free: 7.402 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.151e-05/1.296, allocations: 12 kB / 1.28 GB, free: 7.391 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0009298/1.297, allocations: 0.7708 MB / 1.281 GB, free: 6.609 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.3e-07/1.297, allocations: 0 / 1.281 GB, free: 6.609 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001075/1.298, allocations: 399.3 kB / 1.282 GB, free: 6.219 MB / 1.014 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.0004295/1.299, allocations: 177.2 kB / 1.282 GB, free: 6.047 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001414/1.3, allocations: 0.76 MB / 1.282 GB, free: 5.277 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/1.3, allocations: 0 / 1.282 GB, free: 5.277 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0004007/1.301, allocations: 215 kB / 1.283 GB, free: 5.066 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001784/1.303, allocations: 486.2 kB / 1.283 GB, free: 4.59 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002375/1.305, allocations: 1.684 MB / 1.285 GB, free: 2.852 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000742/1.306, allocations: 1.18 MB / 1.286 GB, free: 1.645 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0005359/1.306, allocations: 203.3 kB / 1.286 GB, free: 1.441 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001058/1.306, allocations: 51.44 kB / 1.286 GB, free: 1.391 MB / 1.014 GB Notification: Performance of SimCode: time 1.032e-06/1.306, allocations: 0 / 1.286 GB, free: 1.391 MB / 1.014 GB Notification: Performance of Templates: time 0.03419/1.341, allocations: 19.87 MB / 1.306 GB, free: 13.79 MB / 1.045 GB make -j1 -f Buildings_9_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries.makefile (rm -f Buildings_9_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries.pipe ; mkfifo Buildings_9_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries.pipe >> ../files/Buildings_9_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries.sim & ./Buildings_9_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_FixedResistances_Validation_PressureDropsSeries.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches