Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001425/0.001425, allocations: 80.94 kB / 19.94 MB, free: 4.543 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00155/0.00155, allocations: 177 kB / 23.36 MB, free: 1.129 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9443/0.9443, allocations: 177.1 MB / 203.8 MB, free: 5.484 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.281/2.281, allocations: 438.8 MB / 0.6827 GB, free: 13.58 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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_latest_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter") translateModel(Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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_latest_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.452e-06/1.452e-06, allocations: 0 / 0.8386 GB, free: 14.22 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.755e-05/1.901e-05, allocations: 4.984 kB / 0.8386 GB, free: 14.22 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter): time 0.00817/0.008189, allocations: 7.102 MB / 0.8455 GB, free: 7.078 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.00601/0.0142, allocations: 3.845 MB / 0.8493 GB, free: 3.219 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004369/0.01464, allocations: 35.69 kB / 0.8493 GB, free: 3.184 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0004747/0.01511, allocations: 130.9 kB / 0.8494 GB, free: 3.055 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.001521/0.01663, allocations: 0.5633 MB / 0.85 GB, free: 2.488 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.00228/0.01891, allocations: 0.8021 MB / 0.8508 GB, free: 1.684 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.001791/0.0207, allocations: 1.156 MB / 0.8519 GB, free: 0.5234 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004621/0.02116, allocations: 266.3 kB / 0.8521 GB, free: 268 kB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009635/0.02213, allocations: 0.6158 MB / 0.8527 GB, free: 15.64 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000309/0.02244, allocations: 199.3 kB / 0.8529 GB, free: 15.45 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 4.454e-05/0.02248, allocations: 16 kB / 0.8529 GB, free: 15.43 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000622/0.0231, allocations: 375.1 kB / 0.8533 GB, free: 15.06 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 0.0001001/0.0232, allocations: 79.62 kB / 0.8534 GB, free: 14.98 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.0001427/0.02335, allocations: 131.6 kB / 0.8535 GB, free: 14.86 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0006962/0.02404, allocations: 490.1 kB / 0.854 GB, free: 14.38 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.02405, allocations: 0 / 0.854 GB, free: 14.38 MB / 0.823 GB Notification: Performance of FrontEnd: time 9.92e-07/0.02405, allocations: 0 / 0.854 GB, free: 14.38 MB / 0.823 GB Notification: Performance of Transformations before backend: time 6.893e-06/0.02405, allocations: 0 / 0.854 GB, free: 14.38 MB / 0.823 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.0008734/0.02493, allocations: 0.6694 MB / 0.8546 GB, free: 13.68 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.004e-05/0.02497, allocations: 8.625 kB / 0.8546 GB, free: 13.67 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.75e-05/0.02506, allocations: 48.89 kB / 0.8547 GB, free: 13.62 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005955/0.02565, allocations: 392 kB / 0.855 GB, free: 13.22 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.215e-05/0.02567, allocations: 16.7 kB / 0.8551 GB, free: 13.2 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.876e-05/0.02571, allocations: 27.94 kB / 0.8551 GB, free: 13.18 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002503/0.02596, allocations: 161.1 kB / 0.8552 GB, free: 13 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.038e-05/0.02597, allocations: 4 kB / 0.8552 GB, free: 13 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.94e-05/0.02599, allocations: 12 kB / 0.8553 GB, free: 12.99 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.626e-06/0.026, allocations: 8 kB / 0.8553 GB, free: 12.98 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.303e-05/0.02608, allocations: 43.89 kB / 0.8553 GB, free: 12.94 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006558/0.02674, allocations: 397 kB / 0.8557 GB, free: 12.53 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001168/0.02686, allocations: 109.3 kB / 0.8558 GB, free: 12.41 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.24e-05/0.02689, allocations: 31.67 kB / 0.8558 GB, free: 12.38 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 7.711e-05/0.02697, allocations: 16 kB / 0.8558 GB, free: 12.36 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.34e-05/0.02699, allocations: 42.48 kB / 0.8559 GB, free: 12.31 MB / 0.823 GB Notification: Performance of pre-optimization done (n=12): time 1.392e-06/0.02699, allocations: 0 / 0.8559 GB, free: 12.31 MB / 0.823 GB Notification: Performance of matching and sorting (n=12): time 0.0001615/0.02715, allocations: 97.58 kB / 0.856 GB, free: 12.21 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.848e-05/0.02718, allocations: 55.41 kB / 0.856 GB, free: 12.14 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002121/0.02739, allocations: 367.2 kB / 0.8564 GB, free: 11.77 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.919e-05/0.02741, allocations: 37.69 kB / 0.8564 GB, free: 11.73 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 7.506e-05/0.02749, allocations: 173.6 kB / 0.8566 GB, free: 11.55 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 2.466e-05/0.02751, allocations: 39.62 kB / 0.8566 GB, free: 11.52 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.675e-05/0.02757, allocations: 73.61 kB / 0.8567 GB, free: 11.44 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 8.849e-05/0.02766, allocations: 362.7 kB / 0.857 GB, free: 11.07 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.273e-05/0.02769, allocations: 27.67 kB / 0.8571 GB, free: 11.04 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001374/0.02783, allocations: 321.9 kB / 0.8574 GB, free: 10.62 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001373/0.02796, allocations: 209.3 kB / 0.8576 GB, free: 10.35 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.02797, allocations: 0 / 0.8576 GB, free: 10.35 MB / 0.823 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0001705/0.02814, allocations: 198.7 kB / 0.8578 GB, free: 10.15 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.185e-05/0.02815, allocations: 4 kB / 0.8578 GB, free: 10.14 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.084e-06/0.02816, allocations: 8 kB / 0.8578 GB, free: 10.14 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.188e-05/0.02817, allocations: 4.562 kB / 0.8578 GB, free: 10.13 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001457/0.02831, allocations: 63.91 kB / 0.8578 GB, free: 10.07 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.235e-06/0.02832, allocations: 11.88 kB / 0.8578 GB, free: 10.06 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.87e-05/0.02841, allocations: 35.77 kB / 0.8579 GB, free: 10.02 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.144e-05/0.02843, allocations: 19.94 kB / 0.8579 GB, free: 10 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 7.266e-05/0.0285, allocations: 109.8 kB / 0.858 GB, free: 9.891 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001339/0.02864, allocations: 322.9 kB / 0.8583 GB, free: 9.469 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001216/0.02876, allocations: 202.5 kB / 0.8585 GB, free: 9.207 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.132e-06/0.02876, allocations: 0 / 0.8585 GB, free: 9.207 MB / 0.823 GB Notification: Performance of matching and sorting (n=30) (initialization_lambda0): time 0.000152/0.02891, allocations: 183.3 kB / 0.8587 GB, free: 9.02 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 5.921e-06/0.02892, allocations: 16.05 kB / 0.8587 GB, free: 9.004 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.806e-06/0.02892, allocations: 4 kB / 0.8587 GB, free: 9 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.569e-06/0.02893, allocations: 8 kB / 0.8587 GB, free: 8.992 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.752e-05/0.02901, allocations: 59.95 kB / 0.8588 GB, free: 8.934 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.559e-06/0.02902, allocations: 7.984 kB / 0.8588 GB, free: 8.926 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.05e-05/0.0291, allocations: 27.88 kB / 0.8588 GB, free: 8.898 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.094e-05/0.02911, allocations: 12 kB / 0.8588 GB, free: 8.887 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (30): * Single equations (assignments): 30 * 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 7.4e-05/0.02918, allocations: 200.1 kB / 0.859 GB, free: 8.684 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.297e-05/0.02922, allocations: 27.97 kB / 0.859 GB, free: 8.656 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001637/0.02938, allocations: 133.7 kB / 0.8591 GB, free: 8.516 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.291e-06/0.02939, allocations: 4 kB / 0.8592 GB, free: 8.512 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.02939, allocations: 7.984 kB / 0.8592 GB, free: 8.504 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.02939, allocations: 0 / 0.8592 GB, free: 8.504 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003483/0.02974, allocations: 469.2 kB / 0.8596 GB, free: 8.008 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.357e-06/0.02975, allocations: 4 kB / 0.8596 GB, free: 8.004 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.601e-05/0.02979, allocations: 19.98 kB / 0.8596 GB, free: 7.984 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.223e-06/0.02979, allocations: 0 / 0.8596 GB, free: 7.984 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.491e-06/0.0298, allocations: 4 kB / 0.8596 GB, free: 7.98 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.0298, allocations: 96 / 0.8596 GB, free: 7.98 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.0298, allocations: 11.94 kB / 0.8596 GB, free: 7.969 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001413/0.02994, allocations: 275.7 kB / 0.8599 GB, free: 7.676 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 5.061e-05/0.02999, allocations: 55.59 kB / 0.86 GB, free: 7.621 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.993e-05/0.03001, allocations: 4 kB / 0.86 GB, free: 7.617 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000108/0.03012, allocations: 7.984 kB / 0.86 GB, free: 7.609 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.948e-05/0.03016, allocations: 15.92 kB / 0.86 GB, free: 7.594 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.023e-05/0.03017, allocations: 4 kB / 0.86 GB, free: 7.59 MB / 0.823 GB Notification: Performance of sorting global known variables: time 9.785e-05/0.03027, allocations: 160.7 kB / 0.8601 GB, free: 7.434 MB / 0.823 GB Notification: Performance of sort global known variables: time 8.1e-08/0.03027, allocations: 0 / 0.8601 GB, free: 7.434 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.000319/0.03059, allocations: 155.7 kB / 0.8603 GB, free: 7.281 MB / 0.823 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.0001873/0.03078, allocations: 136.2 kB / 0.8604 GB, free: 7.141 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0004357/0.03121, allocations: 182.8 kB / 0.8606 GB, free: 6.957 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 4.468e-06/0.03122, allocations: 4 kB / 0.8606 GB, free: 6.953 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 4.44e-05/0.03126, allocations: 40.77 kB / 0.8606 GB, free: 6.91 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00035/0.03161, allocations: 143.8 kB / 0.8608 GB, free: 6.77 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007292/0.03234, allocations: 0.6274 MB / 0.8614 GB, free: 6.102 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.271e-05/0.03239, allocations: 101.3 kB / 0.8615 GB, free: 5.984 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.0001223/0.03252, allocations: 71.48 kB / 0.8616 GB, free: 5.914 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001881/0.0327, allocations: 159.2 kB / 0.8617 GB, free: 5.758 MB / 0.823 GB Notification: Performance of SimCode: time 5.62e-07/0.0327, allocations: 0 / 0.8617 GB, free: 5.758 MB / 0.823 GB Notification: Performance of Templates: time 0.007753/0.04046, allocations: 6.044 MB / 0.8676 GB, free: 15.87 MB / 0.8386 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe >> ../files/Buildings_latest_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.sim & ./Buildings_latest_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_FixedResistances_Examples_HydraulicDiameter.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.307842835318297]