Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.Examples.PressureDrop,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|res.m_flow_nominal|res.m_flow",fileNamePrefix="Buildings_9_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_9_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.001367/0.001367, allocations: 111.5 kB / 16.37 MB, free: 5.539 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.001509/0.001509, allocations: 192 kB / 17.31 MB, free: 5.18 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.379/1.379, 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 9.1.2-maint.9.1.x/package.mo): time 2.314/2.314, allocations: 390.3 MB / 0.6655 GB, free: 0.582 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001395/0.001396, allocations: 62.02 kB / 0.814 GB, free: 32.57 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3075/0.3089, allocations: 140.4 MB / 0.9511 GB, free: 8.02 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.PressureDrop): time 0.8643/1.173, allocations: 161.5 MB / 1.109 GB, free: 5.438 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.004892/1.178, allocations: 1.705 MB / 1.111 GB, free: 5.371 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009003/1.179, allocations: 15.31 kB / 1.111 GB, free: 5.367 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0009594/1.18, allocations: 159.4 kB / 1.111 GB, free: 5.363 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.002347/1.183, allocations: 0.5108 MB / 1.111 GB, free: 5.34 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001979/1.185, allocations: 422 kB / 1.112 GB, free: 5.324 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001246/1.186, allocations: 0.5711 MB / 1.112 GB, free: 5.316 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004163/1.186, allocations: 174.8 kB / 1.112 GB, free: 5.297 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008619/1.187, allocations: 319.3 kB / 1.113 GB, free: 5.293 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003025/1.187, allocations: 151 kB / 1.113 GB, free: 5.293 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 5.257e-05/1.187, allocations: 13.06 kB / 1.113 GB, free: 5.293 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001688/1.189, allocations: 0.6971 MB / 1.113 GB, free: 5.285 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001368/1.189, allocations: 78.17 kB / 1.114 GB, free: 5.285 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001755/1.19, allocations: 117.1 kB / 1.114 GB, free: 5.285 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.000918/1.19, allocations: 0.4957 MB / 1.114 GB, free: 5.25 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/1.19, allocations: 0 / 1.114 GB, free: 5.25 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.844e-06/1.19, allocations: 0 / 1.114 GB, free: 5.25 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.744e-06/1.19, allocations: 0 / 1.114 GB, free: 5.25 MB / 0.8575 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.001153/1.192, allocations: 0.5775 MB / 1.115 GB, free: 20.79 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.794e-05/1.192, allocations: 10.12 kB / 1.115 GB, free: 20.79 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003768/1.192, allocations: 54.33 kB / 1.115 GB, free: 20.77 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005017/1.193, allocations: 305.6 kB / 1.115 GB, free: 20.54 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.316e-05/1.193, allocations: 12.69 kB / 1.115 GB, free: 20.54 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.216e-05/1.193, allocations: 16.81 kB / 1.115 GB, free: 20.54 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004312/1.193, allocations: 201.1 kB / 1.115 GB, free: 20.47 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.199e-05/1.193, allocations: 0 / 1.115 GB, free: 20.47 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.027e-05/1.193, allocations: 4.625 kB / 1.115 GB, free: 20.47 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.606e-06/1.193, allocations: 7.938 kB / 1.115 GB, free: 20.47 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003235/1.193, allocations: 132.4 kB / 1.115 GB, free: 20.46 MB / 0.8731 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.001131/1.195, allocations: 0.7826 MB / 1.116 GB, free: 19.94 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002609/1.195, allocations: 84.45 kB / 1.116 GB, free: 19.91 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001626/1.195, allocations: 79.38 kB / 1.116 GB, free: 19.9 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003074/1.195, allocations: 187.5 kB / 1.116 GB, free: 19.71 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.171e-05/1.195, allocations: 32.78 kB / 1.117 GB, free: 19.68 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=10): time 1.152e-06/1.195, allocations: 0 / 1.117 GB, free: 19.68 MB / 0.8731 GB Notification: Performance of matching and sorting (n=10): time 0.0006987/1.196, allocations: 225.3 kB / 1.117 GB, free: 19.62 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.027e-05/1.196, allocations: 52.88 kB / 1.117 GB, free: 19.56 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003844/1.197, allocations: 267.3 kB / 1.117 GB, free: 19.46 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 3.222e-05/1.197, allocations: 26.89 kB / 1.117 GB, free: 19.43 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001546/1.197, allocations: 147 kB / 1.117 GB, free: 19.34 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 4.775e-05/1.197, allocations: 33.72 kB / 1.117 GB, free: 19.32 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.185e-05/1.197, allocations: 32.48 kB / 1.117 GB, free: 19.3 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001541/1.197, allocations: 334.4 kB / 1.118 GB, free: 18.98 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001483/1.197, allocations: 48.22 kB / 1.118 GB, free: 18.98 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001967/1.197, allocations: 90.16 kB / 1.118 GB, free: 18.93 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003004/1.198, allocations: 122.6 kB / 1.118 GB, free: 18.89 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/1.198, allocations: 0 / 1.118 GB, free: 18.89 MB / 0.8731 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004136/1.198, allocations: 157.5 kB / 1.118 GB, free: 18.85 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.153e-05/1.198, allocations: 8.156 kB / 1.118 GB, free: 18.85 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.626e-06/1.198, allocations: 1.438 kB / 1.118 GB, free: 18.85 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.505e-05/1.198, allocations: 10.23 kB / 1.118 GB, free: 18.84 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001332/1.198, allocations: 21.17 kB / 1.118 GB, free: 18.84 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.052e-05/1.198, allocations: 2.781 kB / 1.118 GB, free: 18.84 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001777/1.199, allocations: 20.5 kB / 1.118 GB, free: 18.84 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.068e-05/1.199, allocations: 6.484 kB / 1.118 GB, free: 18.84 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000242/1.199, allocations: 150.4 kB / 1.118 GB, free: 18.76 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001889/1.199, allocations: 98.02 kB / 1.118 GB, free: 18.7 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002574/1.199, allocations: 120.3 kB / 1.118 GB, free: 18.67 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.865e-06/1.199, allocations: 2.844 kB / 1.118 GB, free: 18.67 MB / 0.8731 GB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 0.0003236/1.2, allocations: 156.8 kB / 1.119 GB, free: 18.62 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.078e-05/1.2, allocations: 7.438 kB / 1.119 GB, free: 18.62 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.527e-06/1.2, allocations: 1.594 kB / 1.119 GB, free: 18.62 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.115e-06/1.2, allocations: 1.062 kB / 1.119 GB, free: 18.62 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001119/1.2, allocations: 25.22 kB / 1.119 GB, free: 18.62 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.621e-06/1.2, allocations: 6.984 kB / 1.119 GB, free: 18.62 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001562/1.2, allocations: 20.28 kB / 1.119 GB, free: 18.61 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.438e-05/1.2, allocations: 4.891 kB / 1.119 GB, free: 18.61 MB / 0.8731 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.0001111/1.2, allocations: 190.8 kB / 1.119 GB, free: 18.43 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.984e-05/1.2, allocations: 23.28 kB / 1.119 GB, free: 18.42 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000427/1.201, allocations: 158.1 kB / 1.119 GB, free: 18.38 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.758e-06/1.201, allocations: 6.281 kB / 1.119 GB, free: 18.38 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/1.201, allocations: 1.438 kB / 1.119 GB, free: 18.38 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.132e-06/1.201, allocations: 0.7031 kB / 1.119 GB, free: 18.38 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001005/1.202, allocations: 0.5881 MB / 1.12 GB, free: 18.02 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.957e-06/1.202, allocations: 6.375 kB / 1.12 GB, free: 18.01 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001106/1.202, allocations: 24.52 kB / 1.12 GB, free: 18.01 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.047e-06/1.202, allocations: 2.188 kB / 1.12 GB, free: 18.01 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.346e-05/1.202, allocations: 3.219 kB / 1.12 GB, free: 18.01 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.035e-06/1.202, allocations: 8.484 kB / 1.12 GB, free: 18.01 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/1.202, allocations: 2.281 kB / 1.12 GB, free: 18.01 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003882/1.202, allocations: 306.6 kB / 1.12 GB, free: 17.8 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001201/1.202, allocations: 114 kB / 1.12 GB, free: 17.69 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.793e-05/1.202, allocations: 8.297 kB / 1.12 GB, free: 17.69 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001825/1.203, allocations: 14.81 kB / 1.12 GB, free: 17.69 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.936e-05/1.203, allocations: 18.62 kB / 1.12 GB, free: 17.68 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.292e-05/1.203, allocations: 6.062 kB / 1.12 GB, free: 17.68 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.000207/1.203, allocations: 199.9 kB / 1.12 GB, free: 17.6 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.3e-07/1.203, allocations: 0 / 1.12 GB, free: 17.6 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0005086/1.203, allocations: 92.7 kB / 1.12 GB, free: 17.59 MB / 0.8731 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 (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 Backend phase and start with SimCode phase: time 0.0004494/1.204, allocations: 170.3 kB / 1.12 GB, free: 17.48 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0004831/1.204, allocations: 163 kB / 1.121 GB, free: 17.48 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/1.204, allocations: 0 / 1.121 GB, free: 17.48 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0001482/1.205, allocations: 67.59 kB / 1.121 GB, free: 17.48 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007183/1.205, allocations: 116.9 kB / 1.121 GB, free: 17.46 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007185/1.206, allocations: 438.2 kB / 1.121 GB, free: 17.2 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003938/1.206, allocations: 0.7525 MB / 1.122 GB, free: 16.5 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0002056/1.207, allocations: 71.03 kB / 1.122 GB, free: 16.49 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.364e-05/1.207, allocations: 20.83 kB / 1.122 GB, free: 16.48 MB / 0.8731 GB Notification: Performance of SimCode: time 1.392e-06/1.207, allocations: 0 / 1.122 GB, free: 16.48 MB / 0.8731 GB Notification: Performance of Templates: time 0.009757/1.216, allocations: 4.385 MB / 1.126 GB, free: 16.2 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Fluid.FixedResistances.Examples.PressureDrop.makefile (rm -f Buildings_9_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe ; mkfifo Buildings_9_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe >> ../files/Buildings_9_Buildings.Fluid.FixedResistances.Examples.PressureDrop.sim & ./Buildings_9_Buildings.Fluid.FixedResistances.Examples.PressureDrop -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.FixedResistances.Examples.PressureDrop_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_FixedResistances_Examples_PressureDrop.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.FixedResistances.Examples.PressureDrop.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches