Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.PressureDropsSeries,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|res.1..m_flow|res.1..m_flow_turbulent",fileNamePrefix="Buildings_latest_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_latest_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.001517/0.001516, allocations: 114.3 kB / 16.42 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.001649/0.001649, allocations: 187.9 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.435/1.435, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.614/2.614, allocations: 469.4 MB / 0.7428 GB, free: 3.566 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001429/0.001429, allocations: 60.12 kB / 1.065 GB, free: 13.81 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9621/0.9635, allocations: 159.1 MB / 1.221 GB, free: 2.48 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries): time 0.1853/1.149, allocations: 161.5 MB / 1.379 GB, free: 328 kB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.003388/1.152, allocations: 1.712 MB / 1.38 GB, free: 14.61 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004216/1.153, allocations: 15.88 kB / 1.38 GB, free: 14.59 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.0006314/1.153, allocations: 163 kB / 1.38 GB, free: 14.43 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.001516/1.155, allocations: 0.5329 MB / 1.381 GB, free: 13.89 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.001265/1.156, allocations: 434.8 kB / 1.381 GB, free: 13.48 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.002511/1.159, allocations: 2.458 MB / 1.384 GB, free: 11.01 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001367/1.16, allocations: 0.9333 MB / 1.385 GB, free: 10.06 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00215/1.162, allocations: 0.9497 MB / 1.386 GB, free: 9.109 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001256/1.164, allocations: 0.704 MB / 1.386 GB, free: 8.402 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.0002309/1.164, allocations: 56 kB / 1.386 GB, free: 8.348 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001842/1.166, allocations: 0.7523 MB / 1.387 GB, free: 7.594 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0004677/1.166, allocations: 303 kB / 1.387 GB, free: 7.297 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.001002/1.167, allocations: 0.544 MB / 1.388 GB, free: 6.75 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.002055/1.169, allocations: 1.406 MB / 1.389 GB, free: 5.34 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 7.034e-06/1.169, allocations: 7.938 kB / 1.389 GB, free: 5.332 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.512e-06/1.169, allocations: 0 / 1.389 GB, free: 5.332 MB / 1.107 GB Notification: Performance of Transformations before backend: time 3.807e-05/1.169, allocations: 0 / 1.389 GB, free: 5.332 MB / 1.107 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.002678/1.172, allocations: 1.408 MB / 1.391 GB, free: 3.871 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 5.471e-05/1.172, allocations: 8.031 kB / 1.391 GB, free: 3.863 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000892/1.173, allocations: 182.5 kB / 1.391 GB, free: 3.684 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001601/1.175, allocations: 0.8411 MB / 1.392 GB, free: 2.797 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.178e-05/1.175, allocations: 45 kB / 1.392 GB, free: 2.754 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.919e-05/1.175, allocations: 56 kB / 1.392 GB, free: 2.699 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001222/1.176, allocations: 0.6861 MB / 1.392 GB, free: 2.004 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.51e-05/1.176, allocations: 0 / 1.392 GB, free: 2.004 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.337e-05/1.176, allocations: 20 kB / 1.392 GB, free: 1.984 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.565e-05/1.176, allocations: 16 kB / 1.392 GB, free: 1.969 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00098/1.177, allocations: 0.5152 MB / 1.393 GB, free: 1.449 MB / 1.107 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.004419/1.182, allocations: 3.241 MB / 1.396 GB, free: 13.84 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006157/1.182, allocations: 398.2 kB / 1.397 GB, free: 13.44 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003742/1.183, allocations: 240.6 kB / 1.397 GB, free: 13.2 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003225/1.183, allocations: 194.2 kB / 1.397 GB, free: 12.98 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.443e-05/1.183, allocations: 38.56 kB / 1.397 GB, free: 12.93 MB / 1.123 GB Notification: Performance of pre-optimization done (n=28): time 2.144e-06/1.183, allocations: 0 / 1.397 GB, free: 12.93 MB / 1.123 GB Notification: Performance of matching and sorting (n=28): time 0.004941/1.188, allocations: 1.485 MB / 1.398 GB, free: 11.41 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.78e-05/1.188, allocations: 51.41 kB / 1.398 GB, free: 11.35 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001541/1.189, allocations: 1.065 MB / 1.4 GB, free: 10.27 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 5.539e-05/1.19, allocations: 41.7 kB / 1.4 GB, free: 10.22 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003878/1.19, allocations: 440.4 kB / 1.4 GB, free: 9.785 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 9.95e-05/1.19, allocations: 98.5 kB / 1.4 GB, free: 9.688 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001402/1.19, allocations: 65.7 kB / 1.4 GB, free: 9.617 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001323/1.19, allocations: 325.9 kB / 1.4 GB, free: 9.293 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003176/1.191, allocations: 168.6 kB / 1.401 GB, free: 9.125 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004484/1.191, allocations: 348.4 kB / 1.401 GB, free: 8.711 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006491/1.192, allocations: 393.7 kB / 1.401 GB, free: 8.316 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.486e-06/1.192, allocations: 0 / 1.401 GB, free: 8.316 MB / 1.123 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.002069/1.194, allocations: 0.8087 MB / 1.402 GB, free: 7.496 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.274e-05/1.194, allocations: 8 kB / 1.402 GB, free: 7.488 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/1.194, allocations: 336 / 1.402 GB, free: 7.488 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001536/1.195, allocations: 358.7 kB / 1.402 GB, free: 7.137 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001348/1.196, allocations: 19.98 kB / 1.402 GB, free: 7.117 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001087/1.197, allocations: 1.009 MB / 1.403 GB, free: 6.082 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005669/1.197, allocations: 51.64 kB / 1.404 GB, free: 6.031 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.575e-05/1.197, allocations: 15.98 kB / 1.404 GB, free: 6.016 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006625/1.198, allocations: 455.8 kB / 1.404 GB, free: 5.566 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004024/1.198, allocations: 312.5 kB / 1.404 GB, free: 5.188 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005076/1.199, allocations: 305.4 kB / 1.405 GB, free: 4.879 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.633e-06/1.199, allocations: 0 / 1.405 GB, free: 4.879 MB / 1.123 GB Notification: Performance of matching and sorting (n=28) (initialization_lambda0): time 0.001284/1.2, allocations: 0.6006 MB / 1.405 GB, free: 4.27 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 1.412e-05/1.2, allocations: 8 kB / 1.405 GB, free: 4.262 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.136e-06/1.2, allocations: 4 kB / 1.405 GB, free: 4.258 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005435/1.201, allocations: 204.6 kB / 1.405 GB, free: 4.055 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001081/1.201, allocations: 15.98 kB / 1.405 GB, free: 4.039 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004079/1.205, allocations: 3.304 MB / 1.409 GB, free: 0.582 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006203/1.206, allocations: 40.19 kB / 1.409 GB, free: 0.543 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.359e-05/1.206, allocations: 12 kB / 1.409 GB, free: 0.5312 MB / 1.123 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.0001922/1.206, allocations: 200.5 kB / 1.409 GB, free: 336 kB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002199/1.206, allocations: 94.81 kB / 1.409 GB, free: 240 kB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001427/1.208, allocations: 0.7071 MB / 1.41 GB, free: 15.52 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.315e-06/1.208, allocations: 7.922 kB / 1.41 GB, free: 15.51 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.025e-06/1.208, allocations: 0 / 1.41 GB, free: 15.51 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004418/1.208, allocations: 207.9 kB / 1.41 GB, free: 15.29 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001483/1.208, allocations: 4 kB / 1.41 GB, free: 15.28 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003931/1.209, allocations: 19.92 kB / 1.41 GB, free: 15.26 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.467e-05/1.209, allocations: 31.94 kB / 1.41 GB, free: 15.23 MB / 1.139 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001338/1.21, allocations: 0.6963 MB / 1.411 GB, free: 14.52 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001151/1.211, allocations: 0.8003 MB / 1.411 GB, free: 13.71 MB / 1.139 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003316/1.212, allocations: 163.8 kB / 1.412 GB, free: 13.55 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.001226/1.213, allocations: 0.7786 MB / 1.412 GB, free: 12.76 MB / 1.139 GB Notification: Performance of Backend: time 8.52e-07/1.213, allocations: 0 / 1.412 GB, free: 12.76 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.002572/1.215, allocations: 0.856 MB / 1.413 GB, free: 11.89 MB / 1.139 GB Notification: Performance of SimCode: time 0.005308/1.221, allocations: 2.631 MB / 1.416 GB, free: 9.207 MB / 1.139 GB Notification: Performance of Templates: time 0.03544/1.256, allocations: 20.28 MB / 1.435 GB, free: 5.137 MB / 1.154 GB make -j1 -f Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries.makefile (rm -f Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries.pipe >> ../files/Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries.sim & ./Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_FixedResistances_Validation_PressureDropsSeries.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches