Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.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.0008654/0.0008654, allocations: 72.5 kB / 19.93 MB, free: 4.633 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.000841/0.000841, allocations: 177.9 kB / 23.21 MB, free: 1.348 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.8979/0.8979, allocations: 177.1 MB / 203.5 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.744/1.744, allocations: 377.8 MB / 0.6228 GB, free: 8.648 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/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.Interfaces.Examples.PrescribedOutlet_Water,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|heaHigPow.mWat_flow|cooLimPow.mWat_flow|heaCooUnl.mWat_flow|steSta.mWat_flow|THeaHigPowIn.T|THeaHigPowOut.T|TCooLimPowIn.T|TCooLimPowOut.T|THeaCooUnlIn.T|THeaCooUnlOut.T|TSteStaIn.T|TSteStaOut.T|heaHigPow.Q_flow|cooLimPow.Q_flow|heaCooUnl.Q_flow|steSta.Q_flow",fileNamePrefix="Buildings_12_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water") translateModel(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|heaHigPow.mWat_flow|cooLimPow.mWat_flow|heaCooUnl.mWat_flow|steSta.mWat_flow|THeaHigPowIn.T|THeaHigPowOut.T|TCooLimPowIn.T|TCooLimPowOut.T|THeaCooUnlIn.T|THeaCooUnlOut.T|TSteStaIn.T|TSteStaOut.T|heaHigPow.Q_flow|cooLimPow.Q_flow|heaCooUnl.Q_flow|steSta.Q_flow",fileNamePrefix="Buildings_12_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 0.9822 GB, free: 2.023 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.719e-05/2.869e-05, allocations: 2.281 kB / 0.9822 GB, free: 2.02 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.03101/0.03104, allocations: 49.99 MB / 1.031 GB, free: 15.86 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.01087/0.04191, allocations: 9.767 MB / 1.041 GB, free: 6.07 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001562/0.04347, allocations: 95.12 kB / 1.041 GB, free: 5.977 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.001699/0.04517, allocations: 0.9199 MB / 1.042 GB, free: 5.051 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.003814/0.04899, allocations: 2.125 MB / 1.044 GB, free: 2.914 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.003805/0.05279, allocations: 2.137 MB / 1.046 GB, free: 0.7734 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.6387/0.6915, allocations: 3.838 MB / 1.049 GB, free: 47.16 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001318/0.6928, allocations: 0.9754 MB / 1.05 GB, free: 47.07 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00274/0.6956, allocations: 2.462 MB / 1.053 GB, free: 46.8 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008871/0.6965, allocations: 1.066 MB / 1.054 GB, free: 46.67 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 0.0001137/0.6966, allocations: 107.2 kB / 1.054 GB, free: 46.67 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00191/0.6985, allocations: 1.052 MB / 1.055 GB, free: 46.6 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0002457/0.6987, allocations: 417.1 kB / 1.055 GB, free: 46.5 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0004154/0.6991, allocations: 0.5669 MB / 1.056 GB, free: 46.43 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.001894/0.701, allocations: 2.43 MB / 1.058 GB, free: 46.21 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.701, allocations: 3.281 kB / 1.058 GB, free: 46.21 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.393e-06/0.701, allocations: 0 / 1.058 GB, free: 46.21 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 1.513e-05/0.7011, allocations: 1.125 kB / 1.058 GB, free: 46.21 MB / 0.9948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 272 * Number of variables: 272 Notification: Performance of Generate backend data structure: time 0.001893/0.7029, allocations: 2.105 MB / 1.06 GB, free: 45.12 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 3.572e-05/0.703, allocations: 10.8 kB / 1.06 GB, free: 45.12 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001617/0.7046, allocations: 0.6645 MB / 1.061 GB, free: 44.99 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001339/0.7059, allocations: 1.078 MB / 1.062 GB, free: 44.58 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.133e-05/0.706, allocations: 85.05 kB / 1.062 GB, free: 44.58 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001141/0.7061, allocations: 109 kB / 1.062 GB, free: 44.57 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001603/0.7077, allocations: 1.506 MB / 1.064 GB, free: 44.16 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.22e-05/0.7077, allocations: 5.906 kB / 1.064 GB, free: 44.16 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.174e-05/0.7078, allocations: 46.88 kB / 1.064 GB, free: 44.16 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.6e-05/0.7078, allocations: 27.03 kB / 1.064 GB, free: 44.16 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001982/0.7098, allocations: 1.24 MB / 1.065 GB, free: 44.13 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004119/0.7139, allocations: 6.4 MB / 1.071 GB, free: 40.32 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001715/0.7156, allocations: 1.055 MB / 1.072 GB, free: 40.28 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000742/0.7164, allocations: 0.5318 MB / 1.073 GB, free: 40.26 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005068/0.7169, allocations: 288.9 kB / 1.073 GB, free: 40.25 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009292/0.7178, allocations: 0.6882 MB / 1.074 GB, free: 40.18 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=85): time 2.475e-06/0.7178, allocations: 0 / 1.074 GB, free: 40.18 MB / 0.9948 GB Notification: Performance of matching and sorting (n=85): time 0.00269/0.7205, allocations: 1.802 MB / 1.076 GB, free: 40.03 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.415e-05/0.7205, allocations: 65.03 kB / 1.076 GB, free: 39.96 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001012/0.7215, allocations: 1.4 MB / 1.077 GB, free: 39.76 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 5.613e-05/0.7216, allocations: 43.58 kB / 1.077 GB, free: 39.73 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003674/0.722, allocations: 0.8143 MB / 1.078 GB, free: 39.41 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001556/0.7221, allocations: 307 kB / 1.078 GB, free: 39.22 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002497/0.7224, allocations: 228.3 kB / 1.078 GB, free: 39.2 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 6.078e-05/0.7224, allocations: 349.1 kB / 1.079 GB, free: 38.89 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001046/0.7235, allocations: 0.5272 MB / 1.079 GB, free: 38.88 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001159/0.7246, allocations: 1.133 MB / 1.08 GB, free: 38.16 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001783/0.7264, allocations: 1.424 MB / 1.082 GB, free: 37.72 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.162e-06/0.7264, allocations: 6.031 kB / 1.082 GB, free: 37.72 MB / 0.9948 GB Notification: Performance of matching and sorting (n=140) (initialization): time 0.002299/0.7287, allocations: 1.61 MB / 1.083 GB, free: 37.56 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 2.113e-05/0.7287, allocations: 9.875 kB / 1.083 GB, free: 37.56 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.262e-05/0.7288, allocations: 10.81 kB / 1.083 GB, free: 37.56 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.396e-05/0.7288, allocations: 18.56 kB / 1.083 GB, free: 37.56 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007036/0.7295, allocations: 352.4 kB / 1.084 GB, free: 37.55 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.125e-05/0.7295, allocations: 27.73 kB / 1.084 GB, free: 37.55 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006764/0.7302, allocations: 214.2 kB / 1.084 GB, free: 37.48 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.639e-05/0.7303, allocations: 65.58 kB / 1.084 GB, free: 37.48 MB / 0.9948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 50 * Number of states: 0 () * Number of discrete variables: 15 ($PRE.setHeaHigPow.nextTimeEvent,$whenCondition3,$PRE.setCooLimPow.nextTimeEvent,$whenCondition2,$PRE.setHeaCooUnl.nextTimeEvent,$whenCondition1,setHeaCooUnl.nextTimeEventScaled,$PRE.setHeaCooUnl.nextTimeEventScaled,setHeaCooUnl.nextTimeEvent,setCooLimPow.nextTimeEventScaled,$PRE.setCooLimPow.nextTimeEventScaled,setCooLimPow.nextTimeEvent,setHeaHigPow.nextTimeEventScaled,$PRE.setHeaHigPow.nextTimeEventScaled,setHeaHigPow.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (140): * Single equations (assignments): 140 * 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.0003478/0.7306, allocations: 355.8 kB / 1.084 GB, free: 37.36 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001422/0.7308, allocations: 160 kB / 1.084 GB, free: 37.27 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002807/0.7336, allocations: 2.167 MB / 1.087 GB, free: 37.11 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.628e-05/0.7336, allocations: 18.81 kB / 1.087 GB, free: 37.11 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.192e-06/0.7336, allocations: 5 kB / 1.087 GB, free: 37.1 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.457e-06/0.7336, allocations: 14.08 kB / 1.087 GB, free: 37.09 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003944/0.7376, allocations: 3.114 MB / 1.09 GB, free: 36.01 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.424e-06/0.7376, allocations: 6.344 kB / 1.09 GB, free: 36 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005818/0.7381, allocations: 235.6 kB / 1.09 GB, free: 35.99 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.617e-06/0.7382, allocations: 9.062 kB / 1.09 GB, free: 35.99 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.569e-05/0.7382, allocations: 35.66 kB / 1.09 GB, free: 35.98 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.855e-06/0.7382, allocations: 13.67 kB / 1.09 GB, free: 35.98 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.7382, allocations: 2.562 kB / 1.09 GB, free: 35.98 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003756/0.742, allocations: 2.809 MB / 1.093 GB, free: 34.94 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003562/0.7423, allocations: 320.8 kB / 1.093 GB, free: 34.76 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001105/0.7424, allocations: 24.14 kB / 1.093 GB, free: 34.74 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005119/0.743, allocations: 113.8 kB / 1.093 GB, free: 34.73 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000133/0.7431, allocations: 83.31 kB / 1.093 GB, free: 34.71 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.437e-05/0.7432, allocations: 50.61 kB / 1.093 GB, free: 34.71 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.0009642/0.7441, allocations: 0.9364 MB / 1.094 GB, free: 34.38 MB / 0.9948 GB Notification: Performance of sort global known variables: time 9e-08/0.7441, allocations: 1.094 kB / 1.094 GB, free: 34.38 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.001253/0.7454, allocations: 0.563 MB / 1.095 GB, free: 34.23 MB / 0.9948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (heaHigPow.T,cooLimPow.T,heaCooUnl.T) * Number of discrete variables: 9 ($whenCondition3,$whenCondition2,$whenCondition1,setHeaHigPow.nextTimeEvent,setHeaHigPow.nextTimeEventScaled,setCooLimPow.nextTimeEvent,setCooLimPow.nextTimeEventScaled,setHeaCooUnl.nextTimeEvent,setHeaCooUnl.nextTimeEventScaled) * Number of discrete states: 6 (setHeaHigPow.nextTimeEvent,setCooLimPow.nextTimeEvent,setHeaCooUnl.nextTimeEvent,setHeaCooUnl.nextTimeEventScaled,setCooLimPow.nextTimeEventScaled,setHeaHigPow.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (116): * Single equations (assignments): 85 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 25 * When equations: 6 * 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.001335/0.7467, allocations: 0.8751 MB / 1.096 GB, free: 33.95 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.002336/0.7491, allocations: 1.455 MB / 1.097 GB, free: 33.6 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.7491, allocations: 4.188 kB / 1.097 GB, free: 33.59 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.001176/0.7502, allocations: 0.7839 MB / 1.098 GB, free: 33.41 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001515/0.7517, allocations: 0.6042 MB / 1.098 GB, free: 33.21 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003845/0.7556, allocations: 3.188 MB / 1.101 GB, free: 31.69 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007403/0.7563, allocations: 0.7369 MB / 1.102 GB, free: 31.52 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004066/0.7567, allocations: 174.1 kB / 1.102 GB, free: 31.49 MB / 0.9948 GB Notification: Performance of SimCode: time 1.102e-06/0.7567, allocations: 2.812 kB / 1.102 GB, free: 31.49 MB / 0.9948 GB Notification: Performance of Templates: time 0.04639/0.8031, allocations: 28.45 MB / 1.13 GB, free: 26.96 MB / 0.9948 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; mkfifo Buildings_12_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe >> ../files/Buildings_12_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.sim & ./Buildings_12_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_Water.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.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: 10.25614345818758]