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.001644/0.001644, allocations: 110.8 kB / 16.37 MB, free: 6.469 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.001602/0.001602, allocations: 189.8 kB / 17.3 MB, free: 5.828 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.374/1.374, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.597/2.597, allocations: 442.6 MB / 0.7165 GB, free: 14.67 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00127/0.00127, allocations: 63.22 kB / 0.8773 GB, free: 11 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.32/0.3213, allocations: 153 MB / 1.027 GB, free: 2.082 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries): time 0.7705/1.092, allocations: 161.5 MB / 1.184 GB, free: 2.277 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.003673/1.096, allocations: 1.711 MB / 1.186 GB, free: 0.8945 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004993/1.096, allocations: 14.44 kB / 1.186 GB, free: 0.8867 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0007302/1.097, allocations: 159.9 kB / 1.186 GB, free: 0.7539 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.001499/1.098, allocations: 0.5091 MB / 1.187 GB, free: 376 kB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.001362/1.1, allocations: 431.3 kB / 1.187 GB, free: 76 kB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.002876/1.103, allocations: 2.451 MB / 1.19 GB, free: 14.71 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001404/1.104, allocations: 0.9371 MB / 1.191 GB, free: 14.18 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002094/1.106, allocations: 0.9388 MB / 1.191 GB, free: 13.67 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00098/1.107, allocations: 0.7062 MB / 1.192 GB, free: 13.27 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0001108/1.107, allocations: 56.38 kB / 1.192 GB, free: 13.27 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001779/1.109, allocations: 0.7472 MB / 1.193 GB, free: 12.87 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0003892/1.11, allocations: 306.6 kB / 1.193 GB, free: 12.67 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0007802/1.11, allocations: 0.5309 MB / 1.194 GB, free: 12.35 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.001834/1.112, allocations: 1.41 MB / 1.195 GB, free: 11.51 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 5.63e-06/1.112, allocations: 0 / 1.195 GB, free: 11.51 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.445e-06/1.112, allocations: 0 / 1.195 GB, free: 11.51 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.325e-05/1.112, allocations: 0 / 1.195 GB, free: 11.51 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.00227/1.114, allocations: 1.404 MB / 1.196 GB, free: 10.44 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.28e-05/1.115, allocations: 10.66 kB / 1.196 GB, free: 10.44 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008414/1.115, allocations: 181 kB / 1.197 GB, free: 10.35 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001467/1.117, allocations: 0.8438 MB / 1.197 GB, free: 9.75 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.119e-05/1.117, allocations: 48.88 kB / 1.198 GB, free: 9.727 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.745e-05/1.117, allocations: 62.22 kB / 1.198 GB, free: 9.707 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001077/1.118, allocations: 0.682 MB / 1.198 GB, free: 9.309 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.614e-05/1.118, allocations: 2.844 kB / 1.198 GB, free: 9.309 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.564e-05/1.118, allocations: 14.69 kB / 1.198 GB, free: 9.297 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.407e-05/1.118, allocations: 13.38 kB / 1.198 GB, free: 9.297 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008527/1.119, allocations: 0.5246 MB / 1.199 GB, free: 9.039 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.003864/1.123, allocations: 3.241 MB / 1.202 GB, free: 6.098 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005671/1.123, allocations: 390.4 kB / 1.202 GB, free: 5.898 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003354/1.124, allocations: 243.7 kB / 1.203 GB, free: 5.781 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003265/1.124, allocations: 195 kB / 1.203 GB, free: 5.578 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.104e-05/1.124, allocations: 37.03 kB / 1.203 GB, free: 5.535 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=28): time 2.063e-06/1.124, allocations: 0 / 1.203 GB, free: 5.535 MB / 0.9044 GB Notification: Performance of matching and sorting (n=28): time 0.004861/1.129, allocations: 1.486 MB / 1.204 GB, free: 4.695 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.709e-05/1.129, allocations: 60.47 kB / 1.204 GB, free: 4.629 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001517/1.131, allocations: 1.067 MB / 1.205 GB, free: 4.059 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 6.274e-05/1.131, allocations: 34.14 kB / 1.205 GB, free: 4.023 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003403/1.131, allocations: 439.9 kB / 1.206 GB, free: 3.652 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 8.294e-05/1.131, allocations: 99.3 kB / 1.206 GB, free: 3.566 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001188/1.131, allocations: 76.66 kB / 1.206 GB, free: 3.52 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001024/1.131, allocations: 320 kB / 1.206 GB, free: 3.203 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002547/1.132, allocations: 169.2 kB / 1.206 GB, free: 3.113 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000407/1.132, allocations: 351.8 kB / 1.207 GB, free: 2.816 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005779/1.133, allocations: 388.4 kB / 1.207 GB, free: 2.605 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.078e-06/1.133, allocations: 2.562 kB / 1.207 GB, free: 2.605 MB / 0.9044 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001931/1.135, allocations: 0.7968 MB / 1.208 GB, free: 2.172 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/1.135, allocations: 8.688 kB / 1.208 GB, free: 2.168 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.278e-06/1.135, allocations: 2.5 kB / 1.208 GB, free: 2.168 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001437/1.136, allocations: 363.3 kB / 1.208 GB, free: 1.996 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001247/1.136, allocations: 16.42 kB / 1.208 GB, free: 1.992 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001017/1.137, allocations: 1.011 MB / 1.209 GB, free: 1.207 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006129/1.138, allocations: 47.97 kB / 1.209 GB, free: 1.18 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.93e-05/1.138, allocations: 13.98 kB / 1.209 GB, free: 1.176 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006466/1.139, allocations: 449.9 kB / 1.21 GB, free: 0.9102 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003604/1.139, allocations: 309 kB / 1.21 GB, free: 0.6328 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004355/1.139, allocations: 311.6 kB / 1.21 GB, free: 472 kB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.653e-06/1.139, allocations: 0 / 1.21 GB, free: 472 kB / 0.9044 GB Notification: Performance of matching and sorting (n=28) (initialization_lambda0): time 0.001159/1.141, allocations: 0.6064 MB / 1.211 GB, free: 40 kB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.047e-05/1.141, allocations: 4 kB / 1.211 GB, free: 36 kB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.755e-06/1.141, allocations: 0 / 1.211 GB, free: 36 kB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000526/1.141, allocations: 202.7 kB / 1.211 GB, free: 15.84 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001014/1.141, allocations: 23.92 kB / 1.211 GB, free: 15.81 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003671/1.145, allocations: 3.307 MB / 1.214 GB, free: 12.36 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006313/1.146, allocations: 40.2 kB / 1.214 GB, free: 12.32 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.907e-05/1.146, allocations: 11.98 kB / 1.214 GB, free: 12.31 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.0001802/1.146, allocations: 198.2 kB / 1.215 GB, free: 12.11 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001347/1.146, allocations: 98.88 kB / 1.215 GB, free: 12.02 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001265/1.147, allocations: 0.7148 MB / 1.215 GB, free: 11.29 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.859e-06/1.147, allocations: 4 kB / 1.215 GB, free: 11.29 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.202e-06/1.147, allocations: 0 / 1.215 GB, free: 11.29 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.656e-06/1.147, allocations: 0 / 1.215 GB, free: 11.29 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002382/1.15, allocations: 1.504 MB / 1.217 GB, free: 9.699 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.244e-06/1.15, allocations: 4 kB / 1.217 GB, free: 9.695 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.95e-05/1.15, allocations: 23.98 kB / 1.217 GB, free: 9.672 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004361/1.15, allocations: 216.5 kB / 1.217 GB, free: 9.457 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.176e-05/1.15, allocations: 12 kB / 1.217 GB, free: 9.445 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008313/1.151, allocations: 0.9739 MB / 1.218 GB, free: 8.445 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.969e-06/1.151, allocations: 7.969 kB / 1.218 GB, free: 8.438 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001128/1.152, allocations: 0.8056 MB / 1.219 GB, free: 7.59 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004041/1.153, allocations: 215.8 kB / 1.219 GB, free: 7.359 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.491e-05/1.153, allocations: 11.98 kB / 1.219 GB, free: 7.348 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003503/1.153, allocations: 19.98 kB / 1.219 GB, free: 7.328 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.257e-05/1.153, allocations: 23.91 kB / 1.219 GB, free: 7.305 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.019e-05/1.153, allocations: 12 kB / 1.219 GB, free: 7.293 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0009622/1.154, allocations: 0.7708 MB / 1.22 GB, free: 6.512 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.5e-07/1.154, allocations: 0 / 1.22 GB, free: 6.512 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.001055/1.155, allocations: 399.3 kB / 1.22 GB, free: 6.121 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.0004259/1.156, allocations: 177.3 kB / 1.22 GB, free: 5.945 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.001445/1.157, allocations: 0.7564 MB / 1.221 GB, free: 5.18 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 4.408e-06/1.157, allocations: 0 / 1.221 GB, free: 5.18 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0004038/1.158, allocations: 214.7 kB / 1.221 GB, free: 4.969 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001823/1.159, allocations: 485.9 kB / 1.222 GB, free: 4.496 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002413/1.162, allocations: 1.695 MB / 1.224 GB, free: 2.754 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007525/1.163, allocations: 1.176 MB / 1.225 GB, free: 1.551 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.0005532/1.163, allocations: 211.3 kB / 1.225 GB, free: 1.34 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001032/1.163, allocations: 55.44 kB / 1.225 GB, free: 1.289 MB / 0.92 GB Notification: Performance of SimCode: time 6.61e-07/1.163, allocations: 3.938 kB / 1.225 GB, free: 1.285 MB / 0.92 GB Notification: Performance of Templates: time 0.03279/1.196, allocations: 19.72 MB / 1.244 GB, free: 13.79 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 cvode -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