Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.PressureDropsExplicitLinearized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|res11.m_flow|res21.m_flow|res31.dp|res41.dp",fileNamePrefix="Buildings_9_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_9_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.001104/0.001104, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001269/0.001269, allocations: 193.1 kB / 16.13 MB, free: 6.652 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.458/1.458, allocations: 222.9 MB / 239.8 MB, free: 4.598 MB / 190.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.556/2.556, allocations: 390.2 MB / 0.6642 GB, free: 0.625 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001329/0.00133, allocations: 67.89 kB / 0.8119 GB, free: 14.89 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.733/0.7343, allocations: 140.4 MB / 0.9489 GB, free: 9.527 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized): time 0.2629/0.9972, allocations: 239.7 MB / 1.183 GB, free: 1.766 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.01998/1.017, allocations: 13.57 MB / 1.196 GB, free: 4.156 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002377/1.02, allocations: 55.62 kB / 1.196 GB, free: 4.102 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.002713/1.022, allocations: 0.8237 MB / 1.197 GB, free: 3.273 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.004992/1.027, allocations: 1.691 MB / 1.199 GB, free: 1.578 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.003165/1.031, allocations: 1.116 MB / 1.2 GB, free: 484 kB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.005597/1.036, allocations: 4.615 MB / 1.204 GB, free: 11.84 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001585/1.038, allocations: 0.8883 MB / 1.205 GB, free: 10.93 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00968/1.048, allocations: 3.845 MB / 1.209 GB, free: 7.074 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002113/1.05, allocations: 0.9683 MB / 1.21 GB, free: 6.102 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0002952/1.05, allocations: 56 kB / 1.21 GB, free: 6.047 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002342/1.052, allocations: 0.9 MB / 1.211 GB, free: 5.145 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.000521/1.053, allocations: 414.6 kB / 1.211 GB, free: 4.738 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0009815/1.054, allocations: 0.6643 MB / 1.212 GB, free: 4.07 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.001845/1.056, allocations: 1.534 MB / 1.213 GB, free: 2.531 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/1.056, allocations: 4 kB / 1.213 GB, free: 2.527 MB / 0.9669 GB Notification: Performance of FrontEnd: time 8.82e-07/1.056, allocations: 4 kB / 1.213 GB, free: 2.523 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.522e-05/1.056, allocations: 0 / 1.213 GB, free: 2.523 MB / 0.9669 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.002257/1.058, allocations: 1.619 MB / 1.215 GB, free: 0.8516 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.551e-05/1.058, allocations: 8.031 kB / 1.215 GB, free: 0.8438 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00068/1.059, allocations: 198.1 kB / 1.215 GB, free: 0.6484 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001285/1.06, allocations: 0.8388 MB / 1.216 GB, free: 15.75 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001498/1.06, allocations: 121.4 kB / 1.216 GB, free: 15.62 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001133/1.06, allocations: 88 kB / 1.216 GB, free: 15.53 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001457/1.062, allocations: 0.9181 MB / 1.217 GB, free: 14.53 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.934e-05/1.062, allocations: 0 / 1.217 GB, free: 14.53 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.074e-05/1.062, allocations: 40 kB / 1.217 GB, free: 14.49 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.118e-05/1.062, allocations: 20 kB / 1.217 GB, free: 14.47 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008937/1.063, allocations: 0.5072 MB / 1.218 GB, free: 13.96 MB / 0.9825 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.004859/1.068, allocations: 4.876 MB / 1.222 GB, free: 8.773 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006949/1.068, allocations: 412.6 kB / 1.223 GB, free: 8.242 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003741/1.069, allocations: 267.9 kB / 1.223 GB, free: 7.938 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001995/1.069, allocations: 101.2 kB / 1.223 GB, free: 7.82 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.037e-05/1.069, allocations: 62.44 kB / 1.223 GB, free: 7.75 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=31): time 2.775e-06/1.069, allocations: 0 / 1.223 GB, free: 7.75 MB / 0.9825 GB Notification: Performance of matching and sorting (n=31): time 0.001875/1.071, allocations: 0.7777 MB / 1.224 GB, free: 6.922 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001987/1.071, allocations: 405.9 kB / 1.224 GB, free: 6.434 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001671/1.073, allocations: 1.271 MB / 1.226 GB, free: 5.152 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 6.308e-05/1.073, allocations: 33.7 kB / 1.226 GB, free: 5.113 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004971/1.073, allocations: 0.5534 MB / 1.226 GB, free: 4.551 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 9.153e-05/1.074, allocations: 106.4 kB / 1.226 GB, free: 4.445 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001427/1.074, allocations: 85.59 kB / 1.226 GB, free: 4.355 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001075/1.074, allocations: 321.9 kB / 1.227 GB, free: 4.035 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002114/1.074, allocations: 91.94 kB / 1.227 GB, free: 3.945 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000421/1.074, allocations: 342.1 kB / 1.227 GB, free: 3.516 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005672/1.075, allocations: 336.4 kB / 1.227 GB, free: 3.141 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.433e-06/1.075, allocations: 4 kB / 1.227 GB, free: 3.137 MB / 0.9825 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001084/1.076, allocations: 493.2 kB / 1.228 GB, free: 2.641 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.42e-05/1.076, allocations: 8 kB / 1.228 GB, free: 2.633 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.011e-05/1.076, allocations: 4 kB / 1.228 GB, free: 2.629 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003157/1.077, allocations: 73.95 kB / 1.228 GB, free: 2.551 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002157/1.077, allocations: 55.91 kB / 1.228 GB, free: 2.496 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00257/1.079, allocations: 2.919 MB / 1.231 GB, free: 15.31 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008731/1.08, allocations: 107 kB / 1.231 GB, free: 15.2 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.339e-05/1.08, allocations: 24.06 kB / 1.231 GB, free: 15.18 MB / 0.9981 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.0004347/1.081, allocations: 282.1 kB / 1.231 GB, free: 14.89 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003867/1.081, allocations: 138.3 kB / 1.231 GB, free: 14.76 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001594/1.081, allocations: 127.9 kB / 1.232 GB, free: 14.62 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.37e-06/1.081, allocations: 8 kB / 1.232 GB, free: 14.62 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.819e-06/1.081, allocations: 4 kB / 1.232 GB, free: 14.61 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.382e-06/1.081, allocations: 4 kB / 1.232 GB, free: 14.61 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003481/1.085, allocations: 2.512 MB / 1.234 GB, free: 11.95 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.224e-06/1.085, allocations: 7.938 kB / 1.234 GB, free: 11.95 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001556/1.085, allocations: 52.59 kB / 1.234 GB, free: 11.89 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001956/1.085, allocations: 73.67 kB / 1.234 GB, free: 11.82 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.047e-05/1.085, allocations: 12 kB / 1.234 GB, free: 11.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002343/1.088, allocations: 2.923 MB / 1.237 GB, free: 8.617 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.655e-06/1.088, allocations: 8.172 kB / 1.237 GB, free: 8.609 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00103/1.089, allocations: 0.681 MB / 1.238 GB, free: 7.836 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004615/1.089, allocations: 259.2 kB / 1.238 GB, free: 7.562 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001651/1.089, allocations: 12 kB / 1.238 GB, free: 7.551 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007343/1.09, allocations: 59.88 kB / 1.238 GB, free: 7.492 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.143e-05/1.09, allocations: 51.77 kB / 1.238 GB, free: 7.441 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.62e-05/1.09, allocations: 12 kB / 1.238 GB, free: 7.43 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0012/1.091, allocations: 0.8763 MB / 1.239 GB, free: 6.555 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.3e-07/1.091, allocations: 7.938 kB / 1.239 GB, free: 6.547 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001158/1.093, allocations: 275.7 kB / 1.239 GB, free: 6.277 MB / 0.9981 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.000461/1.093, allocations: 198.7 kB / 1.239 GB, free: 6.078 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0009619/1.094, allocations: 0.5049 MB / 1.24 GB, free: 5.547 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/1.094, allocations: 0 / 1.24 GB, free: 5.547 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005289/1.095, allocations: 407 kB / 1.24 GB, free: 5.125 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003853/1.098, allocations: 0.7554 MB / 1.241 GB, free: 4.379 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002983/1.101, allocations: 2.183 MB / 1.243 GB, free: 2.098 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007105/1.102, allocations: 1.138 MB / 1.244 GB, free: 0.9297 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001003/1.103, allocations: 239 kB / 1.244 GB, free: 0.6914 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001557/1.103, allocations: 87.42 kB / 1.245 GB, free: 0.6055 MB / 0.9981 GB Notification: Performance of SimCode: time 7.71e-07/1.103, allocations: 0 / 1.245 GB, free: 0.6055 MB / 0.9981 GB Notification: Performance of Templates: time 0.5744/1.678, allocations: 22.46 MB / 1.266 GB, free: 278 MB / 0.9981 GB make -j1 -f Buildings_9_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.makefile (rm -f Buildings_9_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.pipe ; mkfifo Buildings_9_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.pipe >> ../files/Buildings_9_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.sim & ./Buildings_9_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_FixedResistances_Validation_PressureDropsExplicitLinearized.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches