Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.Examples.Performance.PressureDrop.SeriesFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001642/0.001642, allocations: 111.3 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.001813/0.001813, allocations: 189.5 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.37/1.37, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.58/2.58, allocations: 472.7 MB / 0.746 GB, free: 464 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001292/0.001292, allocations: 63.89 kB / 1.07 GB, free: 9.543 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7037/0.705, allocations: 159.9 MB / 1.226 GB, free: 13.49 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow): time 0.1625/0.8675, allocations: 161.6 MB / 1.384 GB, free: 11.26 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.002796/0.8704, allocations: 1.764 MB / 1.386 GB, free: 9.496 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000219/0.8706, allocations: 11.94 kB / 1.386 GB, free: 9.484 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.0005098/0.8712, allocations: 170.9 kB / 1.386 GB, free: 9.316 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.00118/0.8723, allocations: 0.5446 MB / 1.387 GB, free: 8.77 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009593/0.8733, allocations: 398.1 kB / 1.387 GB, free: 8.383 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.002495/0.8758, allocations: 2.539 MB / 1.389 GB, free: 5.84 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001041/0.8769, allocations: 0.9303 MB / 1.39 GB, free: 4.902 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001373/0.8783, allocations: 1.039 MB / 1.391 GB, free: 3.859 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007822/0.8791, allocations: 0.7117 MB / 1.392 GB, free: 3.145 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.0001179/0.8792, allocations: 56 kB / 1.392 GB, free: 3.09 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001256/0.8804, allocations: 0.7406 MB / 1.393 GB, free: 2.348 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0002941/0.8807, allocations: 314.8 kB / 1.393 GB, free: 2.039 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.0005458/0.8813, allocations: 0.5401 MB / 1.394 GB, free: 1.496 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.001442/0.8828, allocations: 1.408 MB / 1.395 GB, free: 88 kB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 2.886e-06/0.8828, allocations: 0 / 1.395 GB, free: 88 kB / 1.107 GB Notification: Performance of FrontEnd: time 9.01e-07/0.8828, allocations: 0 / 1.395 GB, free: 88 kB / 1.107 GB Notification: Performance of Transformations before backend: time 1.465e-05/0.8828, allocations: 0 / 1.395 GB, free: 88 kB / 1.107 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.002057/0.8849, allocations: 1.493 MB / 1.397 GB, free: 14.52 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 3.511e-05/0.8849, allocations: 8.031 kB / 1.397 GB, free: 14.52 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007055/0.8856, allocations: 199.1 kB / 1.397 GB, free: 14.32 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001217/0.8868, allocations: 0.8578 MB / 1.398 GB, free: 13.41 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.589e-05/0.8869, allocations: 41 kB / 1.398 GB, free: 13.37 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.759e-05/0.887, allocations: 60 kB / 1.398 GB, free: 13.31 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001081/0.8881, allocations: 0.7926 MB / 1.398 GB, free: 12.44 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.531e-05/0.8881, allocations: 0 / 1.398 GB, free: 12.44 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.833e-05/0.8881, allocations: 24 kB / 1.398 GB, free: 12.42 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.193e-05/0.8882, allocations: 12 kB / 1.398 GB, free: 12.41 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00093/0.8891, allocations: 0.5344 MB / 1.399 GB, free: 11.87 MB / 1.123 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.004321/0.8934, allocations: 4.607 MB / 1.403 GB, free: 6.879 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007532/0.8942, allocations: 418.3 kB / 1.404 GB, free: 6.461 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003944/0.8946, allocations: 238.4 kB / 1.404 GB, free: 6.227 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003216/0.8949, allocations: 194.2 kB / 1.404 GB, free: 6 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005308/0.8955, allocations: 297 kB / 1.405 GB, free: 5.691 MB / 1.123 GB Notification: Performance of pre-optimization done (n=31): time 2.254e-06/0.8955, allocations: 0 / 1.405 GB, free: 5.691 MB / 1.123 GB Notification: Performance of matching and sorting (n=31): time 0.001338/0.8968, allocations: 0.6345 MB / 1.405 GB, free: 5.051 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.305e-05/0.8969, allocations: 85.11 kB / 1.405 GB, free: 4.949 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001242/0.8981, allocations: 1.118 MB / 1.406 GB, free: 3.812 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 4.374e-05/0.8982, allocations: 37.7 kB / 1.406 GB, free: 3.77 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003769/0.8986, allocations: 496.9 kB / 1.407 GB, free: 3.277 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 8.624e-05/0.8987, allocations: 111 kB / 1.407 GB, free: 3.168 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001614/0.8988, allocations: 114.1 kB / 1.407 GB, free: 3.051 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001087/0.899, allocations: 325.9 kB / 1.407 GB, free: 2.727 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003742/0.8993, allocations: 218.4 kB / 1.408 GB, free: 2.508 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005788/0.8999, allocations: 0.5135 MB / 1.408 GB, free: 1.859 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000843/0.9008, allocations: 0.6308 MB / 1.409 GB, free: 1.148 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.871e-06/0.9008, allocations: 4 kB / 1.409 GB, free: 1.145 MB / 1.123 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.00113/0.9019, allocations: 0.7286 MB / 1.409 GB, free: 412 kB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 3.461e-05/0.902, allocations: 33.7 kB / 1.409 GB, free: 372 kB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.468e-06/0.902, allocations: 4 kB / 1.409 GB, free: 368 kB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.781e-05/0.902, allocations: 8 kB / 1.409 GB, free: 360 kB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001761/0.9038, allocations: 360 kB / 1.41 GB, free: 0 / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003293/0.9071, allocations: 6.083 MB / 1.416 GB, free: 9.68 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005878/0.9077, allocations: 75.78 kB / 1.416 GB, free: 9.605 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.107e-05/0.9078, allocations: 27.98 kB / 1.416 GB, free: 9.578 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006641/0.9084, allocations: 0.4967 MB / 1.416 GB, free: 9.074 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000531/0.909, allocations: 497.7 kB / 1.417 GB, free: 8.461 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007471/0.9097, allocations: 0.5528 MB / 1.417 GB, free: 7.828 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.096e-06/0.9097, allocations: 4 kB / 1.417 GB, free: 7.824 MB / 1.139 GB Notification: Performance of matching and sorting (n=54) (initialization_lambda0): time 0.001003/0.9107, allocations: 0.6541 MB / 1.418 GB, free: 7.156 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 3.005e-05/0.9108, allocations: 37.7 kB / 1.418 GB, free: 7.113 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.9108, allocations: 8.656 kB / 1.418 GB, free: 7.105 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.765e-06/0.9108, allocations: 8 kB / 1.418 GB, free: 7.098 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005501/0.9114, allocations: 155.8 kB / 1.418 GB, free: 6.945 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.085e-05/0.9114, allocations: 11.94 kB / 1.418 GB, free: 6.934 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005428/0.9119, allocations: 68.11 kB / 1.418 GB, free: 6.867 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.813e-05/0.912, allocations: 24 kB / 1.418 GB, free: 6.844 MB / 1.139 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 5 (pulse_p.count,$PRE.pulse_p.count,pulse_p.T_start,$PRE.pulse_p.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 10 * Torn equation systems: 0 * 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): 10 systems {1, 1, 1, 1, 1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001704/0.9122, allocations: 220.1 kB / 1.419 GB, free: 6.621 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001138/0.9123, allocations: 103.3 kB / 1.419 GB, free: 6.52 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008643/0.9131, allocations: 495 kB / 1.419 GB, free: 6.031 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.693e-06/0.9132, allocations: 3.984 kB / 1.419 GB, free: 6.027 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.9132, allocations: 4 kB / 1.419 GB, free: 6.023 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002653/0.9134, allocations: 212.4 kB / 1.419 GB, free: 5.797 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001035/0.9136, allocations: 8 kB / 1.419 GB, free: 5.789 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003369/0.9139, allocations: 15.98 kB / 1.419 GB, free: 5.773 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.736e-05/0.914, allocations: 31.89 kB / 1.419 GB, free: 5.742 MB / 1.139 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001495/0.9155, allocations: 0.7738 MB / 1.42 GB, free: 4.93 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001254/0.9168, allocations: 0.9278 MB / 1.421 GB, free: 3.984 MB / 1.139 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003011/0.9171, allocations: 188 kB / 1.421 GB, free: 3.801 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0009226/0.918, allocations: 0.7836 MB / 1.422 GB, free: 3.008 MB / 1.139 GB Notification: Performance of Backend: time 6.01e-07/0.918, allocations: 0 / 1.422 GB, free: 3.008 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.003696/0.9217, allocations: 1.186 MB / 1.423 GB, free: 1.801 MB / 1.139 GB Notification: Performance of SimCode: time 0.003942/0.9257, allocations: 2.602 MB / 1.426 GB, free: 15.15 MB / 1.154 GB Notification: Performance of Templates: time 0.03036/0.956, allocations: 19.42 MB / 1.445 GB, free: 11.91 MB / 1.17 GB make -j1 -f Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.makefile (rm -f Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe >> ../files/Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.sim & ./Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Examples_Performance_PressureDrop_SeriesFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches