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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001053/0.001053, allocations: 92.62 kB / 16.02 MB, free: 80 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.001428/0.001428, allocations: 181.1 kB / 16.92 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.395/1.395, allocations: 223.3 MB / 241 MB, free: 5.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.478/2.478, allocations: 390.9 MB / 0.667 GB, free: 2.297 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003805/0.0003805, allocations: 8 kB / 0.8166 GB, free: 13.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7158/0.7162, allocations: 142.4 MB / 0.9557 GB, free: 7.594 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicit): time 0.2508/0.9671, allocations: 236.4 MB / 1.187 GB, free: 2.09 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.01813/0.9853, allocations: 13.43 MB / 1.2 GB, free: 4.625 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001951/0.9873, allocations: 47.62 kB / 1.2 GB, free: 4.578 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.002556/0.9898, allocations: 0.8159 MB / 1.201 GB, free: 3.758 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.00495/0.9948, allocations: 1.699 MB / 1.202 GB, free: 2.055 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.00322/0.998, allocations: 1.12 MB / 1.203 GB, free: 0.9453 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.006216/1.004, allocations: 4.634 MB / 1.208 GB, free: 12.3 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001942/1.006, allocations: 0.8984 MB / 1.209 GB, free: 11.38 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01177/1.018, allocations: 3.826 MB / 1.212 GB, free: 7.535 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002195/1.02, allocations: 0.9489 MB / 1.213 GB, free: 6.582 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0004766/1.021, allocations: 48 kB / 1.213 GB, free: 6.535 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003098/1.024, allocations: 1.228 MB / 1.215 GB, free: 5.305 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0008416/1.025, allocations: 414.6 kB / 1.215 GB, free: 4.898 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.001729/1.026, allocations: 0.6739 MB / 1.216 GB, free: 4.215 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.002198/1.029, allocations: 1.157 MB / 1.217 GB, free: 3.055 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/1.029, allocations: 0 / 1.217 GB, free: 3.055 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.455e-06/1.029, allocations: 0 / 1.217 GB, free: 3.055 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 8.165e-05/1.029, allocations: 0 / 1.217 GB, free: 3.055 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.002771/1.032, allocations: 1.394 MB / 1.218 GB, free: 1.609 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 5.275e-05/1.032, allocations: 8.031 kB / 1.218 GB, free: 1.602 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006964/1.032, allocations: 202.2 kB / 1.218 GB, free: 1.402 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001271/1.034, allocations: 0.8347 MB / 1.219 GB, free: 0.5117 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001495/1.034, allocations: 125.4 kB / 1.219 GB, free: 384 kB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001119/1.034, allocations: 84 kB / 1.219 GB, free: 300 kB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001481/1.035, allocations: 0.947 MB / 1.22 GB, free: 15.26 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.376e-05/1.035, allocations: 11.94 kB / 1.22 GB, free: 15.25 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.895e-05/1.036, allocations: 32 kB / 1.22 GB, free: 15.22 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.727e-05/1.036, allocations: 23.98 kB / 1.22 GB, free: 15.2 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008834/1.036, allocations: 0.5228 MB / 1.221 GB, free: 14.68 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.004819/1.041, allocations: 4.923 MB / 1.226 GB, free: 9.438 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005528/1.042, allocations: 444.6 kB / 1.226 GB, free: 8.875 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003862/1.042, allocations: 287.8 kB / 1.226 GB, free: 8.551 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000183/1.042, allocations: 97.09 kB / 1.226 GB, free: 8.438 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.515e-05/1.042, allocations: 58.48 kB / 1.227 GB, free: 8.371 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=35): time 2.364e-06/1.043, allocations: 3.938 kB / 1.227 GB, free: 8.367 MB / 0.9825 GB Notification: Performance of matching and sorting (n=35): time 0.002327/1.045, allocations: 0.9068 MB / 1.227 GB, free: 7.41 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001965/1.045, allocations: 393.5 kB / 1.228 GB, free: 6.934 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001407/1.046, allocations: 1.239 MB / 1.229 GB, free: 5.684 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 5.695e-05/1.047, allocations: 41.7 kB / 1.229 GB, free: 5.637 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004403/1.047, allocations: 0.5263 MB / 1.23 GB, free: 5.102 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001054/1.047, allocations: 130.1 kB / 1.23 GB, free: 4.973 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.613e-05/1.047, allocations: 37.64 kB / 1.23 GB, free: 4.93 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000127/1.047, allocations: 318 kB / 1.23 GB, free: 4.613 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002273/1.048, allocations: 111.9 kB / 1.23 GB, free: 4.504 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004446/1.048, allocations: 350.2 kB / 1.23 GB, free: 4.066 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005713/1.049, allocations: 356.6 kB / 1.231 GB, free: 3.672 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/1.049, allocations: 4 kB / 1.231 GB, free: 3.668 MB / 0.9825 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001222/1.05, allocations: 0.5717 MB / 1.231 GB, free: 3.082 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 0.000137/1.05, allocations: 203.4 kB / 1.232 GB, free: 2.832 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.755e-06/1.05, allocations: 0 / 1.232 GB, free: 2.832 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005836/1.051, allocations: 121.6 kB / 1.232 GB, free: 2.707 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004682/1.051, allocations: 95.81 kB / 1.232 GB, free: 2.613 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001334/1.052, allocations: 2.312 MB / 1.234 GB, free: 208 kB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008239/1.053, allocations: 111.4 kB / 1.234 GB, free: 96 kB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.239e-05/1.053, allocations: 27.98 kB / 1.234 GB, free: 68 kB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.123e-05/1.053, allocations: 9.656 kB / 1.234 GB, free: 60 kB / 0.9825 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007378/1.054, allocations: 361.5 kB / 1.235 GB, free: 15.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.105e-06/1.054, allocations: 7.984 kB / 1.235 GB, free: 15.69 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002075/1.054, allocations: 69.67 kB / 1.235 GB, free: 15.61 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002314/1.055, allocations: 63.91 kB / 1.235 GB, free: 15.55 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00232/1.057, allocations: 2.946 MB / 1.238 GB, free: 12.34 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008007/1.058, allocations: 107.2 kB / 1.238 GB, free: 12.23 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.566e-05/1.058, allocations: 23.98 kB / 1.238 GB, free: 12.21 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.0005204/1.058, allocations: 357.1 kB / 1.238 GB, free: 11.85 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003769/1.059, allocations: 142.3 kB / 1.238 GB, free: 11.71 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008314/1.059, allocations: 440.5 kB / 1.239 GB, free: 11.26 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.524e-06/1.059, allocations: 8 kB / 1.239 GB, free: 11.25 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.499e-06/1.059, allocations: 4 kB / 1.239 GB, free: 11.25 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.527e-06/1.059, allocations: 4.188 kB / 1.239 GB, free: 11.24 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003138/1.063, allocations: 2.568 MB / 1.241 GB, free: 8.535 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.261e-05/1.063, allocations: 8.625 kB / 1.241 GB, free: 8.527 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000252/1.063, allocations: 76.02 kB / 1.241 GB, free: 8.453 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002018/1.063, allocations: 77.66 kB / 1.241 GB, free: 8.371 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.732e-05/1.063, allocations: 15.94 kB / 1.241 GB, free: 8.355 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001393/1.065, allocations: 2.3 MB / 1.243 GB, free: 5.957 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.987e-06/1.065, allocations: 11.98 kB / 1.243 GB, free: 5.945 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00103/1.066, allocations: 0.8034 MB / 1.244 GB, free: 5.055 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000405/1.066, allocations: 255.3 kB / 1.245 GB, free: 4.785 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001206/1.066, allocations: 15.98 kB / 1.245 GB, free: 4.77 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007227/1.067, allocations: 63.88 kB / 1.245 GB, free: 4.707 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.655e-05/1.067, allocations: 43.84 kB / 1.245 GB, free: 4.664 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.55e-05/1.067, allocations: 19.98 kB / 1.245 GB, free: 4.645 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001157/1.068, allocations: 0.8605 MB / 1.245 GB, free: 3.785 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.2e-07/1.068, allocations: 0 / 1.245 GB, free: 3.785 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001507/1.07, allocations: 451.5 kB / 1.246 GB, free: 3.344 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.0006089/1.07, allocations: 227.9 kB / 1.246 GB, free: 3.121 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001721/1.072, allocations: 0.7474 MB / 1.247 GB, free: 2.348 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/1.072, allocations: 4 kB / 1.247 GB, free: 2.344 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004618/1.073, allocations: 204.8 kB / 1.247 GB, free: 2.145 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0046/1.077, allocations: 0.7935 MB / 1.248 GB, free: 1.359 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4976/1.575, allocations: 2.24 MB / 1.25 GB, free: 285 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009054/1.576, allocations: 1.129 MB / 1.251 GB, free: 284.3 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003534/1.576, allocations: 90.48 kB / 1.251 GB, free: 284.2 MB / 0.9981 GB Notification: Performance of SimCode: time 8.62e-07/1.576, allocations: 0.8125 kB / 1.251 GB, free: 284.2 MB / 0.9981 GB Notification: Performance of Templates: time 0.05173/1.628, allocations: 36.69 MB / 1.287 GB, free: 265.5 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicit.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches