Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicit.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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.PressureDropsExplicit,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.PressureDropsExplicit") translateModel(Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicit,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.PressureDropsExplicit") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001093/0.001093, allocations: 98.88 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001461/0.001461, allocations: 182.9 kB / 16.92 MB, free: 6.895 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.451/1.451, allocations: 223.3 MB / 241 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.685/2.685, allocations: 437.8 MB / 0.7128 GB, free: 6.961 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003595/0.0003596, allocations: 8 kB / 0.8735 GB, free: 3.309 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6621/0.6624, allocations: 153.8 MB / 1.024 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicit): time 0.8837/1.546, allocations: 236.4 MB / 1.255 GB, free: 2.246 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0184/1.565, allocations: 13.43 MB / 1.268 GB, free: 2.086 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002857/1.568, allocations: 50.89 kB / 1.268 GB, free: 2.086 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.002929/1.57, allocations: 0.8213 MB / 1.269 GB, free: 2.066 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.005635/1.576, allocations: 1.695 MB / 1.27 GB, free: 1.98 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.004071/1.58, allocations: 1.123 MB / 1.271 GB, free: 1.953 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.007724/1.588, allocations: 4.632 MB / 1.276 GB, free: 1.938 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001992/1.59, allocations: 0.9016 MB / 1.277 GB, free: 1.812 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01082/1.601, allocations: 3.824 MB / 1.28 GB, free: 1.695 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002231/1.603, allocations: 0.9424 MB / 1.281 GB, free: 1.691 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0002678/1.603, allocations: 48.44 kB / 1.281 GB, free: 1.691 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002927/1.606, allocations: 1.233 MB / 1.283 GB, free: 1.68 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.000532/1.607, allocations: 413.7 kB / 1.283 GB, free: 1.68 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.001132/1.608, allocations: 0.6702 MB / 1.284 GB, free: 1.648 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001598/1.61, allocations: 1.158 MB / 1.285 GB, free: 1.523 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.272e-06/1.61, allocations: 0 / 1.285 GB, free: 1.523 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.713e-06/1.61, allocations: 2.906 kB / 1.285 GB, free: 1.523 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.789e-05/1.61, allocations: 4 kB / 1.285 GB, free: 1.52 MB / 0.9825 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.002142/1.612, allocations: 1.39 MB / 1.286 GB, free: 16.66 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.403e-05/1.612, allocations: 14.09 kB / 1.286 GB, free: 16.66 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006523/1.613, allocations: 197 kB / 1.286 GB, free: 16.59 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001141/1.614, allocations: 0.8345 MB / 1.287 GB, free: 16.2 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001347/1.614, allocations: 125 kB / 1.287 GB, free: 16.13 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001015/1.614, allocations: 86 kB / 1.287 GB, free: 16.13 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001394/1.615, allocations: 0.9508 MB / 1.288 GB, free: 15.85 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.216e-05/1.615, allocations: 5.75 kB / 1.288 GB, free: 15.85 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.38e-05/1.615, allocations: 35.22 kB / 1.288 GB, free: 15.85 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.731e-05/1.615, allocations: 19.16 kB / 1.288 GB, free: 15.85 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008531/1.616, allocations: 0.5305 MB / 1.289 GB, free: 15.84 MB / 0.9981 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.005861/1.622, allocations: 4.921 MB / 1.294 GB, free: 12.39 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000569/1.623, allocations: 438.6 kB / 1.294 GB, free: 12.05 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003822/1.623, allocations: 289.8 kB / 1.294 GB, free: 11.94 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001981/1.623, allocations: 104.7 kB / 1.294 GB, free: 11.84 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.931e-05/1.623, allocations: 58.47 kB / 1.295 GB, free: 11.8 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=35): time 2.815e-06/1.623, allocations: 0 / 1.295 GB, free: 11.8 MB / 0.9981 GB Notification: Performance of matching and sorting (n=35): time 0.002836/1.626, allocations: 0.8954 MB / 1.295 GB, free: 11.47 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002369/1.627, allocations: 407.1 kB / 1.296 GB, free: 11 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001741/1.628, allocations: 1.236 MB / 1.297 GB, free: 10.84 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 9.18e-05/1.628, allocations: 38.92 kB / 1.297 GB, free: 10.81 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004145/1.629, allocations: 0.5324 MB / 1.298 GB, free: 10.68 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001251/1.629, allocations: 121.8 kB / 1.298 GB, free: 10.61 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.505e-05/1.629, allocations: 34.97 kB / 1.298 GB, free: 10.59 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001224/1.629, allocations: 322.1 kB / 1.298 GB, free: 10.28 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002171/1.629, allocations: 105.8 kB / 1.298 GB, free: 10.28 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003958/1.63, allocations: 361.7 kB / 1.298 GB, free: 10.02 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005197/1.63, allocations: 355.8 kB / 1.299 GB, free: 9.898 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.197e-06/1.63, allocations: 2.75 kB / 1.299 GB, free: 9.898 MB / 0.9981 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.00127/1.632, allocations: 0.5739 MB / 1.299 GB, free: 9.762 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001631/1.632, allocations: 194.1 kB / 1.3 GB, free: 9.551 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.29e-05/1.632, allocations: 7.281 kB / 1.3 GB, free: 9.547 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000591/1.632, allocations: 123.1 kB / 1.3 GB, free: 9.523 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004581/1.633, allocations: 91.03 kB / 1.3 GB, free: 9.523 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001369/1.634, allocations: 2.319 MB / 1.302 GB, free: 7.309 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008721/1.635, allocations: 107.1 kB / 1.302 GB, free: 7.266 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.52e-05/1.635, allocations: 26.17 kB / 1.302 GB, free: 7.266 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 8.987e-06/1.635, allocations: 6.938 kB / 1.302 GB, free: 7.262 MB / 0.9981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006966/1.636, allocations: 361.1 kB / 1.302 GB, free: 7.238 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/1.636, allocations: 5.125 kB / 1.302 GB, free: 7.238 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002059/1.636, allocations: 71.28 kB / 1.303 GB, free: 7.223 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002357/1.636, allocations: 75.47 kB / 1.303 GB, free: 7.219 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00255/1.639, allocations: 2.936 MB / 1.305 GB, free: 4.539 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009034/1.64, allocations: 115.8 kB / 1.306 GB, free: 4.496 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.358e-05/1.64, allocations: 18.16 kB / 1.306 GB, free: 4.496 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): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems 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): 2 systems {(1,3), (1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0005599/1.64, allocations: 348.7 kB / 1.306 GB, free: 4.301 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003895/1.641, allocations: 145.4 kB / 1.306 GB, free: 4.227 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008214/1.642, allocations: 452.2 kB / 1.307 GB, free: 4.117 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.615e-06/1.642, allocations: 10.94 kB / 1.307 GB, free: 4.117 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/1.642, allocations: 5.719 kB / 1.307 GB, free: 4.117 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.951e-06/1.642, allocations: 3.25 kB / 1.307 GB, free: 4.117 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003334/1.645, allocations: 2.567 MB / 1.309 GB, free: 2.617 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.412e-06/1.645, allocations: 3.531 kB / 1.309 GB, free: 2.617 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000246/1.645, allocations: 79.7 kB / 1.309 GB, free: 2.613 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001955/1.646, allocations: 75.89 kB / 1.309 GB, free: 2.594 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.449e-05/1.646, allocations: 11.47 kB / 1.309 GB, free: 2.594 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001361/1.647, allocations: 2.306 MB / 1.311 GB, free: 396 kB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.903e-06/1.647, allocations: 14.62 kB / 1.311 GB, free: 388 kB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009876/1.648, allocations: 0.7946 MB / 1.312 GB, free: 15.89 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004263/1.648, allocations: 252.6 kB / 1.312 GB, free: 15.72 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000168/1.649, allocations: 15.53 kB / 1.313 GB, free: 15.72 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007638/1.649, allocations: 68.7 kB / 1.313 GB, free: 15.71 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.002e-05/1.649, allocations: 44.05 kB / 1.313 GB, free: 15.7 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.996e-05/1.649, allocations: 19.95 kB / 1.313 GB, free: 15.7 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001059/1.651, allocations: 0.866 MB / 1.313 GB, free: 15.59 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.4e-07/1.651, allocations: 0 / 1.313 GB, free: 15.59 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001526/1.652, allocations: 454.4 kB / 1.314 GB, free: 15.56 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * 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 (27): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems 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): 2 systems {(1,3), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005738/1.653, allocations: 234.6 kB / 1.314 GB, free: 15.44 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001827/1.654, allocations: 0.7462 MB / 1.315 GB, free: 15.2 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 6.953e-06/1.655, allocations: 3.156 kB / 1.315 GB, free: 15.2 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0004557/1.655, allocations: 208.3 kB / 1.315 GB, free: 15.19 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005052/1.66, allocations: 0.786 MB / 1.316 GB, free: 15.12 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003641/1.664, allocations: 2.245 MB / 1.318 GB, free: 13.84 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008644/1.665, allocations: 1.136 MB / 1.319 GB, free: 13.11 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002949/1.665, allocations: 85.56 kB / 1.319 GB, free: 13.11 MB / 1.014 GB Notification: Performance of SimCode: time 8.01e-07/1.665, allocations: 1.938 kB / 1.319 GB, free: 13.11 MB / 1.014 GB Notification: Performance of Templates: time 0.04904/1.714, allocations: 36.7 MB / 1.355 GB, free: 13.81 MB / 1.029 GB make -j1 -f Buildings_10_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicit.makefile (rm -f Buildings_10_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicit.pipe ; mkfifo Buildings_10_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicit.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicit.pipe >> ../files/Buildings_10_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicit.sim & ./Buildings_10_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicit -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicit.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicit_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_FixedResistances_Validation_PressureDropsExplicit.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicit.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches