Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.00714/0.00714, allocations: 98.52 kB / 15.73 MB, free: 6.02 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.001362/0.001362, allocations: 195.9 kB / 16.68 MB, free: 5.934 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.527/1.527, allocations: 222.9 MB / 240.4 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.921/2.921, allocations: 469.8 MB / 0.7425 GB, free: 3.332 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001615/0.001615, allocations: 63.89 kB / 1.065 GB, free: 13.56 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.095/1.097, allocations: 159.1 MB / 1.221 GB, free: 2.125 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter): time 0.01654/1.113, allocations: 15.07 MB / 1.235 GB, free: 2.992 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.006248/1.119, allocations: 3.888 MB / 1.239 GB, free: 15.09 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000772/1.12, allocations: 19.88 kB / 1.239 GB, free: 15.07 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0009477/1.121, allocations: 194.6 kB / 1.239 GB, free: 14.88 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.003045/1.124, allocations: 0.7083 MB / 1.24 GB, free: 14.17 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.002054/1.126, allocations: 467.2 kB / 1.24 GB, free: 13.72 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.002539/1.129, allocations: 1.091 MB / 1.242 GB, free: 12.63 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006597/1.129, allocations: 246.6 kB / 1.242 GB, free: 12.38 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001209/1.131, allocations: 410.4 kB / 1.242 GB, free: 11.98 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000487/1.131, allocations: 262.8 kB / 1.242 GB, free: 11.72 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 5.823e-05/1.131, allocations: 24 kB / 1.242 GB, free: 11.7 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002404/1.134, allocations: 0.7173 MB / 1.243 GB, free: 10.98 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001554/1.134, allocations: 83.55 kB / 1.243 GB, free: 10.9 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.000295/1.134, allocations: 187 kB / 1.243 GB, free: 10.71 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.001738/1.136, allocations: 0.7235 MB / 1.244 GB, free: 9.992 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 7.304e-06/1.136, allocations: 0 / 1.244 GB, free: 9.992 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.184e-06/1.136, allocations: 0 / 1.244 GB, free: 9.992 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 9.418e-06/1.136, allocations: 0 / 1.244 GB, free: 9.992 MB / 0.9669 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.00163/1.137, allocations: 0.7582 MB / 1.245 GB, free: 9.18 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 6.023e-05/1.137, allocations: 12.03 kB / 1.245 GB, free: 9.168 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001368/1.138, allocations: 44.66 kB / 1.245 GB, free: 9.125 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001593/1.139, allocations: 0.5216 MB / 1.245 GB, free: 8.566 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.345e-05/1.139, allocations: 20.33 kB / 1.245 GB, free: 8.547 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.925e-05/1.139, allocations: 16 kB / 1.245 GB, free: 8.531 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000527/1.14, allocations: 180.1 kB / 1.246 GB, free: 8.352 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.444e-05/1.14, allocations: 3.938 kB / 1.246 GB, free: 8.348 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.82e-05/1.14, allocations: 4 kB / 1.246 GB, free: 8.344 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.012e-05/1.14, allocations: 4 kB / 1.246 GB, free: 8.34 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004685/1.14, allocations: 144.1 kB / 1.246 GB, free: 8.199 MB / 0.9669 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.001641/1.142, allocations: 0.8575 MB / 1.247 GB, free: 7.242 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003715/1.142, allocations: 118.6 kB / 1.247 GB, free: 7.117 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002265/1.143, allocations: 72.8 kB / 1.247 GB, free: 7.043 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004776/1.143, allocations: 328.4 kB / 1.247 GB, free: 6.648 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.422e-05/1.143, allocations: 38.56 kB / 1.247 GB, free: 6.602 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=12): time 2.154e-06/1.143, allocations: 0 / 1.247 GB, free: 6.602 MB / 0.9669 GB Notification: Performance of matching and sorting (n=12): time 0.0008313/1.144, allocations: 225.2 kB / 1.247 GB, free: 6.375 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.56e-05/1.144, allocations: 51.41 kB / 1.247 GB, free: 6.312 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005339/1.144, allocations: 353.6 kB / 1.248 GB, free: 5.957 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.799e-05/1.145, allocations: 25.7 kB / 1.248 GB, free: 5.926 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002001/1.145, allocations: 196.4 kB / 1.248 GB, free: 5.73 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 6.124e-05/1.145, allocations: 47.62 kB / 1.248 GB, free: 5.684 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.115e-05/1.145, allocations: 29.7 kB / 1.248 GB, free: 5.648 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001852/1.145, allocations: 342.8 kB / 1.248 GB, free: 5.305 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002003/1.145, allocations: 56.81 kB / 1.248 GB, free: 5.246 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002499/1.146, allocations: 88.19 kB / 1.248 GB, free: 5.145 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004117/1.146, allocations: 125.6 kB / 1.249 GB, free: 5.016 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/1.146, allocations: 4 kB / 1.249 GB, free: 5.012 MB / 0.9669 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0005448/1.146, allocations: 177.4 kB / 1.249 GB, free: 4.832 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 3.208e-05/1.146, allocations: 11.94 kB / 1.249 GB, free: 4.82 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.704e-06/1.147, allocations: 0 / 1.249 GB, free: 4.82 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.884e-05/1.147, allocations: 0 / 1.249 GB, free: 4.82 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002221/1.147, allocations: 28.08 kB / 1.249 GB, free: 4.793 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.995e-05/1.147, allocations: 7.922 kB / 1.249 GB, free: 4.785 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003026/1.147, allocations: 23.91 kB / 1.249 GB, free: 4.762 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.478e-05/1.147, allocations: 4 kB / 1.249 GB, free: 4.758 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003215/1.147, allocations: 156.1 kB / 1.249 GB, free: 4.602 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002223/1.148, allocations: 88.19 kB / 1.249 GB, free: 4.5 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003341/1.148, allocations: 117.6 kB / 1.249 GB, free: 4.379 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.034e-06/1.148, allocations: 0 / 1.249 GB, free: 4.379 MB / 0.9669 GB Notification: Performance of matching and sorting (n=12) (initialization_lambda0): time 0.0004556/1.148, allocations: 173.3 kB / 1.249 GB, free: 4.203 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.058e-05/1.148, allocations: 4 kB / 1.249 GB, free: 4.199 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.445e-06/1.148, allocations: 0 / 1.249 GB, free: 4.199 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.35e-06/1.148, allocations: 3.938 kB / 1.249 GB, free: 4.195 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001437/1.149, allocations: 27.92 kB / 1.249 GB, free: 4.168 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.524e-06/1.149, allocations: 0 / 1.249 GB, free: 4.168 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002561/1.149, allocations: 23.98 kB / 1.249 GB, free: 4.145 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.17e-05/1.149, allocations: 7.984 kB / 1.249 GB, free: 4.137 MB / 0.9669 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.0001758/1.149, allocations: 188.2 kB / 1.25 GB, free: 3.945 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.099e-05/1.149, allocations: 39.7 kB / 1.25 GB, free: 3.906 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007341/1.15, allocations: 233.2 kB / 1.25 GB, free: 3.676 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.394e-05/1.15, allocations: 4 kB / 1.25 GB, free: 3.672 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.903e-06/1.15, allocations: 4 kB / 1.25 GB, free: 3.668 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/1.15, allocations: 0 / 1.25 GB, free: 3.668 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001328/1.151, allocations: 0.6333 MB / 1.25 GB, free: 2.969 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.919e-06/1.151, allocations: 0 / 1.25 GB, free: 2.969 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001622/1.151, allocations: 27.97 kB / 1.25 GB, free: 2.941 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.674e-06/1.151, allocations: 8.094 kB / 1.251 GB, free: 2.934 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.805e-05/1.151, allocations: 4 kB / 1.251 GB, free: 2.93 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.4e-06/1.151, allocations: 4.094 kB / 1.251 GB, free: 2.926 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/1.151, allocations: 3.938 kB / 1.251 GB, free: 2.922 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006522/1.152, allocations: 320.2 kB / 1.251 GB, free: 2.586 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001734/1.152, allocations: 128.8 kB / 1.251 GB, free: 2.441 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.063e-05/1.152, allocations: 0 / 1.251 GB, free: 2.441 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003305/1.153, allocations: 23.92 kB / 1.251 GB, free: 2.418 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.298e-05/1.153, allocations: 11.98 kB / 1.251 GB, free: 2.406 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.207e-05/1.153, allocations: 8.062 kB / 1.251 GB, free: 2.398 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0004096/1.153, allocations: 251.2 kB / 1.251 GB, free: 2.152 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1e-07/1.153, allocations: 0 / 1.251 GB, free: 2.152 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.00104/1.154, allocations: 187.4 kB / 1.251 GB, free: 1.969 MB / 0.9669 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.0008068/1.155, allocations: 262.3 kB / 1.252 GB, free: 1.707 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0007232/1.156, allocations: 179.8 kB / 1.252 GB, free: 1.531 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/1.156, allocations: 0 / 1.252 GB, free: 1.531 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0002581/1.156, allocations: 75.83 kB / 1.252 GB, free: 1.457 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001273/1.157, allocations: 154 kB / 1.252 GB, free: 1.309 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001357/1.159, allocations: 0.5742 MB / 1.253 GB, free: 0.6953 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005413/1.159, allocations: 0.7957 MB / 1.253 GB, free: 15.88 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0003586/1.16, allocations: 75.05 kB / 1.253 GB, free: 15.8 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.259e-05/1.16, allocations: 35.44 kB / 1.253 GB, free: 15.76 MB / 0.9825 GB Notification: Performance of SimCode: time 7.01e-07/1.16, allocations: 0 / 1.253 GB, free: 15.76 MB / 0.9825 GB Notification: Performance of Templates: time 0.02015/1.18, allocations: 6.616 MB / 1.26 GB, free: 9.25 MB / 0.9825 GB make -j1 -f Buildings_11_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.makefile (rm -f Buildings_11_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe ; mkfifo Buildings_11_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe >> ../files/Buildings_11_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.sim & ./Buildings_11_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_FixedResistances_Examples_HydraulicDiameter.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches