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.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.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.001155/0.001155, allocations: 97.72 kB / 15.36 MB, free: 0.7344 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.009686/0.009686, allocations: 170 kB / 16.27 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.415/1.415, allocations: 223.3 MB / 240.3 MB, free: 5.309 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.822/2.822, allocations: 437.8 MB / 0.7121 GB, free: 6.887 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004422/0.0004422, allocations: 8 kB / 0.8728 GB, free: 3.266 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8078/0.8082, allocations: 153.8 MB / 1.023 GB, free: 15.81 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicit): time 0.9725/1.781, allocations: 236.4 MB / 1.254 GB, free: 2.188 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.02195/1.803, allocations: 13.43 MB / 1.267 GB, free: 2.027 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002944/1.806, allocations: 49.09 kB / 1.267 GB, free: 2.027 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.002989/1.809, allocations: 0.8168 MB / 1.268 GB, free: 2.012 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.006558/1.815, allocations: 1.696 MB / 1.27 GB, free: 1.926 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.004312/1.82, allocations: 1.124 MB / 1.271 GB, free: 1.895 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.007947/1.828, allocations: 4.634 MB / 1.275 GB, free: 1.883 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002507/1.83, allocations: 0.8978 MB / 1.276 GB, free: 1.762 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01207/1.842, allocations: 3.828 MB / 1.28 GB, free: 1.641 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002576/1.845, allocations: 0.9395 MB / 1.281 GB, free: 1.641 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0002937/1.845, allocations: 48.12 kB / 1.281 GB, free: 1.641 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003313/1.849, allocations: 1.233 MB / 1.282 GB, free: 1.625 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0005834/1.849, allocations: 408.3 kB / 1.282 GB, free: 1.625 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.00133/1.85, allocations: 0.674 MB / 1.283 GB, free: 17.59 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.002557/1.853, allocations: 1.664 MB / 1.285 GB, free: 17.46 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/1.853, allocations: 7.312 kB / 1.285 GB, free: 17.46 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.595e-06/1.853, allocations: 0 / 1.285 GB, free: 17.46 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 2.145e-05/1.853, allocations: 0 / 1.285 GB, free: 17.46 MB / 0.9981 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.001981/1.855, allocations: 1.392 MB / 1.286 GB, free: 16.6 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.104e-05/1.855, allocations: 9.969 kB / 1.286 GB, free: 16.6 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006237/1.856, allocations: 197.9 kB / 1.286 GB, free: 16.53 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001102/1.857, allocations: 0.8343 MB / 1.287 GB, free: 16.14 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001454/1.857, allocations: 128.4 kB / 1.287 GB, free: 16.07 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.902e-05/1.857, allocations: 85.22 kB / 1.287 GB, free: 16.07 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001312/1.858, allocations: 0.9508 MB / 1.288 GB, free: 15.79 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.2e-05/1.858, allocations: 2.406 kB / 1.288 GB, free: 15.79 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.887e-05/1.859, allocations: 35.34 kB / 1.288 GB, free: 15.79 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.195e-05/1.859, allocations: 26.56 kB / 1.288 GB, free: 15.79 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008153/1.859, allocations: 0.5235 MB / 1.289 GB, free: 15.79 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.004674/1.864, allocations: 4.917 MB / 1.293 GB, free: 12.34 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005208/1.865, allocations: 437.2 kB / 1.294 GB, free: 12 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003917/1.865, allocations: 283.4 kB / 1.294 GB, free: 11.89 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001892/1.865, allocations: 114.6 kB / 1.294 GB, free: 11.79 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.09e-05/1.865, allocations: 55.48 kB / 1.294 GB, free: 11.75 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=35): time 2.374e-06/1.865, allocations: 2.938 kB / 1.294 GB, free: 11.75 MB / 0.9981 GB Notification: Performance of matching and sorting (n=35): time 0.002353/1.868, allocations: 0.8924 MB / 1.295 GB, free: 11.42 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001812/1.868, allocations: 394.6 kB / 1.296 GB, free: 10.95 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001319/1.869, allocations: 1.239 MB / 1.297 GB, free: 10.79 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 6.686e-05/1.869, allocations: 43.95 kB / 1.297 GB, free: 10.76 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003736/1.87, allocations: 0.5455 MB / 1.297 GB, free: 10.63 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001006/1.87, allocations: 122.7 kB / 1.297 GB, free: 10.55 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.452e-05/1.87, allocations: 31.81 kB / 1.298 GB, free: 10.54 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001258/1.87, allocations: 319.9 kB / 1.298 GB, free: 10.23 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002118/1.87, allocations: 104.9 kB / 1.298 GB, free: 10.23 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004/1.871, allocations: 358.3 kB / 1.298 GB, free: 9.973 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005064/1.871, allocations: 361.6 kB / 1.299 GB, free: 9.848 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/1.871, allocations: 0 / 1.299 GB, free: 9.848 MB / 0.9981 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.00115/1.872, allocations: 0.5768 MB / 1.299 GB, free: 9.707 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001304/1.872, allocations: 189.1 kB / 1.299 GB, free: 9.496 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.476e-06/1.872, allocations: 2.906 kB / 1.299 GB, free: 9.496 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005897/1.873, allocations: 124.3 kB / 1.299 GB, free: 9.473 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004548/1.873, allocations: 95.11 kB / 1.3 GB, free: 9.469 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00137/1.875, allocations: 2.317 MB / 1.302 GB, free: 7.254 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008495/1.876, allocations: 112.5 kB / 1.302 GB, free: 7.211 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.487e-05/1.876, allocations: 24.83 kB / 1.302 GB, free: 7.211 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 9.047e-06/1.876, allocations: 5.125 kB / 1.302 GB, free: 7.211 MB / 0.9981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006874/1.876, allocations: 363.4 kB / 1.302 GB, free: 7.188 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/1.876, allocations: 7.125 kB / 1.302 GB, free: 7.184 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002033/1.877, allocations: 70.62 kB / 1.302 GB, free: 7.168 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002383/1.877, allocations: 68.12 kB / 1.302 GB, free: 7.168 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002363/1.879, allocations: 2.94 MB / 1.305 GB, free: 4.488 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008198/1.88, allocations: 110.3 kB / 1.305 GB, free: 4.445 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.113e-05/1.88, allocations: 23.48 kB / 1.305 GB, free: 4.445 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.0005337/1.881, allocations: 355.9 kB / 1.306 GB, free: 4.246 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003885/1.881, allocations: 140.4 kB / 1.306 GB, free: 4.176 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008173/1.882, allocations: 457.2 kB / 1.306 GB, free: 4.062 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.406e-06/1.882, allocations: 9.828 kB / 1.306 GB, free: 4.059 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/1.882, allocations: 2.969 kB / 1.306 GB, free: 4.059 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.384e-06/1.882, allocations: 8.453 kB / 1.306 GB, free: 4.059 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003001/1.885, allocations: 2.566 MB / 1.309 GB, free: 2.562 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.001e-06/1.885, allocations: 6.25 kB / 1.309 GB, free: 2.562 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002403/1.885, allocations: 68.36 kB / 1.309 GB, free: 2.562 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002003/1.885, allocations: 81.7 kB / 1.309 GB, free: 2.539 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.386e-05/1.886, allocations: 13.02 kB / 1.309 GB, free: 2.539 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001277/1.887, allocations: 2.308 MB / 1.311 GB, free: 336 kB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.054e-05/1.887, allocations: 16.7 kB / 1.311 GB, free: 328 kB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009638/1.888, allocations: 0.7814 MB / 1.312 GB, free: 15.84 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004272/1.888, allocations: 263.4 kB / 1.312 GB, free: 15.66 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000121/1.888, allocations: 12.94 kB / 1.312 GB, free: 15.66 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007419/1.889, allocations: 67.86 kB / 1.312 GB, free: 15.66 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.563e-05/1.889, allocations: 35.03 kB / 1.312 GB, free: 15.65 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.28e-05/1.889, allocations: 25.38 kB / 1.312 GB, free: 15.65 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0009497/1.89, allocations: 0.8672 MB / 1.313 GB, free: 15.54 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.4e-07/1.89, allocations: 0 / 1.313 GB, free: 15.54 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.00148/1.892, allocations: 458.2 kB / 1.314 GB, free: 15.5 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.0004817/1.892, allocations: 230.4 kB / 1.314 GB, free: 15.38 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.00176/1.894, allocations: 0.7436 MB / 1.315 GB, free: 15.15 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 5.721e-06/1.894, allocations: 3.125 kB / 1.315 GB, free: 15.15 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0004578/1.894, allocations: 202.9 kB / 1.315 GB, free: 15.14 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004534/1.899, allocations: 0.7885 MB / 1.316 GB, free: 15.07 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002729/1.902, allocations: 2.205 MB / 1.318 GB, free: 13.81 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006803/1.902, allocations: 1.133 MB / 1.319 GB, free: 13.09 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0008995/1.903, allocations: 291.8 kB / 1.319 GB, free: 13.04 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000187/1.903, allocations: 90.25 kB / 1.319 GB, free: 13.03 MB / 1.014 GB Notification: Performance of SimCode: time 8.31e-07/1.904, allocations: 0 / 1.319 GB, free: 13.03 MB / 1.014 GB Notification: Performance of Templates: time 0.04447/1.948, allocations: 25.11 MB / 1.344 GB, free: 4.594 MB / 1.014 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicit.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches