Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.007062/0.007062, allocations: 96.7 kB / 15.73 MB, free: 6.047 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.001418/0.001418, allocations: 194.3 kB / 16.67 MB, free: 5.973 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.45/1.45, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.84/2.84, allocations: 437 MB / 0.7105 GB, free: 5 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001522/0.001522, allocations: 59.91 kB / 1.019 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3518/0.3533, allocations: 151.6 MB / 1.167 GB, free: 6.84 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries): time 1.104/1.458, allocations: 161.5 MB / 1.324 GB, free: 7.484 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.003806/1.461, allocations: 1.718 MB / 1.326 GB, free: 6.449 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006105/1.462, allocations: 14.53 kB / 1.326 GB, free: 6.441 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.00076/1.463, allocations: 157.3 kB / 1.326 GB, free: 6.348 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.001804/1.465, allocations: 0.5371 MB / 1.327 GB, free: 6.062 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.001632/1.466, allocations: 423.7 kB / 1.327 GB, free: 5.871 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.003387/1.47, allocations: 2.467 MB / 1.33 GB, free: 4.793 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001746/1.472, allocations: 0.9231 MB / 1.33 GB, free: 4.445 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002494/1.474, allocations: 0.948 MB / 1.331 GB, free: 4.059 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0018/1.476, allocations: 0.7092 MB / 1.332 GB, free: 3.75 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0003513/1.476, allocations: 57.22 kB / 1.332 GB, free: 3.75 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002654/1.479, allocations: 0.7472 MB / 1.333 GB, free: 3.5 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0007029/1.48, allocations: 314.7 kB / 1.333 GB, free: 3.367 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.001684/1.481, allocations: 0.5344 MB / 1.334 GB, free: 3.07 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.003437/1.485, allocations: 1.408 MB / 1.335 GB, free: 2.566 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 8.516e-06/1.485, allocations: 1.219 kB / 1.335 GB, free: 2.566 MB / 1.014 GB Notification: Performance of FrontEnd: time 5.18e-06/1.485, allocations: 0 / 1.335 GB, free: 2.566 MB / 1.014 GB Notification: Performance of Transformations before backend: time 7.643e-05/1.485, allocations: 3.938 kB / 1.335 GB, free: 2.562 MB / 1.014 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.004427/1.489, allocations: 1.44 MB / 1.336 GB, free: 1.566 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 6.039e-05/1.489, allocations: 11.48 kB / 1.336 GB, free: 1.566 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001436/1.491, allocations: 189.9 kB / 1.337 GB, free: 1.492 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002212/1.493, allocations: 0.8599 MB / 1.337 GB, free: 1.004 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.03e-05/1.493, allocations: 41.31 kB / 1.338 GB, free: 0.9883 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001545/1.493, allocations: 55.88 kB / 1.338 GB, free: 0.9727 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00162/1.495, allocations: 0.6834 MB / 1.338 GB, free: 0.7305 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.202e-05/1.495, allocations: 0 / 1.338 GB, free: 0.7305 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.531e-05/1.495, allocations: 24.47 kB / 1.338 GB, free: 0.7109 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.144e-05/1.495, allocations: 15.81 kB / 1.338 GB, free: 0.707 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001313/1.496, allocations: 0.5135 MB / 1.339 GB, free: 0.5742 MB / 1.014 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.005605/1.502, allocations: 3.246 MB / 1.342 GB, free: 14.05 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000821/1.503, allocations: 393.1 kB / 1.342 GB, free: 13.92 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004498/1.503, allocations: 243.1 kB / 1.343 GB, free: 13.84 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003514/1.504, allocations: 191.6 kB / 1.343 GB, free: 13.65 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.165e-05/1.504, allocations: 36.59 kB / 1.343 GB, free: 13.61 MB / 1.029 GB Notification: Performance of pre-optimization done (n=28): time 2.194e-06/1.504, allocations: 3.938 kB / 1.343 GB, free: 13.6 MB / 1.029 GB Notification: Performance of matching and sorting (n=28): time 0.005286/1.509, allocations: 1.492 MB / 1.344 GB, free: 13.16 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.218e-05/1.509, allocations: 55.16 kB / 1.344 GB, free: 13.1 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001996/1.511, allocations: 1.069 MB / 1.345 GB, free: 12.73 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 8.251e-05/1.511, allocations: 34.08 kB / 1.345 GB, free: 12.69 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004238/1.512, allocations: 446.4 kB / 1.346 GB, free: 12.35 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001108/1.512, allocations: 98.25 kB / 1.346 GB, free: 12.27 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001645/1.512, allocations: 75.14 kB / 1.346 GB, free: 12.23 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001259/1.512, allocations: 324.5 kB / 1.346 GB, free: 11.92 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003162/1.512, allocations: 160.2 kB / 1.346 GB, free: 11.87 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004993/1.513, allocations: 364 kB / 1.347 GB, free: 11.61 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007434/1.514, allocations: 387.3 kB / 1.347 GB, free: 11.47 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.032e-06/1.514, allocations: 2.109 kB / 1.347 GB, free: 11.47 MB / 1.029 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.002355/1.516, allocations: 0.8046 MB / 1.348 GB, free: 11.19 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.183e-05/1.516, allocations: 8.781 kB / 1.348 GB, free: 11.18 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.684e-06/1.516, allocations: 5.312 kB / 1.348 GB, free: 11.18 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001561/1.518, allocations: 354.6 kB / 1.348 GB, free: 11.11 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001364/1.518, allocations: 21.77 kB / 1.348 GB, free: 11.1 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001157/1.519, allocations: 1.011 MB / 1.349 GB, free: 10.43 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007476/1.52, allocations: 51.31 kB / 1.349 GB, free: 10.4 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.039e-05/1.52, allocations: 12.28 kB / 1.349 GB, free: 10.4 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008314/1.521, allocations: 451.9 kB / 1.35 GB, free: 10.23 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004022/1.521, allocations: 317.2 kB / 1.35 GB, free: 9.988 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005096/1.522, allocations: 310.3 kB / 1.35 GB, free: 9.867 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.485e-06/1.522, allocations: 0 / 1.35 GB, free: 9.867 MB / 1.029 GB Notification: Performance of matching and sorting (n=28) (initialization_lambda0): time 0.001383/1.523, allocations: 0.6098 MB / 1.351 GB, free: 9.629 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.32e-05/1.523, allocations: 9.719 kB / 1.351 GB, free: 9.625 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.733e-06/1.523, allocations: 3.188 kB / 1.351 GB, free: 9.625 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005657/1.524, allocations: 192.6 kB / 1.351 GB, free: 9.586 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000116/1.524, allocations: 21.69 kB / 1.351 GB, free: 9.582 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004134/1.528, allocations: 3.308 MB / 1.354 GB, free: 7.316 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007743/1.529, allocations: 45.75 kB / 1.354 GB, free: 7.305 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.501e-05/1.529, allocations: 6.406 kB / 1.354 GB, free: 7.305 MB / 1.029 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.0002019/1.529, allocations: 197.8 kB / 1.355 GB, free: 7.113 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002768/1.529, allocations: 102.9 kB / 1.355 GB, free: 7.055 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001467/1.531, allocations: 0.7069 MB / 1.355 GB, free: 6.699 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.744e-06/1.531, allocations: 4.594 kB / 1.355 GB, free: 6.699 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.024e-06/1.531, allocations: 0 / 1.355 GB, free: 6.699 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.832e-06/1.531, allocations: 3.984 kB / 1.355 GB, free: 6.695 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002754/1.533, allocations: 1.502 MB / 1.357 GB, free: 5.68 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.38e-06/1.533, allocations: 1.75 kB / 1.357 GB, free: 5.68 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000106/1.534, allocations: 21.83 kB / 1.357 GB, free: 5.672 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004757/1.534, allocations: 219.9 kB / 1.357 GB, free: 5.57 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.996e-05/1.534, allocations: 16.48 kB / 1.357 GB, free: 5.559 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009232/1.535, allocations: 0.9816 MB / 1.358 GB, free: 4.797 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.468e-06/1.535, allocations: 2.5 kB / 1.358 GB, free: 4.797 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001264/1.536, allocations: 0.803 MB / 1.359 GB, free: 4.262 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004194/1.537, allocations: 223.7 kB / 1.359 GB, free: 4.074 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002017/1.537, allocations: 6.844 kB / 1.359 GB, free: 4.07 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004535/1.537, allocations: 18.23 kB / 1.359 GB, free: 4.062 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.728e-05/1.537, allocations: 24.12 kB / 1.359 GB, free: 4.047 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.301e-05/1.538, allocations: 14.25 kB / 1.359 GB, free: 4.043 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.001165/1.539, allocations: 0.7724 MB / 1.36 GB, free: 3.613 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.71e-07/1.539, allocations: 5.312 kB / 1.36 GB, free: 3.609 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.001431/1.54, allocations: 395.2 kB / 1.36 GB, free: 3.559 MB / 1.029 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.0004366/1.541, allocations: 180 kB / 1.36 GB, free: 3.426 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001539/1.542, allocations: 0.7627 MB / 1.361 GB, free: 2.988 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 6.462e-06/1.542, allocations: 4 kB / 1.361 GB, free: 2.984 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0004352/1.543, allocations: 204.4 kB / 1.361 GB, free: 2.898 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002129/1.545, allocations: 497.9 kB / 1.362 GB, free: 2.645 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002829/1.548, allocations: 1.716 MB / 1.364 GB, free: 1.641 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008902/1.548, allocations: 1.178 MB / 1.365 GB, free: 0.7109 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0006237/1.549, allocations: 202 kB / 1.365 GB, free: 0.625 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001203/1.549, allocations: 60.86 kB / 1.365 GB, free: 0.6094 MB / 1.029 GB Notification: Performance of SimCode: time 7.51e-07/1.549, allocations: 0 / 1.365 GB, free: 0.6094 MB / 1.029 GB Notification: Performance of Templates: time 0.03744/1.587, allocations: 19.85 MB / 1.384 GB, free: 4.766 MB / 1.045 GB make -j1 -f Buildings_10_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries.makefile (rm -f Buildings_10_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries.pipe ; mkfifo Buildings_10_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries.pipe >> ../files/Buildings_10_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries.sim & ./Buildings_10_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_FixedResistances_Validation_PressureDropsSeries.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches