Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.001176/0.001176, allocations: 107.1 kB / 16.41 MB, free: 6.461 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.001268/0.001268, allocations: 192.2 kB / 17.35 MB, free: 5.715 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.377/1.377, allocations: 222.9 MB / 241.1 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.551/2.551, allocations: 461.9 MB / 0.7355 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002219/0.002219, allocations: 71.88 kB / 1.055 GB, free: 7.672 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7778/0.78, allocations: 157.4 MB / 1.208 GB, free: 13.6 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicit): time 0.2552/1.035, allocations: 241.9 MB / 1.445 GB, free: 10.84 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.01852/1.054, allocations: 13.52 MB / 1.458 GB, free: 13.28 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002828/1.057, allocations: 59.56 kB / 1.458 GB, free: 13.22 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.002984/1.06, allocations: 0.9705 MB / 1.459 GB, free: 12.25 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.005284/1.065, allocations: 1.796 MB / 1.461 GB, free: 10.44 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.003484/1.069, allocations: 1.238 MB / 1.462 GB, free: 9.215 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.005506/1.074, allocations: 3.301 MB / 1.465 GB, free: 5.902 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001763/1.076, allocations: 1.07 MB / 1.466 GB, free: 4.809 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01001/1.086, allocations: 4.141 MB / 1.47 GB, free: 0.6523 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001716/1.088, allocations: 0.9023 MB / 1.471 GB, free: 15.74 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0002292/1.088, allocations: 80 kB / 1.471 GB, free: 15.66 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002158/1.09, allocations: 1.037 MB / 1.472 GB, free: 14.63 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0004537/1.091, allocations: 442.6 kB / 1.473 GB, free: 14.2 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0008094/1.091, allocations: 0.6878 MB / 1.473 GB, free: 13.5 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.002378/1.094, allocations: 1.666 MB / 1.475 GB, free: 11.83 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 5.139e-06/1.094, allocations: 4 kB / 1.475 GB, free: 11.83 MB / 1.201 GB Notification: Performance of FrontEnd: time 3.457e-06/1.094, allocations: 0 / 1.475 GB, free: 11.83 MB / 1.201 GB Notification: Performance of Transformations before backend: time 2.629e-05/1.094, allocations: 3.938 kB / 1.475 GB, free: 11.82 MB / 1.201 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.002285/1.096, allocations: 1.631 MB / 1.476 GB, free: 10.14 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.058e-05/1.096, allocations: 8.031 kB / 1.476 GB, free: 10.13 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006549/1.097, allocations: 202.1 kB / 1.477 GB, free: 9.93 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001422/1.098, allocations: 0.905 MB / 1.477 GB, free: 8.969 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001358/1.098, allocations: 121.4 kB / 1.478 GB, free: 8.84 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.821e-05/1.099, allocations: 84 kB / 1.478 GB, free: 8.758 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001415/1.1, allocations: 0.9454 MB / 1.479 GB, free: 7.719 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.31e-05/1.1, allocations: 3.938 kB / 1.479 GB, free: 7.715 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.544e-05/1.1, allocations: 35.94 kB / 1.479 GB, free: 7.68 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.867e-05/1.1, allocations: 20 kB / 1.479 GB, free: 7.66 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008484/1.101, allocations: 0.515 MB / 1.479 GB, free: 7.148 MB / 1.201 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.00466/1.106, allocations: 4.896 MB / 1.484 GB, free: 1.938 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005371/1.106, allocations: 424.7 kB / 1.484 GB, free: 1.395 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003861/1.107, allocations: 283.8 kB / 1.485 GB, free: 1.074 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001949/1.107, allocations: 105.1 kB / 1.485 GB, free: 0.9531 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.894e-05/1.107, allocations: 54.44 kB / 1.485 GB, free: 0.8906 MB / 1.201 GB Notification: Performance of pre-optimization done (n=35): time 2.324e-06/1.107, allocations: 4 kB / 1.485 GB, free: 0.8867 MB / 1.201 GB Notification: Performance of matching and sorting (n=35): time 0.002345/1.109, allocations: 0.8717 MB / 1.486 GB, free: 15.96 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001589/1.109, allocations: 397.5 kB / 1.486 GB, free: 15.48 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001451/1.111, allocations: 1.235 MB / 1.487 GB, free: 14.23 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 5.765e-05/1.111, allocations: 41.7 kB / 1.487 GB, free: 14.19 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004516/1.111, allocations: 0.534 MB / 1.488 GB, free: 13.65 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001113/1.111, allocations: 118.2 kB / 1.488 GB, free: 13.54 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001333/1.112, allocations: 89.58 kB / 1.488 GB, free: 13.44 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001203/1.112, allocations: 322 kB / 1.488 GB, free: 13.12 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002412/1.112, allocations: 104.7 kB / 1.488 GB, free: 13.02 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004357/1.112, allocations: 351.8 kB / 1.489 GB, free: 12.58 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005583/1.113, allocations: 356.5 kB / 1.489 GB, free: 12.18 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/1.113, allocations: 0 / 1.489 GB, free: 12.18 MB / 1.217 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001281/1.114, allocations: 0.5677 MB / 1.49 GB, free: 11.6 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 1.907e-05/1.114, allocations: 4 kB / 1.49 GB, free: 11.6 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.097e-06/1.114, allocations: 4 kB / 1.49 GB, free: 11.59 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005926/1.115, allocations: 117.6 kB / 1.49 GB, free: 11.47 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00047/1.115, allocations: 95.81 kB / 1.49 GB, free: 11.38 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001405/1.117, allocations: 2.312 MB / 1.492 GB, free: 8.969 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007338/1.118, allocations: 99.44 kB / 1.492 GB, free: 8.871 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.007e-05/1.118, allocations: 20 kB / 1.492 GB, free: 8.852 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004926/1.118, allocations: 312 kB / 1.493 GB, free: 8.543 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004092/1.119, allocations: 343.7 kB / 1.493 GB, free: 8.113 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004819/1.119, allocations: 324.6 kB / 1.493 GB, free: 7.75 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.667e-06/1.119, allocations: 7.984 kB / 1.493 GB, free: 7.742 MB / 1.217 GB Notification: Performance of matching and sorting (n=37) (initialization_lambda0): time 0.0009171/1.12, allocations: 0.4978 MB / 1.494 GB, free: 7.23 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 1.327e-05/1.12, allocations: 12.12 kB / 1.494 GB, free: 7.219 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/1.12, allocations: 4 kB / 1.494 GB, free: 7.215 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002331/1.12, allocations: 77.55 kB / 1.494 GB, free: 7.133 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002379/1.12, allocations: 67.89 kB / 1.494 GB, free: 7.066 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002556/1.123, allocations: 3.258 MB / 1.497 GB, free: 3.531 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007238/1.124, allocations: 67.78 kB / 1.497 GB, free: 3.465 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.932e-05/1.124, allocations: 20 kB / 1.497 GB, free: 3.445 MB / 1.217 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.0002079/1.124, allocations: 210.6 kB / 1.497 GB, free: 3.234 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003987/1.124, allocations: 130.4 kB / 1.497 GB, free: 3.105 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008896/1.125, allocations: 445.3 kB / 1.498 GB, free: 2.648 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.789e-06/1.125, allocations: 4 kB / 1.498 GB, free: 2.645 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.754e-06/1.125, allocations: 8 kB / 1.498 GB, free: 2.637 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003689/1.126, allocations: 247.4 kB / 1.498 GB, free: 2.375 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000119/1.126, allocations: 15.94 kB / 1.498 GB, free: 2.359 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009803/1.127, allocations: 43.94 kB / 1.498 GB, free: 2.316 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.473e-05/1.127, allocations: 27.97 kB / 1.498 GB, free: 2.289 MB / 1.217 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001401/1.128, allocations: 1.498 MB / 1.5 GB, free: 0.7617 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001433/1.13, allocations: 1.701 MB / 1.501 GB, free: 15.04 MB / 1.232 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002561/1.13, allocations: 132.1 kB / 1.501 GB, free: 14.91 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.001115/1.131, allocations: 0.8644 MB / 1.502 GB, free: 14.04 MB / 1.232 GB Notification: Performance of Backend: time 2.815e-06/1.131, allocations: 4 kB / 1.502 GB, free: 14.04 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.003636/1.135, allocations: 0.9205 MB / 1.503 GB, free: 13.1 MB / 1.232 GB Notification: Performance of SimCode: time 0.005281/1.14, allocations: 2.898 MB / 1.506 GB, free: 10.15 MB / 1.232 GB Notification: Performance of Templates: time 0.04406/1.184, allocations: 26.57 MB / 1.532 GB, free: 15.89 MB / 1.264 GB make -j1 -f Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicit.makefile (rm -f Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicit.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicit.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicit.pipe >> ../files/Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicit.sim & ./Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicit -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicit.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicit_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_FixedResistances_Validation_PressureDropsExplicit.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicit.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches