Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.HydraulicDiameter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|res.m_flow_nominal|res.m_flow|res.m_flow_turbulent|resLarPip.m_flow_nominal|resLarPip.m_flow|resLarPip.m_flow_turbulent|res.v|resLarPip.v|res.dh|resLarPip.dh",fileNamePrefix="Buildings_10_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter") translateModel(Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|res.m_flow_nominal|res.m_flow|res.m_flow_turbulent|resLarPip.m_flow_nominal|resLarPip.m_flow|resLarPip.m_flow_turbulent|res.v|resLarPip.v|res.dh|resLarPip.dh",fileNamePrefix="Buildings_10_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001456/0.001456, allocations: 108.9 kB / 16.41 MB, free: 6.441 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.001355/0.001355, allocations: 189.2 kB / 17.34 MB, free: 5.703 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.5/1.5, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.77/2.77, allocations: 437 MB / 0.7112 GB, free: 4.34 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0019/0.0019, allocations: 64.12 kB / 1.019 GB, free: 9.395 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.093/1.095, allocations: 151.6 MB / 1.167 GB, free: 3.832 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter): time 0.01975/1.114, allocations: 15.04 MB / 1.182 GB, free: 4.73 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.006811/1.121, allocations: 3.884 MB / 1.186 GB, free: 0.8359 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000711/1.122, allocations: 19.88 kB / 1.186 GB, free: 0.8164 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0007446/1.123, allocations: 206.7 kB / 1.186 GB, free: 0.6094 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.002155/1.125, allocations: 0.6997 MB / 1.187 GB, free: 15.91 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.001605/1.127, allocations: 492.9 kB / 1.187 GB, free: 15.43 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.001923/1.129, allocations: 1.072 MB / 1.188 GB, free: 14.35 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006332/1.129, allocations: 287.6 kB / 1.188 GB, free: 14.07 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001005/1.13, allocations: 422.4 kB / 1.189 GB, free: 13.66 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003925/1.131, allocations: 258.8 kB / 1.189 GB, free: 13.4 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 4.606e-05/1.131, allocations: 20 kB / 1.189 GB, free: 13.38 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0016/1.132, allocations: 0.7212 MB / 1.19 GB, free: 12.66 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.000116/1.132, allocations: 75.62 kB / 1.19 GB, free: 12.59 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0002928/1.133, allocations: 187 kB / 1.19 GB, free: 12.4 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.001387/1.134, allocations: 0.7274 MB / 1.191 GB, free: 11.68 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/1.134, allocations: 4 kB / 1.191 GB, free: 11.67 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.663e-06/1.134, allocations: 0 / 1.191 GB, free: 11.67 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.288e-05/1.134, allocations: 0 / 1.191 GB, free: 11.67 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.001301/1.135, allocations: 0.7621 MB / 1.192 GB, free: 10.86 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.272e-05/1.135, allocations: 8.922 kB / 1.192 GB, free: 10.85 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.98e-05/1.136, allocations: 44.66 kB / 1.192 GB, free: 10.8 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001104/1.137, allocations: 0.5216 MB / 1.192 GB, free: 10.24 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.27e-05/1.137, allocations: 12.33 kB / 1.192 GB, free: 10.23 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.874e-05/1.137, allocations: 16 kB / 1.192 GB, free: 10.21 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004616/1.137, allocations: 180.2 kB / 1.192 GB, free: 10.04 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.239e-05/1.137, allocations: 0 / 1.192 GB, free: 10.04 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.372e-05/1.137, allocations: 12 kB / 1.192 GB, free: 10.02 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.456e-06/1.137, allocations: 4 kB / 1.192 GB, free: 10.02 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000345/1.138, allocations: 132.2 kB / 1.192 GB, free: 9.891 MB / 0.92 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.001273/1.139, allocations: 0.8685 MB / 1.193 GB, free: 8.922 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003087/1.139, allocations: 118.6 kB / 1.193 GB, free: 8.797 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001696/1.139, allocations: 72.81 kB / 1.193 GB, free: 8.723 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004432/1.14, allocations: 336.3 kB / 1.194 GB, free: 8.32 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.594e-05/1.14, allocations: 46.5 kB / 1.194 GB, free: 8.266 MB / 0.92 GB Notification: Performance of pre-optimization done (n=12): time 1.192e-06/1.14, allocations: 0 / 1.194 GB, free: 8.266 MB / 0.92 GB Notification: Performance of matching and sorting (n=12): time 0.0006296/1.141, allocations: 217.3 kB / 1.194 GB, free: 8.047 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.675e-05/1.141, allocations: 51.41 kB / 1.194 GB, free: 7.984 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004435/1.141, allocations: 345.7 kB / 1.194 GB, free: 7.637 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.329e-05/1.141, allocations: 25.7 kB / 1.194 GB, free: 7.605 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001764/1.141, allocations: 200.4 kB / 1.195 GB, free: 7.406 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 4.79e-05/1.141, allocations: 47.64 kB / 1.195 GB, free: 7.359 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.879e-05/1.141, allocations: 29.72 kB / 1.195 GB, free: 7.324 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001727/1.142, allocations: 346.7 kB / 1.195 GB, free: 6.977 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001464/1.142, allocations: 48.83 kB / 1.195 GB, free: 6.926 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001835/1.142, allocations: 96.17 kB / 1.195 GB, free: 6.816 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002872/1.142, allocations: 117.6 kB / 1.195 GB, free: 6.695 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/1.142, allocations: 0 / 1.195 GB, free: 6.695 MB / 0.92 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003973/1.143, allocations: 177.3 kB / 1.195 GB, free: 6.516 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.923e-05/1.143, allocations: 11.94 kB / 1.195 GB, free: 6.504 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/1.143, allocations: 3.938 kB / 1.195 GB, free: 6.5 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.108e-05/1.143, allocations: 7.984 kB / 1.196 GB, free: 6.492 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001611/1.143, allocations: 23.98 kB / 1.196 GB, free: 6.469 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.873e-06/1.143, allocations: 0 / 1.196 GB, free: 6.469 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001903/1.143, allocations: 15.92 kB / 1.196 GB, free: 6.453 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.864e-05/1.143, allocations: 8 kB / 1.196 GB, free: 6.445 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002576/1.143, allocations: 160.1 kB / 1.196 GB, free: 6.285 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001785/1.144, allocations: 84.25 kB / 1.196 GB, free: 6.188 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002604/1.144, allocations: 113.7 kB / 1.196 GB, free: 6.07 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.92e-07/1.144, allocations: 0 / 1.196 GB, free: 6.07 MB / 0.92 GB Notification: Performance of matching and sorting (n=12) (initialization_lambda0): time 0.0003827/1.144, allocations: 177.4 kB / 1.196 GB, free: 5.891 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 8.245e-06/1.144, allocations: 4 kB / 1.196 GB, free: 5.887 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.359e-06/1.144, allocations: 8 kB / 1.196 GB, free: 5.879 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.699e-06/1.144, allocations: 3.938 kB / 1.196 GB, free: 5.875 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00012/1.144, allocations: 31.92 kB / 1.196 GB, free: 5.844 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.578e-06/1.144, allocations: 7.922 kB / 1.196 GB, free: 5.836 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000171/1.145, allocations: 15.98 kB / 1.196 GB, free: 5.82 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.3e-05/1.145, allocations: 4 kB / 1.196 GB, free: 5.816 MB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (12): * Single equations (assignments): 12 * 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.0001468/1.145, allocations: 184.3 kB / 1.196 GB, free: 5.629 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.191e-05/1.145, allocations: 47.7 kB / 1.196 GB, free: 5.582 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005489/1.145, allocations: 225.5 kB / 1.197 GB, free: 5.359 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.212e-05/1.145, allocations: 8 kB / 1.197 GB, free: 5.352 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.451e-06/1.145, allocations: 0 / 1.197 GB, free: 5.352 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.392e-06/1.145, allocations: 3.984 kB / 1.197 GB, free: 5.348 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001034/1.147, allocations: 0.6267 MB / 1.197 GB, free: 4.656 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.506e-06/1.147, allocations: 0 / 1.197 GB, free: 4.656 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001219/1.147, allocations: 31.92 kB / 1.197 GB, free: 4.625 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.681e-06/1.147, allocations: 4 kB / 1.197 GB, free: 4.621 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.169e-05/1.147, allocations: 0 / 1.197 GB, free: 4.621 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.884e-06/1.147, allocations: 0 / 1.197 GB, free: 4.621 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/1.147, allocations: 4 kB / 1.197 GB, free: 4.617 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005093/1.147, allocations: 325.8 kB / 1.198 GB, free: 4.273 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001515/1.147, allocations: 132.8 kB / 1.198 GB, free: 4.125 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.003e-05/1.147, allocations: 0 / 1.198 GB, free: 4.125 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001996/1.148, allocations: 19.98 kB / 1.198 GB, free: 4.105 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.618e-05/1.148, allocations: 11.98 kB / 1.198 GB, free: 4.094 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.708e-05/1.148, allocations: 8 kB / 1.198 GB, free: 4.086 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0003013/1.148, allocations: 247.2 kB / 1.198 GB, free: 3.848 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.3e-07/1.148, allocations: 0 / 1.198 GB, free: 3.848 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0006591/1.149, allocations: 191.4 kB / 1.198 GB, free: 3.66 MB / 0.92 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0006298/1.149, allocations: 256.5 kB / 1.198 GB, free: 3.406 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0005511/1.15, allocations: 195.7 kB / 1.199 GB, free: 3.215 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/1.15, allocations: 0 / 1.199 GB, free: 3.215 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0001863/1.15, allocations: 76.08 kB / 1.199 GB, free: 3.141 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008367/1.151, allocations: 143.2 kB / 1.199 GB, free: 3.004 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001062/1.152, allocations: 0.5819 MB / 1.199 GB, free: 2.387 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000659/1.153, allocations: 0.7918 MB / 1.2 GB, free: 1.57 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.0002632/1.153, allocations: 79.02 kB / 1.2 GB, free: 1.492 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.538e-05/1.153, allocations: 35.44 kB / 1.2 GB, free: 1.457 MB / 0.92 GB Notification: Performance of SimCode: time 2.6e-07/1.153, allocations: 0 / 1.2 GB, free: 1.457 MB / 0.92 GB Notification: Performance of Templates: time 0.01493/1.168, allocations: 6.625 MB / 1.207 GB, free: 10.93 MB / 0.9356 GB make -j1 -f Buildings_10_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.makefile (rm -f Buildings_10_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe ; mkfifo Buildings_10_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe >> ../files/Buildings_10_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.sim & ./Buildings_10_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_FixedResistances_Examples_HydraulicDiameter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches