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.0008974/0.0008974, allocations: 80.8 kB / 20.75 MB, free: 3.742 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.001526/0.001526, allocations: 161 kB / 24.17 MB, free: 332 kB / 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.9871/0.9871, allocations: 177.2 MB / 204.6 MB, free: 5.488 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.937/1.937, allocations: 377.9 MB / 0.624 GB, free: 8.355 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.222e-06/1.222e-06, allocations: 0 / 0.76 GB, free: 6.449 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.94e-05/2.062e-05, allocations: 6.25 kB / 0.7601 GB, free: 6.441 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.0101/0.01012, allocations: 13.46 MB / 0.7732 GB, free: 8.992 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.00624/0.01636, allocations: 5.113 MB / 0.7782 GB, free: 3.914 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005032/0.01687, allocations: 92.12 kB / 0.7783 GB, free: 3.824 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.000805/0.01767, allocations: 0.6076 MB / 0.7789 GB, free: 3.215 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.001693/0.01936, allocations: 1.577 MB / 0.7804 GB, free: 1.645 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.001603/0.02097, allocations: 1.51 MB / 0.7819 GB, free: 140 kB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.002424/0.02339, allocations: 3.827 MB / 0.7856 GB, free: 12.3 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008006/0.02419, allocations: 1.04 MB / 0.7866 GB, free: 11.22 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00139/0.02558, allocations: 1.884 MB / 0.7885 GB, free: 9.336 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007301/0.02631, allocations: 0.9756 MB / 0.7894 GB, free: 8.359 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.0001095/0.02642, allocations: 111.9 kB / 0.7895 GB, free: 8.25 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003813/0.0268, allocations: 315.5 kB / 0.7898 GB, free: 7.941 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.000245/0.02705, allocations: 414.2 kB / 0.7902 GB, free: 7.535 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0003999/0.02745, allocations: 0.5696 MB / 0.7908 GB, free: 6.965 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.001143/0.02859, allocations: 1.416 MB / 0.7922 GB, free: 5.543 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.02859, allocations: 0.8125 kB / 0.7922 GB, free: 5.543 MB / 0.7448 GB Notification: Performance of FrontEnd: time 8.01e-07/0.02859, allocations: 0 / 0.7922 GB, free: 5.543 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.113e-05/0.02861, allocations: 0 / 0.7922 GB, free: 5.543 MB / 0.7448 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.001677/0.03028, allocations: 1.971 MB / 0.7941 GB, free: 3.531 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.124e-05/0.03031, allocations: 12.72 kB / 0.7941 GB, free: 3.52 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00113/0.03144, allocations: 0.4971 MB / 0.7946 GB, free: 3.031 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00108/0.03252, allocations: 1.026 MB / 0.7956 GB, free: 1.969 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.843e-05/0.03257, allocations: 82.14 kB / 0.7957 GB, free: 1.887 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001035/0.03268, allocations: 115.9 kB / 0.7958 GB, free: 1.773 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001032/0.03371, allocations: 1.114 MB / 0.7969 GB, free: 0.5078 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.026e-05/0.03373, allocations: 7.938 kB / 0.7969 GB, free: 0.5 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.929e-05/0.03379, allocations: 52.64 kB / 0.7969 GB, free: 460 kB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.754e-05/0.03381, allocations: 33.19 kB / 0.797 GB, free: 428 kB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004824/0.03429, allocations: 415.1 kB / 0.7974 GB, free: 20 kB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003516/0.0378, allocations: 5.34 MB / 0.8026 GB, free: 10.48 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007121/0.03852, allocations: 0.5031 MB / 0.8031 GB, free: 9.973 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001887/0.0387, allocations: 160 kB / 0.8032 GB, free: 9.816 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001913/0.0389, allocations: 84.5 kB / 0.8033 GB, free: 9.73 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003574/0.03925, allocations: 349.1 kB / 0.8036 GB, free: 9.379 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=85): time 2.184e-06/0.03926, allocations: 0 / 0.8036 GB, free: 9.379 MB / 0.7605 GB Notification: Performance of matching and sorting (n=85): time 0.0007016/0.03996, allocations: 0.5512 MB / 0.8042 GB, free: 8.832 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.92e-05/0.03999, allocations: 60.41 kB / 0.8042 GB, free: 8.762 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006881/0.04067, allocations: 1.14 MB / 0.8053 GB, free: 7.602 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 5.219e-05/0.04073, allocations: 45.7 kB / 0.8054 GB, free: 7.551 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002443/0.04097, allocations: 0.5712 MB / 0.8059 GB, free: 6.969 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.000225/0.0412, allocations: 313.3 kB / 0.8062 GB, free: 6.66 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001857/0.04138, allocations: 214.7 kB / 0.8064 GB, free: 6.445 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 7.988e-05/0.04146, allocations: 349.8 kB / 0.8068 GB, free: 6.098 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001866/0.04165, allocations: 143.4 kB / 0.8069 GB, free: 5.957 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003957/0.04204, allocations: 0.7283 MB / 0.8076 GB, free: 5.016 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005768/0.04262, allocations: 0.7265 MB / 0.8083 GB, free: 4.145 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.6e-06/0.04263, allocations: 4 kB / 0.8083 GB, free: 4.141 MB / 0.7605 GB Notification: Performance of matching and sorting (n=140) (initialization): time 0.0007101/0.04334, allocations: 0.7049 MB / 0.809 GB, free: 3.43 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.843e-05/0.04335, allocations: 12 kB / 0.809 GB, free: 3.418 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.386e-05/0.04337, allocations: 8 kB / 0.809 GB, free: 3.41 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.651e-05/0.0434, allocations: 23.98 kB / 0.8091 GB, free: 3.387 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005562/0.04395, allocations: 288.1 kB / 0.8093 GB, free: 3.105 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.486e-05/0.04397, allocations: 23.92 kB / 0.8094 GB, free: 3.082 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000428/0.04439, allocations: 155.1 kB / 0.8095 GB, free: 2.93 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.742e-05/0.04446, allocations: 51.97 kB / 0.8096 GB, free: 2.879 MB / 0.7605 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.0002214/0.04468, allocations: 198.3 kB / 0.8098 GB, free: 2.676 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001276/0.04481, allocations: 119.8 kB / 0.8099 GB, free: 2.559 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001056/0.04587, allocations: 0.9718 MB / 0.8108 GB, free: 1.574 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.237e-05/0.04588, allocations: 15.98 kB / 0.8108 GB, free: 1.559 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.04588, allocations: 4 kB / 0.8108 GB, free: 1.555 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.817e-06/0.04589, allocations: 7.969 kB / 0.8108 GB, free: 1.547 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001674/0.04756, allocations: 1.744 MB / 0.8125 GB, free: 15.72 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.912e-06/0.04757, allocations: 3.984 kB / 0.8126 GB, free: 15.71 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004114/0.04798, allocations: 171.8 kB / 0.8127 GB, free: 15.55 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.661e-06/0.04799, allocations: 8.188 kB / 0.8127 GB, free: 15.54 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.276e-05/0.04803, allocations: 39.95 kB / 0.8128 GB, free: 15.5 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.96e-06/0.04804, allocations: 7.938 kB / 0.8128 GB, free: 15.49 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.946e-06/0.04804, allocations: 7.938 kB / 0.8128 GB, free: 15.48 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001047/0.04909, allocations: 0.9871 MB / 0.8137 GB, free: 14.45 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002488/0.04933, allocations: 230.5 kB / 0.814 GB, free: 14.23 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.583e-05/0.04943, allocations: 20 kB / 0.814 GB, free: 14.21 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003461/0.04978, allocations: 71.88 kB / 0.814 GB, free: 14.14 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.396e-05/0.04986, allocations: 84.78 kB / 0.8141 GB, free: 14.05 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.764e-05/0.04991, allocations: 31.97 kB / 0.8142 GB, free: 14.02 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0003882/0.0503, allocations: 0.5785 MB / 0.8147 GB, free: 13.44 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7e-08/0.0503, allocations: 0 / 0.8147 GB, free: 13.44 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0005985/0.05089, allocations: 427.3 kB / 0.8151 GB, free: 13.02 MB / 0.7761 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 (109): * Single equations (assignments): 85 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 18 * 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.001218/0.05211, allocations: 0.6058 MB / 0.8157 GB, free: 12.65 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0006263/0.05274, allocations: 0.582 MB / 0.8163 GB, free: 12.07 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-05/0.05275, allocations: 16.5 kB / 0.8163 GB, free: 12.05 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0003285/0.05308, allocations: 329.4 kB / 0.8166 GB, free: 11.73 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001189/0.05427, allocations: 0.6333 MB / 0.8172 GB, free: 11.11 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002398/0.05667, allocations: 2.506 MB / 0.8197 GB, free: 8.531 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00018/0.05685, allocations: 298.5 kB / 0.82 GB, free: 8.211 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0006255/0.05747, allocations: 303.2 kB / 0.8203 GB, free: 7.91 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008538/0.05833, allocations: 0.5515 MB / 0.8208 GB, free: 7.352 MB / 0.7761 GB Notification: Performance of SimCode: time 6.52e-07/0.05833, allocations: 0 / 0.8208 GB, free: 7.352 MB / 0.7761 GB Notification: Performance of Templates: time 0.02847/0.0868, allocations: 28.05 MB / 0.8482 GB, free: 12.03 MB / 0.8073 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=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe 2>&1) [Timeout 240] 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","",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.715707426890731]