Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.000926/0.000926, allocations: 76.55 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.0008374/0.0008374, allocations: 181.9 kB / 23.22 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.8905/0.8905, allocations: 177.1 MB / 203.5 MB, free: 5.75 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 1.75/1.75, allocations: 389 MB / 0.6338 GB, free: 12.72 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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.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_latest_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_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.272e-06/1.272e-06, allocations: 0 / 1.001 GB, free: 12.99 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.085e-05/2.212e-05, allocations: 6.219 kB / 1.001 GB, free: 12.98 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.5872/0.5872, allocations: 49.95 MB / 1.05 GB, free: 44.5 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.009843/0.597, allocations: 9.716 MB / 1.059 GB, free: 44.34 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001185/0.5982, allocations: 92.61 kB / 1.059 GB, free: 44.34 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.001598/0.5998, allocations: 0.9135 MB / 1.06 GB, free: 44.29 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.003288/0.6031, allocations: 2.125 MB / 1.062 GB, free: 43.85 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.003649/0.6068, allocations: 2.114 MB / 1.064 GB, free: 43.71 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.002587/0.6093, allocations: 3.77 MB / 1.068 GB, free: 42.45 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007675/0.6101, allocations: 0.9496 MB / 1.069 GB, free: 42.07 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00226/0.6124, allocations: 2.424 MB / 1.071 GB, free: 41.24 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008215/0.6132, allocations: 1.059 MB / 1.072 GB, free: 41.04 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 0.0001227/0.6133, allocations: 109.2 kB / 1.072 GB, free: 41.04 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001682/0.615, allocations: 1.058 MB / 1.073 GB, free: 40.76 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.000233/0.6152, allocations: 412.1 kB / 1.074 GB, free: 40.55 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0003975/0.6156, allocations: 0.5735 MB / 1.074 GB, free: 40.35 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.001859/0.6175, allocations: 2.419 MB / 1.077 GB, free: 39.66 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.6175, allocations: 0 / 1.077 GB, free: 39.66 MB / 0.9948 GB Notification: Performance of FrontEnd: time 2.695e-06/0.6175, allocations: 0 / 1.077 GB, free: 39.66 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 1.719e-05/0.6175, allocations: 3.938 kB / 1.077 GB, free: 39.65 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.00204/0.6196, allocations: 2.1 MB / 1.079 GB, free: 38.32 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 3.977e-05/0.6196, allocations: 8.594 kB / 1.079 GB, free: 38.32 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001623/0.6212, allocations: 0.6574 MB / 1.079 GB, free: 38.19 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001307/0.6225, allocations: 1.063 MB / 1.081 GB, free: 37.64 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.233e-05/0.6226, allocations: 85.7 kB / 1.081 GB, free: 37.6 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001179/0.6227, allocations: 115 kB / 1.081 GB, free: 37.56 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001678/0.6244, allocations: 1.507 MB / 1.082 GB, free: 36.79 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.198e-05/0.6244, allocations: 5.844 kB / 1.082 GB, free: 36.79 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.788e-05/0.6245, allocations: 49.47 kB / 1.082 GB, free: 36.76 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.927e-05/0.6245, allocations: 26.88 kB / 1.082 GB, free: 36.76 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002394/0.6269, allocations: 1.241 MB / 1.083 GB, free: 36.43 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005422/0.6323, allocations: 6.386 MB / 1.09 GB, free: 31.79 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002163/0.6345, allocations: 1.063 MB / 1.091 GB, free: 31.5 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001005/0.6355, allocations: 0.5327 MB / 1.091 GB, free: 31.35 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006984/0.6362, allocations: 286.5 kB / 1.092 GB, free: 31.29 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001233/0.6374, allocations: 0.6798 MB / 1.092 GB, free: 31.09 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=85): time 3.787e-06/0.6374, allocations: 1.188 kB / 1.092 GB, free: 31.09 MB / 0.9948 GB Notification: Performance of matching and sorting (n=85): time 0.00345/0.6409, allocations: 1.802 MB / 1.094 GB, free: 30.57 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.611e-05/0.6409, allocations: 66.06 kB / 1.094 GB, free: 30.51 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001507/0.6424, allocations: 1.391 MB / 1.095 GB, free: 29.99 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 5.789e-05/0.6425, allocations: 44.16 kB / 1.095 GB, free: 29.95 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004415/0.6429, allocations: 0.8046 MB / 1.096 GB, free: 29.31 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002011/0.6431, allocations: 309.3 kB / 1.097 GB, free: 29.07 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002728/0.6434, allocations: 224.6 kB / 1.097 GB, free: 28.98 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 7.785e-05/0.6435, allocations: 344.6 kB / 1.097 GB, free: 28.66 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009566/0.6444, allocations: 0.5252 MB / 1.098 GB, free: 28.52 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001236/0.6457, allocations: 1.135 MB / 1.099 GB, free: 27.65 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002045/0.6477, allocations: 1.43 MB / 1.1 GB, free: 26.89 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.827e-06/0.6477, allocations: 11.38 kB / 1.1 GB, free: 26.89 MB / 0.9948 GB Notification: Performance of matching and sorting (n=140) (initialization): time 0.002607/0.6503, allocations: 1.609 MB / 1.102 GB, free: 26.4 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 2.79e-05/0.6503, allocations: 10.84 kB / 1.102 GB, free: 26.4 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.617e-05/0.6504, allocations: 11.25 kB / 1.102 GB, free: 26.4 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.962e-05/0.6504, allocations: 16.72 kB / 1.102 GB, free: 26.4 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008148/0.6512, allocations: 356.6 kB / 1.102 GB, free: 26.38 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.677e-05/0.6512, allocations: 25.5 kB / 1.102 GB, free: 26.38 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008711/0.6521, allocations: 207.9 kB / 1.102 GB, free: 26.3 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001102/0.6522, allocations: 64.84 kB / 1.102 GB, free: 26.3 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.0004742/0.6527, allocations: 354.9 kB / 1.103 GB, free: 26.08 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001655/0.6529, allocations: 164.6 kB / 1.103 GB, free: 25.99 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003306/0.6562, allocations: 2.168 MB / 1.105 GB, free: 25.32 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.673e-05/0.6562, allocations: 18.06 kB / 1.105 GB, free: 25.32 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.6562, allocations: 0 / 1.105 GB, free: 25.32 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.68e-05/0.6562, allocations: 5.438 kB / 1.105 GB, free: 25.32 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004443/0.6607, allocations: 3.12 MB / 1.108 GB, free: 24.11 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.645e-06/0.6607, allocations: 5.188 kB / 1.108 GB, free: 24.1 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006266/0.6613, allocations: 239.6 kB / 1.108 GB, free: 24.08 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.428e-06/0.6613, allocations: 7.094 kB / 1.108 GB, free: 24.08 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.046e-05/0.6614, allocations: 36.77 kB / 1.108 GB, free: 24.07 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.963e-06/0.6614, allocations: 5 kB / 1.108 GB, free: 24.07 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.6614, allocations: 2.469 kB / 1.108 GB, free: 24.07 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003933/0.6653, allocations: 2.815 MB / 1.111 GB, free: 23 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004596/0.6658, allocations: 307.9 kB / 1.111 GB, free: 22.83 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001132/0.6659, allocations: 25.75 kB / 1.111 GB, free: 22.82 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005433/0.6664, allocations: 121.5 kB / 1.111 GB, free: 22.79 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000161/0.6666, allocations: 87.22 kB / 1.112 GB, free: 22.78 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.405e-05/0.6667, allocations: 54.61 kB / 1.112 GB, free: 22.77 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.001039/0.6677, allocations: 0.9305 MB / 1.113 GB, free: 22.43 MB / 0.9948 GB Notification: Performance of sort global known variables: time 2.51e-07/0.6677, allocations: 4 kB / 1.113 GB, free: 22.43 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.001536/0.6692, allocations: 0.5628 MB / 1.113 GB, free: 22.29 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.00146/0.6707, allocations: 0.8651 MB / 1.114 GB, free: 21.98 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.002466/0.6732, allocations: 1.447 MB / 1.115 GB, free: 21.59 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.6732, allocations: 1.125 kB / 1.115 GB, free: 21.59 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.001239/0.6744, allocations: 0.7796 MB / 1.116 GB, free: 21.38 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001497/0.6759, allocations: 0.5838 MB / 1.117 GB, free: 21.17 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004005/0.6799, allocations: 3.183 MB / 1.12 GB, free: 19.64 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007386/0.6807, allocations: 0.7263 MB / 1.12 GB, free: 19.47 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004258/0.6811, allocations: 176.2 kB / 1.121 GB, free: 19.45 MB / 0.9948 GB Notification: Performance of SimCode: time 1.503e-06/0.6811, allocations: 0 / 1.121 GB, free: 19.45 MB / 0.9948 GB Notification: Performance of Templates: time 0.04387/0.725, allocations: 28.2 MB / 1.148 GB, free: 10.86 MB / 0.9948 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe >> ../files/Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.sim & ./Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_Water.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.140246405266225]