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.001835/0.001835, allocations: 80.69 kB / 19.18 MB, free: 2.516 MB / 14.72 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.002267/0.002267, allocations: 163.4 kB / 22.46 MB, free: 5.371 MB / 14.72 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 1.523/1.523, allocations: 177.1 MB / 202.8 MB, free: 9.145 MB / 190.1 MB " [Timeout remaining time 178] 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 2.966/2.966, allocations: 377.8 MB / 0.6221 GB, free: 12.58 MB / 0.5919 GB " [Timeout remaining time 176] 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 2.645e-06/2.645e-06, allocations: 0 / 0.9815 GB, free: 11.92 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.802e-05/5.067e-05, allocations: 2.281 kB / 0.9815 GB, free: 11.91 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.0677/0.06775, allocations: 50 MB / 1.03 GB, free: 9.746 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.02483/0.09258, allocations: 9.775 MB / 1.04 GB, free: 15.94 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003421/0.096, allocations: 91.19 kB / 1.04 GB, free: 15.85 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.00379/0.09979, allocations: 0.9121 MB / 1.041 GB, free: 14.93 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.009402/0.1092, allocations: 2.129 MB / 1.043 GB, free: 12.79 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.008114/0.1173, allocations: 2.126 MB / 1.045 GB, free: 10.66 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.007013/0.1243, allocations: 3.845 MB / 1.049 GB, free: 6.801 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002234/0.1266, allocations: 0.9785 MB / 1.05 GB, free: 5.801 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005822/0.1324, allocations: 2.468 MB / 1.052 GB, free: 3.324 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002616/0.135, allocations: 1.067 MB / 1.053 GB, free: 2.254 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002413/0.1352, allocations: 108 kB / 1.053 GB, free: 2.148 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003269/0.1385, allocations: 1.048 MB / 1.054 GB, free: 1.098 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0005583/0.1391, allocations: 414.2 kB / 1.055 GB, free: 0.6914 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0009617/0.14, allocations: 0.5688 MB / 1.055 GB, free: 124 kB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.004733/0.1448, allocations: 2.434 MB / 1.058 GB, free: 13.68 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 7.343e-06/0.1448, allocations: 0 / 1.058 GB, free: 13.68 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.653e-06/0.1448, allocations: 0 / 1.058 GB, free: 13.68 MB / 1.014 GB Notification: Performance of Transformations before backend: time 3.099e-05/0.1448, allocations: 3.938 kB / 1.058 GB, free: 13.68 MB / 1.014 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.004209/0.149, allocations: 2.11 MB / 1.06 GB, free: 11.52 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.293e-05/0.1491, allocations: 8.031 kB / 1.06 GB, free: 11.51 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00401/0.1531, allocations: 0.6621 MB / 1.06 GB, free: 10.84 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002855/0.1559, allocations: 1.076 MB / 1.061 GB, free: 9.719 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001164/0.156, allocations: 86.12 kB / 1.061 GB, free: 9.633 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002272/0.1563, allocations: 115.9 kB / 1.062 GB, free: 9.52 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003815/0.1601, allocations: 1.504 MB / 1.063 GB, free: 7.859 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.281e-05/0.1601, allocations: 7.938 kB / 1.063 GB, free: 7.852 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001407/0.1602, allocations: 44 kB / 1.063 GB, free: 7.809 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.78e-05/0.1603, allocations: 31.94 kB / 1.063 GB, free: 7.777 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004039/0.1643, allocations: 1.233 MB / 1.064 GB, free: 6.547 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009829/0.1742, allocations: 6.407 MB / 1.071 GB, free: 15.92 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003694/0.1778, allocations: 1.06 MB / 1.072 GB, free: 14.85 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001684/0.1795, allocations: 0.5327 MB / 1.072 GB, free: 14.32 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001051/0.1806, allocations: 281 kB / 1.072 GB, free: 14.05 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002096/0.1827, allocations: 0.6878 MB / 1.073 GB, free: 13.35 MB / 1.029 GB Notification: Performance of pre-optimization done (n=85): time 3.366e-06/0.1827, allocations: 4 kB / 1.073 GB, free: 13.35 MB / 1.029 GB Notification: Performance of matching and sorting (n=85): time 0.006008/0.1887, allocations: 1.799 MB / 1.075 GB, free: 11.54 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.323e-05/0.1888, allocations: 64.41 kB / 1.075 GB, free: 11.47 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002129/0.1909, allocations: 1.4 MB / 1.076 GB, free: 10.05 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.0001071/0.191, allocations: 45.69 kB / 1.076 GB, free: 10 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008036/0.1918, allocations: 0.8146 MB / 1.077 GB, free: 9.176 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003472/0.1921, allocations: 309.4 kB / 1.077 GB, free: 8.871 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003868/0.1925, allocations: 226.8 kB / 1.078 GB, free: 8.645 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0002037/0.1927, allocations: 345.9 kB / 1.078 GB, free: 8.301 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001727/0.1945, allocations: 0.5294 MB / 1.078 GB, free: 7.77 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002285/0.1967, allocations: 1.129 MB / 1.08 GB, free: 6.426 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003862/0.2006, allocations: 1.438 MB / 1.081 GB, free: 4.828 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.378e-06/0.2006, allocations: 7.938 kB / 1.081 GB, free: 4.82 MB / 1.029 GB Notification: Performance of matching and sorting (n=140) (initialization): time 0.004767/0.2054, allocations: 1.602 MB / 1.083 GB, free: 3.215 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.977e-05/0.2054, allocations: 10.03 kB / 1.083 GB, free: 3.207 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.172e-05/0.2054, allocations: 12 kB / 1.083 GB, free: 3.195 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.863e-05/0.2055, allocations: 20 kB / 1.083 GB, free: 3.176 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001492/0.207, allocations: 347.5 kB / 1.083 GB, free: 2.836 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.59e-05/0.207, allocations: 31.91 kB / 1.083 GB, free: 2.805 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001541/0.2085, allocations: 211 kB / 1.083 GB, free: 2.598 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001452/0.2087, allocations: 63.97 kB / 1.083 GB, free: 2.535 MB / 1.029 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.0007423/0.2094, allocations: 355.2 kB / 1.084 GB, free: 2.176 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000285/0.2097, allocations: 163 kB / 1.084 GB, free: 2.016 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005511/0.2152, allocations: 2.166 MB / 1.086 GB, free: 15.84 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.553e-05/0.2153, allocations: 19.98 kB / 1.086 GB, free: 15.82 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.744e-06/0.2153, allocations: 0 / 1.086 GB, free: 15.82 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.632e-05/0.2153, allocations: 7.969 kB / 1.086 GB, free: 15.81 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006856/0.2221, allocations: 3.121 MB / 1.089 GB, free: 12.62 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.347e-05/0.2222, allocations: 4 kB / 1.089 GB, free: 12.62 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001208/0.2234, allocations: 235.9 kB / 1.089 GB, free: 12.39 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.577e-05/0.2234, allocations: 8 kB / 1.089 GB, free: 12.38 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.113e-05/0.2235, allocations: 39.95 kB / 1.089 GB, free: 12.34 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.116e-05/0.2235, allocations: 8 kB / 1.089 GB, free: 12.34 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.087e-06/0.2235, allocations: 3.938 kB / 1.089 GB, free: 12.33 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006997/0.2305, allocations: 2.81 MB / 1.092 GB, free: 9.484 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007073/0.2312, allocations: 306.4 kB / 1.092 GB, free: 9.184 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001847/0.2314, allocations: 27.98 kB / 1.092 GB, free: 9.156 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00109/0.2325, allocations: 123.9 kB / 1.092 GB, free: 9.035 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001713/0.2326, allocations: 84.8 kB / 1.092 GB, free: 8.953 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001267/0.2328, allocations: 55.98 kB / 1.092 GB, free: 8.898 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.001474/0.2342, allocations: 0.9366 MB / 1.093 GB, free: 7.965 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2342, allocations: 3.938 kB / 1.093 GB, free: 7.961 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.00183/0.2361, allocations: 0.5651 MB / 1.094 GB, free: 7.395 MB / 1.045 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.002641/0.2387, allocations: 0.8584 MB / 1.095 GB, free: 6.715 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.004353/0.2431, allocations: 1.45 MB / 1.096 GB, free: 5.27 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/0.2431, allocations: 4 kB / 1.096 GB, free: 5.266 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.00218/0.2452, allocations: 0.7832 MB / 1.097 GB, free: 4.484 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003038/0.2483, allocations: 0.6039 MB / 1.098 GB, free: 3.895 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007067/0.2553, allocations: 3.146 MB / 1.101 GB, free: 0.6914 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001027/0.2564, allocations: 0.7345 MB / 1.101 GB, free: 15.93 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.001353/0.2577, allocations: 351.3 kB / 1.102 GB, free: 15.58 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005181/0.2582, allocations: 160.3 kB / 1.102 GB, free: 15.42 MB / 1.061 GB Notification: Performance of SimCode: time 1.383e-06/0.2582, allocations: 0 / 1.102 GB, free: 15.42 MB / 1.061 GB Notification: Performance of Templates: time 0.05812/0.3164, allocations: 30.38 MB / 1.132 GB, free: 1.734 MB / 1.076 GB " [Timeout remaining time 300] 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.53385280072689]