Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries.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.PressureDropsSeries,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|res.1..m_flow|res.1..m_flow_turbulent",fileNamePrefix="Buildings_9_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries") translateModel(Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|res.1..m_flow|res.1..m_flow_turbulent",fileNamePrefix="Buildings_9_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009656/0.009656, allocations: 102.3 kB / 15.73 MB, free: 5.578 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.001794/0.001795, allocations: 195.6 kB / 16.67 MB, free: 5.52 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.487/1.487, allocations: 222.9 MB / 240.4 MB, free: 15.18 MB / 206.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.317/2.317, allocations: 390.2 MB / 0.6648 GB, free: 0.6758 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00142/0.00142, allocations: 59.89 kB / 0.9508 GB, free: 7.707 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.026/1.028, allocations: 140.4 MB / 1.088 GB, free: 5.559 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries): time 0.2283/1.256, allocations: 161.5 MB / 1.246 GB, free: 11.58 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.00325/1.259, allocations: 1.711 MB / 1.247 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003435/1.26, allocations: 11.41 kB / 1.247 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0006457/1.26, allocations: 167.4 kB / 1.247 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001481/1.262, allocations: 0.5067 MB / 1.248 GB, free: 9.672 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001289/1.263, allocations: 428.2 kB / 1.248 GB, free: 9.375 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.00262/1.266, allocations: 2.459 MB / 1.251 GB, free: 6.941 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001558/1.267, allocations: 0.9332 MB / 1.252 GB, free: 6 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001713/1.269, allocations: 0.9341 MB / 1.253 GB, free: 5.062 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008674/1.27, allocations: 0.7117 MB / 1.253 GB, free: 4.348 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 9.784e-05/1.27, allocations: 56 kB / 1.253 GB, free: 4.293 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001475/1.271, allocations: 0.7484 MB / 1.254 GB, free: 3.543 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0003042/1.272, allocations: 302.9 kB / 1.254 GB, free: 3.246 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0006195/1.272, allocations: 0.5402 MB / 1.255 GB, free: 2.703 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001644/1.274, allocations: 1.411 MB / 1.256 GB, free: 1.289 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/1.274, allocations: 0 / 1.256 GB, free: 1.289 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.663e-06/1.274, allocations: 0 / 1.256 GB, free: 1.289 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.797e-05/1.274, allocations: 0 / 1.256 GB, free: 1.289 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: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.002094/1.276, allocations: 1.4 MB / 1.258 GB, free: 15.84 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.338e-05/1.276, allocations: 12.03 kB / 1.258 GB, free: 15.82 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007445/1.277, allocations: 178.5 kB / 1.258 GB, free: 15.65 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001295/1.278, allocations: 0.8488 MB / 1.259 GB, free: 14.76 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.206e-05/1.278, allocations: 45 kB / 1.259 GB, free: 14.71 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.723e-05/1.278, allocations: 60 kB / 1.259 GB, free: 14.66 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001052/1.28, allocations: 0.6822 MB / 1.259 GB, free: 13.95 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.696e-05/1.28, allocations: 0 / 1.259 GB, free: 13.95 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.092e-05/1.28, allocations: 20 kB / 1.259 GB, free: 13.93 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.245e-05/1.28, allocations: 12 kB / 1.259 GB, free: 13.92 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000874/1.281, allocations: 0.5269 MB / 1.26 GB, free: 13.4 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.003516/1.284, allocations: 3.237 MB / 1.263 GB, free: 9.785 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005979/1.285, allocations: 391.1 kB / 1.264 GB, free: 9.395 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000363/1.285, allocations: 243.3 kB / 1.264 GB, free: 9.156 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003702/1.285, allocations: 198.2 kB / 1.264 GB, free: 8.926 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.391e-05/1.285, allocations: 38.56 kB / 1.264 GB, free: 8.879 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=28): time 1.954e-06/1.285, allocations: 0 / 1.264 GB, free: 8.879 MB / 0.9981 GB Notification: Performance of matching and sorting (n=28): time 0.005134/1.291, allocations: 1.477 MB / 1.265 GB, free: 7.371 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.148e-05/1.291, allocations: 63.34 kB / 1.265 GB, free: 7.297 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001654/1.292, allocations: 1.073 MB / 1.267 GB, free: 6.203 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 5.777e-05/1.292, allocations: 33.7 kB / 1.267 GB, free: 6.164 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003646/1.293, allocations: 444.4 kB / 1.267 GB, free: 5.727 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 9.739e-05/1.293, allocations: 94.59 kB / 1.267 GB, free: 5.633 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001264/1.293, allocations: 73.59 kB / 1.267 GB, free: 5.555 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001249/1.293, allocations: 317.9 kB / 1.267 GB, free: 5.238 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002899/1.293, allocations: 164.7 kB / 1.268 GB, free: 5.074 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004444/1.294, allocations: 360.3 kB / 1.268 GB, free: 4.648 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005799/1.295, allocations: 373 kB / 1.268 GB, free: 4.273 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.025e-06/1.295, allocations: 4 kB / 1.268 GB, free: 4.27 MB / 0.9981 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.002011/1.297, allocations: 0.8074 MB / 1.269 GB, free: 3.453 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.254e-05/1.297, allocations: 8 kB / 1.269 GB, free: 3.445 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.836e-06/1.297, allocations: 0 / 1.269 GB, free: 3.445 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001491/1.298, allocations: 368.4 kB / 1.269 GB, free: 3.082 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001342/1.298, allocations: 20.08 kB / 1.269 GB, free: 3.062 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001018/1.299, allocations: 0.9984 MB / 1.27 GB, free: 2.039 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005674/1.3, allocations: 63.69 kB / 1.271 GB, free: 1.977 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.764e-05/1.3, allocations: 12 kB / 1.271 GB, free: 1.965 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006627/1.301, allocations: 451.8 kB / 1.271 GB, free: 1.52 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003937/1.301, allocations: 313.8 kB / 1.271 GB, free: 1.141 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004702/1.301, allocations: 305.3 kB / 1.272 GB, free: 0.832 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.343e-06/1.301, allocations: 0 / 1.272 GB, free: 0.832 MB / 0.9981 GB Notification: Performance of matching and sorting (n=28) (initialization_lambda0): time 0.001214/1.303, allocations: 0.596 MB / 1.272 GB, free: 232 kB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.151e-05/1.303, allocations: 4 kB / 1.272 GB, free: 228 kB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/1.303, allocations: 4 kB / 1.272 GB, free: 224 kB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005/1.303, allocations: 200.7 kB / 1.272 GB, free: 20 kB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001299/1.303, allocations: 23.97 kB / 1.272 GB, free: 15.99 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003778/1.307, allocations: 3.303 MB / 1.276 GB, free: 12.54 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004804/1.308, allocations: 40.42 kB / 1.276 GB, free: 12.5 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.556e-05/1.308, allocations: 15.94 kB / 1.276 GB, free: 12.49 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (9): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 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): 1 system {(1,19)} Notification: Performance of prepare postOptimizeDAE: time 0.0001606/1.308, allocations: 196.8 kB / 1.276 GB, free: 12.29 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002182/1.308, allocations: 102.7 kB / 1.276 GB, free: 12.19 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001266/1.309, allocations: 0.7065 MB / 1.277 GB, free: 11.47 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.168e-06/1.309, allocations: 8 kB / 1.277 GB, free: 11.46 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.858e-06/1.309, allocations: 3.984 kB / 1.277 GB, free: 11.46 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/1.309, allocations: 0 / 1.277 GB, free: 11.46 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002246/1.312, allocations: 1.503 MB / 1.278 GB, free: 9.875 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/1.312, allocations: 96 / 1.278 GB, free: 9.875 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001024/1.312, allocations: 19.98 kB / 1.278 GB, free: 9.855 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000476/1.312, allocations: 238.7 kB / 1.278 GB, free: 9.621 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.112e-05/1.312, allocations: 8 kB / 1.278 GB, free: 9.613 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008773/1.313, allocations: 0.9816 MB / 1.279 GB, free: 8.605 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.445e-05/1.313, allocations: 7.875 kB / 1.279 GB, free: 8.598 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001101/1.314, allocations: 0.7977 MB / 1.28 GB, free: 7.758 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003229/1.315, allocations: 207.9 kB / 1.28 GB, free: 7.535 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.386e-05/1.315, allocations: 8 kB / 1.28 GB, free: 7.527 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003566/1.315, allocations: 19.97 kB / 1.28 GB, free: 7.508 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.818e-05/1.315, allocations: 19.92 kB / 1.28 GB, free: 7.488 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.025e-05/1.315, allocations: 11.98 kB / 1.28 GB, free: 7.477 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0009747/1.316, allocations: 0.7747 MB / 1.281 GB, free: 6.691 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.71e-07/1.316, allocations: 0 / 1.281 GB, free: 6.691 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001044/1.317, allocations: 399.3 kB / 1.281 GB, free: 6.301 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (9): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 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): 1 system {(1,19)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004087/1.318, allocations: 172.1 kB / 1.282 GB, free: 6.133 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.00148/1.319, allocations: 0.7523 MB / 1.282 GB, free: 5.371 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.766e-06/1.319, allocations: 0 / 1.282 GB, free: 5.371 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0004304/1.32, allocations: 222.6 kB / 1.283 GB, free: 5.152 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001961/1.322, allocations: 484 kB / 1.283 GB, free: 4.676 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00222/1.324, allocations: 1.686 MB / 1.285 GB, free: 2.938 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007473/1.325, allocations: 1.18 MB / 1.286 GB, free: 1.73 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0005184/1.325, allocations: 207.3 kB / 1.286 GB, free: 1.523 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001134/1.325, allocations: 55.44 kB / 1.286 GB, free: 1.469 MB / 1.014 GB Notification: Performance of SimCode: time 3.01e-07/1.325, allocations: 0 / 1.286 GB, free: 1.469 MB / 1.014 GB Notification: Performance of Templates: time 0.03146/1.357, allocations: 19.85 MB / 1.305 GB, free: 13.87 MB / 1.045 GB make -j1 -f Buildings_9_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries.makefile (rm -f Buildings_9_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries.pipe ; mkfifo Buildings_9_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries.pipe >> ../files/Buildings_9_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries.sim & ./Buildings_9_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_FixedResistances_Validation_PressureDropsSeries.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches