Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.PressureDropsExplicit,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.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_9_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.00136/0.001359, allocations: 90.83 kB / 15.36 MB, free: 0.7383 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.01267/0.01267, allocations: 172.6 kB / 16.26 MB, free: 6.613 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.497/1.497, allocations: 223.3 MB / 240.3 MB, free: 5.336 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.465/2.465, allocations: 390.9 MB / 0.6663 GB, free: 2.312 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003433/0.0003434, allocations: 11.98 kB / 0.816 GB, free: 13.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7964/0.7968, allocations: 142.4 MB / 0.955 GB, free: 7.723 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicit): time 0.2715/1.068, allocations: 236.4 MB / 1.186 GB, free: 2.137 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.01888/1.087, allocations: 13.44 MB / 1.199 GB, free: 4.672 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002456/1.09, allocations: 47.62 kB / 1.199 GB, free: 4.625 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.003542/1.093, allocations: 0.8276 MB / 1.2 GB, free: 3.793 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.00628/1.1, allocations: 1.692 MB / 1.202 GB, free: 2.094 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.004113/1.104, allocations: 1.118 MB / 1.203 GB, free: 0.9883 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.007144/1.111, allocations: 4.634 MB / 1.207 GB, free: 12.34 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002211/1.113, allocations: 0.9023 MB / 1.208 GB, free: 11.41 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01141/1.125, allocations: 3.826 MB / 1.212 GB, free: 7.574 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002096/1.127, allocations: 0.9488 MB / 1.213 GB, free: 6.621 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0002799/1.127, allocations: 51.94 kB / 1.213 GB, free: 6.57 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002695/1.13, allocations: 1.228 MB / 1.214 GB, free: 5.34 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0005277/1.13, allocations: 410.6 kB / 1.214 GB, free: 4.938 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.001138/1.131, allocations: 0.6699 MB / 1.215 GB, free: 4.258 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.002445/1.134, allocations: 1.662 MB / 1.217 GB, free: 2.59 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.04e-06/1.134, allocations: 0 / 1.217 GB, free: 2.59 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.134e-06/1.134, allocations: 0 / 1.217 GB, free: 2.59 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 2.002e-05/1.134, allocations: 0 / 1.217 GB, free: 2.59 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.002153/1.136, allocations: 1.394 MB / 1.218 GB, free: 1.145 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.147e-05/1.136, allocations: 8.031 kB / 1.218 GB, free: 1.137 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006729/1.137, allocations: 198.2 kB / 1.218 GB, free: 0.9414 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001231/1.138, allocations: 0.8464 MB / 1.219 GB, free: 40 kB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001686/1.138, allocations: 121.4 kB / 1.219 GB, free: 15.91 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001146/1.138, allocations: 88 kB / 1.219 GB, free: 15.82 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001494/1.14, allocations: 0.9431 MB / 1.22 GB, free: 14.79 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.413e-05/1.14, allocations: 7.984 kB / 1.22 GB, free: 14.79 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.018e-05/1.14, allocations: 32 kB / 1.22 GB, free: 14.75 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.158e-05/1.14, allocations: 23.98 kB / 1.22 GB, free: 14.73 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009157/1.141, allocations: 0.5228 MB / 1.221 GB, free: 14.21 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.005213/1.146, allocations: 4.931 MB / 1.226 GB, free: 8.965 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000606/1.147, allocations: 440.6 kB / 1.226 GB, free: 8.406 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000412/1.147, allocations: 283.9 kB / 1.226 GB, free: 8.086 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002094/1.147, allocations: 105 kB / 1.226 GB, free: 7.965 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.527e-05/1.148, allocations: 54.5 kB / 1.226 GB, free: 7.902 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=35): time 2.525e-06/1.148, allocations: 0 / 1.226 GB, free: 7.902 MB / 0.9825 GB Notification: Performance of matching and sorting (n=35): time 0.002611/1.15, allocations: 0.8996 MB / 1.227 GB, free: 6.953 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002357/1.15, allocations: 397.5 kB / 1.228 GB, free: 6.473 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001683/1.152, allocations: 1.243 MB / 1.229 GB, free: 5.219 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 7.625e-05/1.152, allocations: 33.7 kB / 1.229 GB, free: 5.18 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005052/1.153, allocations: 0.5419 MB / 1.229 GB, free: 4.629 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001249/1.153, allocations: 118.1 kB / 1.23 GB, free: 4.512 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.265e-05/1.153, allocations: 37.7 kB / 1.23 GB, free: 4.469 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000131/1.153, allocations: 318 kB / 1.23 GB, free: 4.152 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002433/1.153, allocations: 103.9 kB / 1.23 GB, free: 4.051 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004641/1.154, allocations: 362.2 kB / 1.23 GB, free: 3.602 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005754/1.154, allocations: 360.5 kB / 1.231 GB, free: 3.203 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-06/1.154, allocations: 0 / 1.231 GB, free: 3.203 MB / 0.9825 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001394/1.156, allocations: 0.5795 MB / 1.231 GB, free: 2.609 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001471/1.156, allocations: 199.3 kB / 1.231 GB, free: 2.363 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.084e-05/1.156, allocations: 4 kB / 1.231 GB, free: 2.359 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006104/1.157, allocations: 113.6 kB / 1.231 GB, free: 2.242 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004637/1.157, allocations: 95.86 kB / 1.232 GB, free: 2.148 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001576/1.159, allocations: 2.323 MB / 1.234 GB, free: 15.73 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009371/1.16, allocations: 107.4 kB / 1.234 GB, free: 15.62 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001151/1.16, allocations: 20 kB / 1.234 GB, free: 15.6 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.08e-05/1.16, allocations: 4 kB / 1.234 GB, free: 15.6 MB / 0.9981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007404/1.16, allocations: 369.3 kB / 1.234 GB, free: 15.23 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/1.16, allocations: 4 kB / 1.234 GB, free: 15.23 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002134/1.161, allocations: 69.67 kB / 1.234 GB, free: 15.15 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000231/1.161, allocations: 71.89 kB / 1.234 GB, free: 15.08 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002616/1.164, allocations: 2.927 MB / 1.237 GB, free: 11.89 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001142/1.165, allocations: 111.2 kB / 1.237 GB, free: 11.78 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.081e-05/1.165, allocations: 23.98 kB / 1.237 GB, free: 11.76 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.0007527/1.166, allocations: 360.9 kB / 1.238 GB, free: 11.39 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005846/1.166, allocations: 134.3 kB / 1.238 GB, free: 11.26 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001023/1.167, allocations: 460.8 kB / 1.238 GB, free: 10.79 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.548e-06/1.167, allocations: 4.188 kB / 1.238 GB, free: 10.78 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.973e-06/1.167, allocations: 4 kB / 1.238 GB, free: 10.78 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.354e-05/1.167, allocations: 11.97 kB / 1.238 GB, free: 10.77 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003838/1.171, allocations: 2.561 MB / 1.241 GB, free: 8.066 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.863e-06/1.171, allocations: 4 kB / 1.241 GB, free: 8.062 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002407/1.171, allocations: 72.47 kB / 1.241 GB, free: 7.992 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000204/1.172, allocations: 85.78 kB / 1.241 GB, free: 7.902 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.589e-05/1.172, allocations: 15.94 kB / 1.241 GB, free: 7.887 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001305/1.173, allocations: 2.304 MB / 1.243 GB, free: 5.484 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.642e-05/1.173, allocations: 11.94 kB / 1.243 GB, free: 5.473 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001143/1.174, allocations: 0.7876 MB / 1.244 GB, free: 4.598 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005347/1.175, allocations: 259.2 kB / 1.244 GB, free: 4.324 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001461/1.175, allocations: 12 kB / 1.244 GB, free: 4.312 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007524/1.176, allocations: 67.88 kB / 1.244 GB, free: 4.246 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.541e-05/1.176, allocations: 39.84 kB / 1.244 GB, free: 4.207 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.88e-05/1.176, allocations: 23.98 kB / 1.244 GB, free: 4.184 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001219/1.177, allocations: 0.8605 MB / 1.245 GB, free: 3.324 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.8e-07/1.177, allocations: 0 / 1.245 GB, free: 3.324 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.00161/1.179, allocations: 451.5 kB / 1.246 GB, free: 2.883 MB / 0.9981 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.0006848/1.179, allocations: 241.4 kB / 1.246 GB, free: 2.648 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002025/1.181, allocations: 0.7435 MB / 1.247 GB, free: 1.879 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/1.181, allocations: 0 / 1.247 GB, free: 1.879 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004972/1.182, allocations: 205.2 kB / 1.247 GB, free: 1.68 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004937/1.187, allocations: 0.7934 MB / 1.248 GB, free: 0.8906 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4983/1.685, allocations: 2.192 MB / 1.25 GB, free: 285.1 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007369/1.686, allocations: 1.132 MB / 1.251 GB, free: 284.4 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001126/1.687, allocations: 286.1 kB / 1.251 GB, free: 284.4 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002264/1.687, allocations: 89.94 kB / 1.251 GB, free: 284.4 MB / 0.9981 GB Notification: Performance of SimCode: time 7.21e-07/1.687, allocations: 3.938 kB / 1.251 GB, free: 284.4 MB / 0.9981 GB Notification: Performance of Templates: time 0.06004/1.747, allocations: 25.11 MB / 1.276 GB, free: 274 MB / 0.9981 GB make -j1 -f Buildings_9_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicit.makefile (rm -f Buildings_9_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicit.pipe ; mkfifo Buildings_9_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicit.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicit.pipe >> ../files/Buildings_9_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicit.sim & ./Buildings_9_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicit -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicit.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicit_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_FixedResistances_Validation_PressureDropsExplicit.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicit.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches