Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop.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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.FixedResistances.Examples.PressureDrop,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|res.m_flow_nominal|res.m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop") translateModel(Buildings.Fluid.FixedResistances.Examples.PressureDrop,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|res.m_flow_nominal|res.m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002051/0.002051, allocations: 114.5 kB / 16.38 MB, free: 6.355 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.003035/0.003035, allocations: 191.5 kB / 17.31 MB, free: 5.895 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.55/1.55, 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 11.0.0-master/package.mo): time 2.556/2.556, allocations: 442.7 MB / 0.7167 GB, free: 14.58 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001539/0.00154, allocations: 67.89 kB / 1.027 GB, free: 1.492 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9672/0.9688, allocations: 153 MB / 1.177 GB, free: 10.79 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.PressureDrop): time 0.1832/1.152, allocations: 161.5 MB / 1.334 GB, free: 8.641 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.003222/1.155, allocations: 1.707 MB / 1.336 GB, free: 6.93 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004855/1.156, allocations: 11.94 kB / 1.336 GB, free: 6.918 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0006286/1.156, allocations: 159 kB / 1.336 GB, free: 6.762 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.001374/1.158, allocations: 0.5133 MB / 1.337 GB, free: 6.246 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.00119/1.159, allocations: 428.3 kB / 1.337 GB, free: 5.832 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0007526/1.16, allocations: 0.5654 MB / 1.338 GB, free: 5.266 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002913/1.16, allocations: 176.5 kB / 1.338 GB, free: 5.094 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005865/1.161, allocations: 322.7 kB / 1.338 GB, free: 4.777 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001927/1.161, allocations: 159.3 kB / 1.338 GB, free: 4.621 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.937e-05/1.161, allocations: 12 kB / 1.338 GB, free: 4.609 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001071/1.162, allocations: 0.6898 MB / 1.339 GB, free: 3.918 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001068/1.162, allocations: 83.66 kB / 1.339 GB, free: 3.836 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001225/1.162, allocations: 115.4 kB / 1.339 GB, free: 3.723 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0007023/1.163, allocations: 0.4926 MB / 1.34 GB, free: 3.23 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/1.163, allocations: 4 kB / 1.34 GB, free: 3.227 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.623e-06/1.163, allocations: 0 / 1.34 GB, free: 3.227 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.058e-05/1.163, allocations: 0 / 1.34 GB, free: 3.227 MB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0007774/1.164, allocations: 0.5799 MB / 1.34 GB, free: 2.598 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.94e-05/1.164, allocations: 8.031 kB / 1.34 GB, free: 2.59 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003369/1.164, allocations: 55.59 kB / 1.34 GB, free: 2.535 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004281/1.165, allocations: 309.3 kB / 1.341 GB, free: 2.191 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.484e-05/1.165, allocations: 8 kB / 1.341 GB, free: 2.184 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.137e-05/1.165, allocations: 16 kB / 1.341 GB, free: 2.168 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003675/1.165, allocations: 192.9 kB / 1.341 GB, free: 1.965 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/1.165, allocations: 0 / 1.341 GB, free: 1.965 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.038e-05/1.165, allocations: 8 kB / 1.341 GB, free: 1.957 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.01e-05/1.165, allocations: 4 kB / 1.341 GB, free: 1.953 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002984/1.165, allocations: 123.9 kB / 1.341 GB, free: 1.832 MB / 1.061 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.0009782/1.166, allocations: 0.7847 MB / 1.342 GB, free: 0.9766 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002435/1.167, allocations: 78.53 kB / 1.342 GB, free: 0.8906 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001554/1.167, allocations: 80.8 kB / 1.342 GB, free: 0.8086 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002752/1.167, allocations: 194.2 kB / 1.342 GB, free: 0.582 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.113e-05/1.167, allocations: 30.56 kB / 1.342 GB, free: 0.543 MB / 1.061 GB Notification: Performance of pre-optimization done (n=10): time 1.172e-06/1.167, allocations: 0 / 1.342 GB, free: 0.543 MB / 1.061 GB Notification: Performance of matching and sorting (n=10): time 0.0006608/1.168, allocations: 225.1 kB / 1.342 GB, free: 324 kB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.941e-05/1.168, allocations: 55.34 kB / 1.342 GB, free: 256 kB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002514/1.168, allocations: 271 kB / 1.343 GB, free: 15.98 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 2.686e-05/1.168, allocations: 25.7 kB / 1.343 GB, free: 15.95 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 9.294e-05/1.168, allocations: 147.9 kB / 1.343 GB, free: 15.8 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 3.391e-05/1.168, allocations: 39.45 kB / 1.343 GB, free: 15.77 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.354e-05/1.168, allocations: 25.72 kB / 1.343 GB, free: 15.73 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001174/1.168, allocations: 338.8 kB / 1.343 GB, free: 15.39 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001287/1.169, allocations: 48.81 kB / 1.343 GB, free: 15.34 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001607/1.169, allocations: 93.05 kB / 1.343 GB, free: 15.23 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002529/1.169, allocations: 123.4 kB / 1.343 GB, free: 15.1 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/1.169, allocations: 3.938 kB / 1.343 GB, free: 15.1 MB / 1.076 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003242/1.169, allocations: 149.3 kB / 1.344 GB, free: 14.95 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.577e-05/1.169, allocations: 5.406 kB / 1.344 GB, free: 14.94 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/1.169, allocations: 0 / 1.344 GB, free: 14.94 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.755e-05/1.169, allocations: 7.969 kB / 1.344 GB, free: 14.93 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000125/1.17, allocations: 32.05 kB / 1.344 GB, free: 14.9 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.364e-06/1.17, allocations: 3.984 kB / 1.344 GB, free: 14.9 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001674/1.17, allocations: 19.92 kB / 1.344 GB, free: 14.88 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.176e-05/1.17, allocations: 4 kB / 1.344 GB, free: 14.88 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001925/1.17, allocations: 148 kB / 1.344 GB, free: 14.73 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001591/1.17, allocations: 93.11 kB / 1.344 GB, free: 14.62 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002374/1.17, allocations: 123.4 kB / 1.344 GB, free: 14.48 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.102e-06/1.17, allocations: 0 / 1.344 GB, free: 14.48 MB / 1.076 GB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 0.0003097/1.171, allocations: 157.3 kB / 1.344 GB, free: 14.32 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 8.336e-06/1.171, allocations: 4 kB / 1.344 GB, free: 14.32 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.966e-06/1.171, allocations: 4.75 kB / 1.344 GB, free: 14.32 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.014e-06/1.171, allocations: 0 / 1.344 GB, free: 14.32 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001096/1.171, allocations: 27.92 kB / 1.344 GB, free: 14.29 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.567e-06/1.171, allocations: 3.938 kB / 1.344 GB, free: 14.29 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001592/1.171, allocations: 19.89 kB / 1.344 GB, free: 14.27 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.267e-05/1.171, allocations: 4 kB / 1.344 GB, free: 14.26 MB / 1.076 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 (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001045/1.171, allocations: 196.2 kB / 1.344 GB, free: 14.06 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.511e-05/1.171, allocations: 19.72 kB / 1.344 GB, free: 14.04 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003535/1.172, allocations: 167.2 kB / 1.345 GB, free: 13.87 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.941e-06/1.172, allocations: 3.938 kB / 1.345 GB, free: 13.86 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/1.172, allocations: 3.938 kB / 1.345 GB, free: 13.86 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 8.599e-05/1.172, allocations: 104.9 kB / 1.345 GB, free: 13.74 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.81e-05/1.172, allocations: 0 / 1.345 GB, free: 13.74 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001715/1.172, allocations: 15.98 kB / 1.345 GB, free: 13.72 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.276e-05/1.172, allocations: 7.984 kB / 1.345 GB, free: 13.71 MB / 1.076 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003541/1.172, allocations: 212.8 kB / 1.345 GB, free: 13.5 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003584/1.173, allocations: 330.3 kB / 1.345 GB, free: 13.16 MB / 1.076 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001228/1.173, allocations: 47.97 kB / 1.345 GB, free: 13.11 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0001701/1.173, allocations: 193.9 kB / 1.345 GB, free: 12.92 MB / 1.076 GB Notification: Performance of Backend: time 6.81e-07/1.173, allocations: 0 / 1.345 GB, free: 12.92 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.001145/1.174, allocations: 357.6 kB / 1.346 GB, free: 12.58 MB / 1.076 GB Notification: Performance of SimCode: time 0.001037/1.175, allocations: 0.9077 MB / 1.347 GB, free: 11.62 MB / 1.076 GB Notification: Performance of Templates: time 0.00996/1.185, allocations: 5.867 MB / 1.352 GB, free: 5.812 MB / 1.076 GB make -j1 -f Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop.makefile (rm -f Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe >> ../files/Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop.sim & ./Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_FixedResistances_Examples_PressureDrop.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches