Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.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.PressureDropsExplicitLinearized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|res11.m_flow|res21.m_flow|res31.dp|res41.dp",fileNamePrefix="Buildings_10_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized") translateModel(Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|res11.m_flow|res21.m_flow|res31.dp|res41.dp",fileNamePrefix="Buildings_10_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00788/0.00788, allocations: 98.19 kB / 15.73 MB, free: 6.012 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.001438/0.001438, allocations: 197.2 kB / 16.67 MB, free: 5.949 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.431/1.431, allocations: 222.9 MB / 240.4 MB, free: 4.336 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.765/2.765, allocations: 437 MB / 0.7105 GB, free: 5.074 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001981/0.001981, allocations: 67.89 kB / 1.019 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3885/0.3905, allocations: 151.6 MB / 1.167 GB, free: 6.828 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized): time 1.059/1.45, allocations: 241.9 MB / 1.403 GB, free: 11.64 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.01886/1.469, allocations: 13.53 MB / 1.416 GB, free: 0.6289 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003028/1.472, allocations: 58.88 kB / 1.416 GB, free: 0.6055 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.00304/1.475, allocations: 1.016 MB / 1.417 GB, free: 15.76 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.005431/1.48, allocations: 1.85 MB / 1.419 GB, free: 14.31 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.004686/1.485, allocations: 1.248 MB / 1.42 GB, free: 13.39 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.005917/1.491, allocations: 3.269 MB / 1.423 GB, free: 11.55 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00205/1.493, allocations: 1.048 MB / 1.424 GB, free: 10.89 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01227/1.505, allocations: 4.256 MB / 1.429 GB, free: 8.078 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002501/1.508, allocations: 0.8998 MB / 1.429 GB, free: 7.547 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0002442/1.508, allocations: 76.53 kB / 1.429 GB, free: 7.492 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002032/1.51, allocations: 0.7014 MB / 1.43 GB, free: 6.789 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0004857/1.511, allocations: 438.6 kB / 1.431 GB, free: 6.359 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.000949/1.512, allocations: 0.6917 MB / 1.431 GB, free: 5.664 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.002473/1.514, allocations: 1.525 MB / 1.433 GB, free: 4.133 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 6.251e-06/1.514, allocations: 0 / 1.433 GB, free: 4.133 MB / 1.092 GB Notification: Performance of FrontEnd: time 2.675e-06/1.514, allocations: 0 / 1.433 GB, free: 4.133 MB / 1.092 GB Notification: Performance of Transformations before backend: time 2.468e-05/1.514, allocations: 0 / 1.433 GB, free: 4.133 MB / 1.092 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 193 * Number of variables: 193 Notification: Performance of Generate backend data structure: time 0.002426/1.517, allocations: 1.661 MB / 1.434 GB, free: 2.418 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.736e-05/1.517, allocations: 15.97 kB / 1.434 GB, free: 2.402 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007941/1.518, allocations: 214.9 kB / 1.435 GB, free: 2.191 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00148/1.519, allocations: 0.9101 MB / 1.435 GB, free: 1.227 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001321/1.519, allocations: 121.4 kB / 1.436 GB, free: 1.094 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001006/1.519, allocations: 83.94 kB / 1.436 GB, free: 1.012 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001309/1.521, allocations: 0.9143 MB / 1.437 GB, free: 8 kB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.236e-05/1.521, allocations: 7.938 kB / 1.437 GB, free: 0 / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.226e-05/1.521, allocations: 32.08 kB / 1.437 GB, free: 15.96 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.498e-05/1.521, allocations: 23.98 kB / 1.437 GB, free: 15.94 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008626/1.522, allocations: 0.5072 MB / 1.437 GB, free: 15.43 MB / 1.107 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.005365/1.527, allocations: 4.873 MB / 1.442 GB, free: 10.25 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005628/1.528, allocations: 416.7 kB / 1.442 GB, free: 9.719 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003735/1.528, allocations: 267.8 kB / 1.443 GB, free: 9.414 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002371/1.528, allocations: 97.09 kB / 1.443 GB, free: 9.301 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.949e-05/1.528, allocations: 62.42 kB / 1.443 GB, free: 9.23 MB / 1.107 GB Notification: Performance of pre-optimization done (n=31): time 2.184e-06/1.528, allocations: 0 / 1.443 GB, free: 9.23 MB / 1.107 GB Notification: Performance of matching and sorting (n=31): time 0.001889/1.53, allocations: 0.7824 MB / 1.443 GB, free: 8.398 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001694/1.53, allocations: 405.8 kB / 1.444 GB, free: 7.91 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00156/1.532, allocations: 1.271 MB / 1.445 GB, free: 6.629 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 5.043e-05/1.532, allocations: 33.7 kB / 1.445 GB, free: 6.59 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005309/1.533, allocations: 0.5499 MB / 1.446 GB, free: 6.035 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 8.735e-05/1.533, allocations: 111.2 kB / 1.446 GB, free: 5.926 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002132/1.533, allocations: 85.64 kB / 1.446 GB, free: 5.836 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0002948/1.533, allocations: 326 kB / 1.446 GB, free: 5.512 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002092/1.533, allocations: 87.92 kB / 1.446 GB, free: 5.426 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000404/1.534, allocations: 331.3 kB / 1.447 GB, free: 5.008 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006008/1.534, allocations: 328.5 kB / 1.447 GB, free: 4.641 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.572e-06/1.534, allocations: 4 kB / 1.447 GB, free: 4.637 MB / 1.107 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0008685/1.535, allocations: 0.494 MB / 1.447 GB, free: 4.129 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 2.382e-05/1.535, allocations: 10.03 kB / 1.447 GB, free: 4.121 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.918e-06/1.535, allocations: 4 kB / 1.447 GB, free: 4.117 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003556/1.536, allocations: 74.02 kB / 1.447 GB, free: 4.039 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002133/1.536, allocations: 59.91 kB / 1.447 GB, free: 3.98 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0026/1.539, allocations: 3.269 MB / 1.451 GB, free: 452 kB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007448/1.539, allocations: 99.56 kB / 1.451 GB, free: 352 kB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.483e-05/1.539, allocations: 27.92 kB / 1.451 GB, free: 324 kB / 1.107 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (31): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003863/1.54, allocations: 269.7 kB / 1.451 GB, free: 44 kB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003846/1.54, allocations: 147.2 kB / 1.451 GB, free: 15.89 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001616/1.54, allocations: 128 kB / 1.451 GB, free: 15.77 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.543e-06/1.54, allocations: 8 kB / 1.451 GB, free: 15.76 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.043e-05/1.54, allocations: 7.75 kB / 1.451 GB, free: 15.75 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.312e-06/1.54, allocations: 7.938 kB / 1.451 GB, free: 15.75 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003193/1.544, allocations: 2.512 MB / 1.454 GB, free: 13.09 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.222e-06/1.544, allocations: 4.688 kB / 1.454 GB, free: 13.09 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001501/1.544, allocations: 51.91 kB / 1.454 GB, free: 13.04 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002145/1.544, allocations: 73.61 kB / 1.454 GB, free: 12.96 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.95e-05/1.544, allocations: 12 kB / 1.454 GB, free: 12.95 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002439/1.546, allocations: 3.267 MB / 1.457 GB, free: 9.398 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.372e-06/1.546, allocations: 7.938 kB / 1.457 GB, free: 9.391 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001064/1.547, allocations: 0.6967 MB / 1.458 GB, free: 8.602 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004278/1.548, allocations: 260.1 kB / 1.458 GB, free: 8.328 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001155/1.548, allocations: 12.19 kB / 1.458 GB, free: 8.316 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005997/1.549, allocations: 35.95 kB / 1.458 GB, free: 8.281 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.687e-05/1.549, allocations: 51.81 kB / 1.458 GB, free: 8.23 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.696e-05/1.549, allocations: 16 kB / 1.458 GB, free: 8.215 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.001159/1.55, allocations: 0.8763 MB / 1.459 GB, free: 7.34 MB / 1.123 GB Notification: Performance of sort global known variables: time 2.21e-07/1.55, allocations: 3.938 kB / 1.459 GB, free: 7.336 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.001017/1.551, allocations: 259.8 kB / 1.459 GB, free: 7.082 MB / 1.123 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * 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 (25): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005126/1.552, allocations: 206.6 kB / 1.459 GB, free: 6.883 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.0009608/1.552, allocations: 0.5243 MB / 1.46 GB, free: 6.332 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/1.552, allocations: 0 / 1.46 GB, free: 6.332 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.0005394/1.553, allocations: 410.9 kB / 1.46 GB, free: 5.906 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00335/1.556, allocations: 0.7575 MB / 1.461 GB, free: 5.152 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003083/1.559, allocations: 1.849 MB / 1.463 GB, free: 3.203 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009824/1.56, allocations: 1.131 MB / 1.464 GB, free: 2.043 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.0008404/1.561, allocations: 238.5 kB / 1.464 GB, free: 1.805 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000169/1.562, allocations: 79.42 kB / 1.464 GB, free: 1.73 MB / 1.123 GB Notification: Performance of SimCode: time 4.11e-07/1.562, allocations: 4 kB / 1.464 GB, free: 1.727 MB / 1.123 GB Notification: Performance of Templates: time 0.04597/1.608, allocations: 23.33 MB / 1.487 GB, free: 10.75 MB / 1.154 GB make -j1 -f Buildings_10_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.makefile (rm -f Buildings_10_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.pipe ; mkfifo Buildings_10_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.pipe >> ../files/Buildings_10_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.sim & ./Buildings_10_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_FixedResistances_Validation_PressureDropsExplicitLinearized.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches