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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001281/0.001281, allocations: 109.5 kB / 17.08 MB, free: 6.008 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001296/0.001296, allocations: 194.2 kB / 20.03 MB, free: 3.082 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.46/1.46, allocations: 222.9 MB / 245.7 MB, free: 4.219 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.024/3.024, allocations: 489.3 MB / 0.7687 GB, free: 3.793 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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=2500,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=2500,variableFilter="time|res.m_flow_nominal|res.m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001982/0.001982, allocations: 71.89 kB / 1.103 GB, free: 0.7852 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.124/1.126, allocations: 163.8 MB / 1.263 GB, free: 7.992 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.PressureDrop): time 0.2174/1.344, allocations: 161.5 MB / 1.42 GB, free: 15.91 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.003829/1.348, allocations: 1.709 MB / 1.422 GB, free: 14.52 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004761/1.348, allocations: 10.47 kB / 1.422 GB, free: 14.52 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.000662/1.349, allocations: 163.5 kB / 1.422 GB, free: 14.38 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.001582/1.351, allocations: 0.5049 MB / 1.423 GB, free: 14 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.001346/1.352, allocations: 426.4 kB / 1.423 GB, free: 13.71 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.001005/1.353, allocations: 0.5621 MB / 1.424 GB, free: 13.38 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003565/1.353, allocations: 183 kB / 1.424 GB, free: 13.27 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001202/1.355, allocations: 465.5 kB / 1.424 GB, free: 12.98 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002363/1.355, allocations: 147 kB / 1.424 GB, free: 12.89 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 3.633e-05/1.355, allocations: 13.12 kB / 1.424 GB, free: 12.89 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001448/1.356, allocations: 0.6876 MB / 1.425 GB, free: 12.5 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0001348/1.356, allocations: 77.62 kB / 1.425 GB, free: 12.45 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0001486/1.357, allocations: 119.4 kB / 1.425 GB, free: 12.38 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.0009434/1.358, allocations: 0.4905 MB / 1.426 GB, free: 12.08 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 5.962e-06/1.358, allocations: 1.75 kB / 1.426 GB, free: 12.08 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.422e-06/1.358, allocations: 0 / 1.426 GB, free: 12.08 MB / 1.123 GB Notification: Performance of Transformations before backend: time 7.093e-06/1.358, allocations: 3.938 kB / 1.426 GB, free: 12.08 MB / 1.123 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.0009494/1.359, allocations: 0.5879 MB / 1.426 GB, free: 11.53 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 4.125e-05/1.359, allocations: 12.77 kB / 1.426 GB, free: 11.53 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000341/1.359, allocations: 61.53 kB / 1.426 GB, free: 11.5 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005184/1.36, allocations: 310.6 kB / 1.427 GB, free: 11.2 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.892e-05/1.36, allocations: 9.5 kB / 1.427 GB, free: 11.2 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.758e-05/1.36, allocations: 14.31 kB / 1.427 GB, free: 11.19 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004969/1.36, allocations: 195.5 kB / 1.427 GB, free: 11.05 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.188e-05/1.36, allocations: 1.156 kB / 1.427 GB, free: 11.05 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.059e-05/1.36, allocations: 5.156 kB / 1.427 GB, free: 11.05 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.037e-06/1.36, allocations: 3.562 kB / 1.427 GB, free: 11.05 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003459/1.36, allocations: 129.1 kB / 1.427 GB, free: 11 MB / 1.123 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001159/1.362, allocations: 0.7816 MB / 1.428 GB, free: 10.28 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000269/1.362, allocations: 88.67 kB / 1.428 GB, free: 10.22 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001718/1.362, allocations: 73.25 kB / 1.428 GB, free: 10.18 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000307/1.362, allocations: 191.8 kB / 1.428 GB, free: 9.98 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.818e-05/1.362, allocations: 32.72 kB / 1.428 GB, free: 9.941 MB / 1.123 GB Notification: Performance of pre-optimization done (n=10): time 1.583e-06/1.362, allocations: 0 / 1.428 GB, free: 9.941 MB / 1.123 GB Notification: Performance of matching and sorting (n=10): time 0.0007209/1.363, allocations: 226.4 kB / 1.428 GB, free: 9.816 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.591e-05/1.363, allocations: 53.78 kB / 1.428 GB, free: 9.754 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003151/1.364, allocations: 273.9 kB / 1.429 GB, free: 9.566 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 2.783e-05/1.364, allocations: 26.8 kB / 1.429 GB, free: 9.535 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001259/1.364, allocations: 144.7 kB / 1.429 GB, free: 9.402 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 3.846e-05/1.364, allocations: 36.23 kB / 1.429 GB, free: 9.371 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.128e-05/1.364, allocations: 32.77 kB / 1.429 GB, free: 9.344 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001602/1.364, allocations: 331.9 kB / 1.429 GB, free: 9.016 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001423/1.364, allocations: 47.23 kB / 1.429 GB, free: 8.988 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001839/1.364, allocations: 91.27 kB / 1.429 GB, free: 8.914 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002909/1.365, allocations: 122.6 kB / 1.429 GB, free: 8.832 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.456e-06/1.365, allocations: 1.875 kB / 1.429 GB, free: 8.832 MB / 1.123 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004818/1.365, allocations: 160.5 kB / 1.43 GB, free: 8.734 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 1.705e-05/1.365, allocations: 9.562 kB / 1.43 GB, free: 8.73 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.576e-06/1.365, allocations: 1.094 kB / 1.43 GB, free: 8.73 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.903e-05/1.365, allocations: 9.812 kB / 1.43 GB, free: 8.723 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001272/1.365, allocations: 20.67 kB / 1.43 GB, free: 8.719 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.516e-06/1.365, allocations: 1.125 kB / 1.43 GB, free: 8.719 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001836/1.366, allocations: 21.09 kB / 1.43 GB, free: 8.707 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.603e-05/1.366, allocations: 8.219 kB / 1.43 GB, free: 8.703 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002143/1.366, allocations: 146.6 kB / 1.43 GB, free: 8.59 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001839/1.366, allocations: 98.45 kB / 1.43 GB, free: 8.508 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002998/1.366, allocations: 125.8 kB / 1.43 GB, free: 8.422 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.092e-06/1.366, allocations: 4 kB / 1.43 GB, free: 8.418 MB / 1.123 GB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 0.0003452/1.367, allocations: 155.6 kB / 1.43 GB, free: 8.324 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 8.916e-06/1.367, allocations: 5.531 kB / 1.43 GB, free: 8.324 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.573e-06/1.367, allocations: 1.188 kB / 1.43 GB, free: 8.324 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.196e-06/1.367, allocations: 2.219 kB / 1.43 GB, free: 8.324 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001148/1.367, allocations: 23.95 kB / 1.43 GB, free: 8.316 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.705e-06/1.367, allocations: 1.188 kB / 1.43 GB, free: 8.316 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001715/1.367, allocations: 20.62 kB / 1.43 GB, free: 8.305 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.418e-05/1.367, allocations: 4.625 kB / 1.43 GB, free: 8.305 MB / 1.123 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.0001275/1.367, allocations: 187.9 kB / 1.43 GB, free: 8.117 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.491e-05/1.367, allocations: 22.98 kB / 1.43 GB, free: 8.105 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004081/1.368, allocations: 164.1 kB / 1.431 GB, free: 7.996 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.169e-06/1.368, allocations: 2.062 kB / 1.431 GB, free: 7.996 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.089e-06/1.368, allocations: 0 / 1.431 GB, free: 7.996 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/1.368, allocations: 5.125 kB / 1.431 GB, free: 7.992 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000995/1.369, allocations: 0.5928 MB / 1.431 GB, free: 7.461 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.506e-06/1.369, allocations: 2.656 kB / 1.431 GB, free: 7.461 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001133/1.369, allocations: 20.67 kB / 1.431 GB, free: 7.457 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.588e-06/1.369, allocations: 6.562 kB / 1.431 GB, free: 7.453 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.358e-05/1.369, allocations: 2.75 kB / 1.431 GB, free: 7.453 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.687e-06/1.369, allocations: 2.719 kB / 1.431 GB, free: 7.453 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/1.369, allocations: 2.844 kB / 1.431 GB, free: 7.453 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004387/1.369, allocations: 311.2 kB / 1.432 GB, free: 7.18 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002099/1.37, allocations: 109.4 kB / 1.432 GB, free: 7.066 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.4e-05/1.37, allocations: 4 kB / 1.432 GB, free: 7.066 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000187/1.37, allocations: 14.45 kB / 1.432 GB, free: 7.059 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.233e-05/1.37, allocations: 17.86 kB / 1.432 GB, free: 7.047 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.225e-05/1.37, allocations: 4.438 kB / 1.432 GB, free: 7.047 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0002243/1.37, allocations: 198.5 kB / 1.432 GB, free: 6.914 MB / 1.123 GB Notification: Performance of sort global known variables: time 1.6e-07/1.37, allocations: 4 kB / 1.432 GB, free: 6.91 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.0004875/1.371, allocations: 97.8 kB / 1.432 GB, free: 6.891 MB / 1.123 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.0005052/1.371, allocations: 165.8 kB / 1.432 GB, free: 6.77 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.0005037/1.372, allocations: 171.4 kB / 1.432 GB, free: 6.691 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/1.372, allocations: 0 / 1.432 GB, free: 6.691 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.0001533/1.372, allocations: 62.28 kB / 1.432 GB, free: 6.664 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007357/1.373, allocations: 116.5 kB / 1.432 GB, free: 6.605 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007918/1.373, allocations: 473.2 kB / 1.433 GB, free: 6.23 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004389/1.374, allocations: 0.7618 MB / 1.434 GB, free: 5.492 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.38e-05/1.374, allocations: 24.59 kB / 1.434 GB, free: 5.48 MB / 1.123 GB Notification: Performance of SimCode: time 3.1e-07/1.374, allocations: 1 kB / 1.434 GB, free: 5.48 MB / 1.123 GB Notification: Performance of Templates: time 0.00736/1.381, allocations: 3.721 MB / 1.437 GB, free: 3.566 MB / 1.123 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop.makefile [Timeout 300] (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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe 2>&1) [Timeout 800] 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_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 12.674334448995069]