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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.007226/0.007227, allocations: 102.9 kB / 15.73 MB, free: 6.031 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.001634/0.001634, allocations: 199 kB / 16.67 MB, free: 5.969 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.362/1.362, allocations: 222.9 MB / 240.4 MB, free: 4.172 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.793/2.793, allocations: 461.9 MB / 0.7348 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002091/0.002091, allocations: 60.12 kB / 1.054 GB, free: 7.168 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2924/0.2945, allocations: 157.4 MB / 1.208 GB, free: 9.656 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries): time 0.8572/1.152, allocations: 161.5 MB / 1.365 GB, free: 5.191 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.003019/1.155, allocations: 1.703 MB / 1.367 GB, free: 4.008 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002828/1.155, allocations: 18.81 kB / 1.367 GB, free: 3.996 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0005517/1.156, allocations: 153.4 kB / 1.367 GB, free: 3.902 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.001255/1.157, allocations: 0.5225 MB / 1.368 GB, free: 3.621 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.001168/1.158, allocations: 431 kB / 1.368 GB, free: 3.426 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.002536/1.161, allocations: 2.456 MB / 1.371 GB, free: 2.355 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001247/1.162, allocations: 0.9324 MB / 1.372 GB, free: 1.996 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001446/1.163, allocations: 0.938 MB / 1.372 GB, free: 1.617 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00085/1.164, allocations: 0.7059 MB / 1.373 GB, free: 1.312 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0001063/1.164, allocations: 56.28 kB / 1.373 GB, free: 1.312 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001449/1.166, allocations: 0.745 MB / 1.374 GB, free: 1.062 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0003221/1.166, allocations: 313.9 kB / 1.374 GB, free: 0.918 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0006164/1.167, allocations: 0.5325 MB / 1.375 GB, free: 0.5977 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.001592/1.168, allocations: 1.403 MB / 1.376 GB, free: 15.77 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/1.169, allocations: 3.938 kB / 1.376 GB, free: 15.76 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.373e-06/1.169, allocations: 0.9375 kB / 1.376 GB, free: 15.76 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.316e-05/1.169, allocations: 0 / 1.376 GB, free: 15.76 MB / 1.076 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.002165/1.171, allocations: 1.408 MB / 1.377 GB, free: 14.68 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.522e-05/1.171, allocations: 8.688 kB / 1.377 GB, free: 14.68 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00078/1.172, allocations: 182.5 kB / 1.378 GB, free: 14.6 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001498/1.173, allocations: 0.8443 MB / 1.378 GB, free: 14 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.667e-05/1.173, allocations: 44.53 kB / 1.379 GB, free: 13.98 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.886e-05/1.173, allocations: 56.78 kB / 1.379 GB, free: 13.96 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001133/1.174, allocations: 0.6805 MB / 1.379 GB, free: 13.57 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.564e-05/1.174, allocations: 3.938 kB / 1.379 GB, free: 13.56 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.02e-05/1.174, allocations: 21.31 kB / 1.379 GB, free: 13.55 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.318e-05/1.174, allocations: 11.56 kB / 1.379 GB, free: 13.55 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008911/1.175, allocations: 0.5226 MB / 1.38 GB, free: 13.3 MB / 1.076 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.00357/1.179, allocations: 3.245 MB / 1.383 GB, free: 10.35 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005937/1.18, allocations: 394.5 kB / 1.383 GB, free: 10.15 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003665/1.18, allocations: 243.2 kB / 1.384 GB, free: 10.03 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00028/1.18, allocations: 195.1 kB / 1.384 GB, free: 9.828 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.942e-05/1.18, allocations: 32.81 kB / 1.384 GB, free: 9.789 MB / 1.076 GB Notification: Performance of pre-optimization done (n=28): time 1.563e-06/1.18, allocations: 0 / 1.384 GB, free: 9.789 MB / 1.076 GB Notification: Performance of matching and sorting (n=28): time 0.005011/1.185, allocations: 1.477 MB / 1.385 GB, free: 8.961 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.303e-05/1.185, allocations: 53.62 kB / 1.385 GB, free: 8.898 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001277/1.187, allocations: 1.069 MB / 1.386 GB, free: 8.328 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 4.584e-05/1.187, allocations: 33.67 kB / 1.386 GB, free: 8.293 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003432/1.187, allocations: 443 kB / 1.387 GB, free: 7.918 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 8.514e-05/1.187, allocations: 100 kB / 1.387 GB, free: 7.832 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001259/1.187, allocations: 72.58 kB / 1.387 GB, free: 7.789 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001038/1.187, allocations: 321.5 kB / 1.387 GB, free: 7.473 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002964/1.188, allocations: 168.2 kB / 1.387 GB, free: 7.383 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004329/1.188, allocations: 355.4 kB / 1.388 GB, free: 7.082 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006158/1.189, allocations: 405.5 kB / 1.388 GB, free: 6.855 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/1.189, allocations: 1.156 kB / 1.388 GB, free: 6.855 MB / 1.076 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.002016/1.191, allocations: 0.8029 MB / 1.389 GB, free: 6.418 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.796e-05/1.191, allocations: 9.297 kB / 1.389 GB, free: 6.414 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/1.191, allocations: 1.75 kB / 1.389 GB, free: 6.414 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001495/1.192, allocations: 360.6 kB / 1.389 GB, free: 6.242 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001226/1.192, allocations: 18.05 kB / 1.389 GB, free: 6.238 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009666/1.193, allocations: 0.9996 MB / 1.39 GB, free: 5.469 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005881/1.194, allocations: 50.12 kB / 1.39 GB, free: 5.438 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.997e-05/1.194, allocations: 17.17 kB / 1.39 GB, free: 5.43 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006694/1.195, allocations: 456.3 kB / 1.391 GB, free: 5.164 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003859/1.195, allocations: 314.8 kB / 1.391 GB, free: 4.883 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004582/1.196, allocations: 302.5 kB / 1.391 GB, free: 4.719 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.473e-06/1.196, allocations: 0 / 1.391 GB, free: 4.719 MB / 1.076 GB Notification: Performance of matching and sorting (n=28) (initialization_lambda0): time 0.001143/1.197, allocations: 0.6028 MB / 1.392 GB, free: 4.387 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.01e-05/1.197, allocations: 5.5 kB / 1.392 GB, free: 4.387 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.845e-06/1.197, allocations: 1.906 kB / 1.392 GB, free: 4.387 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005283/1.197, allocations: 206.4 kB / 1.392 GB, free: 4.289 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001033/1.197, allocations: 19.36 kB / 1.392 GB, free: 4.285 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00371/1.201, allocations: 3.293 MB / 1.395 GB, free: 1.668 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005931/1.202, allocations: 44.89 kB / 1.395 GB, free: 1.645 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.487e-05/1.202, allocations: 8.25 kB / 1.395 GB, free: 1.645 MB / 1.076 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.0001557/1.202, allocations: 200.5 kB / 1.396 GB, free: 1.449 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000133/1.202, allocations: 103.9 kB / 1.396 GB, free: 1.391 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001275/1.203, allocations: 0.7012 MB / 1.396 GB, free: 0.9922 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.549e-06/1.203, allocations: 4.781 kB / 1.396 GB, free: 0.9922 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.182e-06/1.203, allocations: 3.938 kB / 1.396 GB, free: 0.9883 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/1.203, allocations: 0 / 1.396 GB, free: 0.9883 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002277/1.206, allocations: 1.519 MB / 1.398 GB, free: 15.96 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.959e-06/1.206, allocations: 3.375 kB / 1.398 GB, free: 15.96 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001023/1.206, allocations: 16.61 kB / 1.398 GB, free: 15.95 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004406/1.206, allocations: 213.8 kB / 1.398 GB, free: 15.86 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.174e-05/1.206, allocations: 8.906 kB / 1.398 GB, free: 15.85 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008093/1.207, allocations: 0.9855 MB / 1.399 GB, free: 15.09 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.975e-06/1.207, allocations: 2.625 kB / 1.399 GB, free: 15.09 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001069/1.208, allocations: 0.7985 MB / 1.4 GB, free: 14.55 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003588/1.209, allocations: 218 kB / 1.4 GB, free: 14.37 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9e-05/1.209, allocations: 8.844 kB / 1.4 GB, free: 14.37 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000376/1.209, allocations: 18.23 kB / 1.4 GB, free: 14.36 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.831e-05/1.209, allocations: 20 kB / 1.4 GB, free: 14.35 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.142e-05/1.209, allocations: 20.06 kB / 1.4 GB, free: 14.34 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0008831/1.21, allocations: 0.7704 MB / 1.401 GB, free: 13.91 MB / 1.092 GB Notification: Performance of sort global known variables: time 1.6e-07/1.21, allocations: 0 / 1.401 GB, free: 13.91 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.0009852/1.211, allocations: 405 kB / 1.401 GB, free: 13.86 MB / 1.092 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.0003512/1.211, allocations: 175.1 kB / 1.401 GB, free: 13.73 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.001364/1.213, allocations: 0.7505 MB / 1.402 GB, free: 13.3 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/1.213, allocations: 128 / 1.402 GB, free: 13.3 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0004033/1.213, allocations: 207.9 kB / 1.402 GB, free: 13.21 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001992/1.215, allocations: 490.5 kB / 1.403 GB, free: 12.95 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002204/1.217, allocations: 1.691 MB / 1.405 GB, free: 11.98 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007321/1.218, allocations: 1.174 MB / 1.406 GB, free: 11.01 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.0005054/1.219, allocations: 211.3 kB / 1.406 GB, free: 10.8 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001034/1.219, allocations: 55.44 kB / 1.406 GB, free: 10.75 MB / 1.092 GB Notification: Performance of SimCode: time 6.01e-07/1.219, allocations: 0 / 1.406 GB, free: 10.75 MB / 1.092 GB Notification: Performance of Templates: time 0.031/1.25, allocations: 20.26 MB / 1.426 GB, free: 6.723 MB / 1.107 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches