Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001739/0.001739, allocations: 103 kB / 16.4 MB, free: 6.508 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001953/0.001954, allocations: 199.8 kB / 19.35 MB, free: 3.723 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.429/1.429, allocations: 222.9 MB / 245 MB, free: 14.99 MB / 206.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.619/2.619, allocations: 437 MB / 0.7171 GB, free: 4.121 MB / 0.5762 GB [Timeout remaining time 87] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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.Interfaces.Examples.PrescribedOutlet_Water,tolerance=1e-06,outputFormat="mat",numberOfIntervals=511,variableFilter="time|heaHigPow.sta_a.T|heaHigPow.sta_b.T|cooLimPow.sta_a.T|cooLimPow.sta_b.T|heaCooUnl.sta_a.T|heaCooUnl.sta_b.T|steSta.sta_b.T|heaHigPow.Q_flow|cooLimPow.Q_flow|heaCooUnl.Q_flow|steSta.Q_flow|heaHigPow.mWat_flow|cooLimPow.mWat_flow|heaCooUnl.mWat_flow|steSta.mWat_flow",fileNamePrefix="Buildings_10_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water") translateModel(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water,tolerance=1e-06,outputFormat="mat",numberOfIntervals=511,variableFilter="time|heaHigPow.sta_a.T|heaHigPow.sta_b.T|cooLimPow.sta_a.T|cooLimPow.sta_b.T|heaCooUnl.sta_a.T|heaCooUnl.sta_b.T|steSta.sta_b.T|heaHigPow.Q_flow|cooLimPow.Q_flow|heaCooUnl.Q_flow|steSta.Q_flow|heaHigPow.mWat_flow|cooLimPow.mWat_flow|heaCooUnl.mWat_flow|steSta.mWat_flow",fileNamePrefix="Buildings_10_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water") [Timeout 300] Notification: Performance of FrontEnd - loaded program: time 0.002079/0.002079, allocations: 67.89 kB / 1.027 GB, free: 11.47 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8871/0.8892, allocations: 151.6 MB / 1.175 GB, free: 17.88 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.0293/0.9185, allocations: 29.35 MB / 1.204 GB, free: 12.53 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.01194/0.9305, allocations: 6.874 MB / 1.211 GB, free: 6.934 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001338/0.9318, allocations: 46.78 kB / 1.211 GB, free: 6.914 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.001699/0.9335, allocations: 0.6893 MB / 1.211 GB, free: 6.398 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.003747/0.9373, allocations: 1.453 MB / 1.213 GB, free: 5.277 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.003282/0.9406, allocations: 1.152 MB / 1.214 GB, free: 4.414 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.003925/0.9446, allocations: 2.478 MB / 1.216 GB, free: 2.988 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001448/0.946, allocations: 0.7872 MB / 1.217 GB, free: 2.488 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002474/0.9485, allocations: 1.021 MB / 1.218 GB, free: 1.891 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001336/0.9499, allocations: 0.8074 MB / 1.219 GB, free: 1.434 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0001375/0.95, allocations: 65.66 kB / 1.219 GB, free: 1.434 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002308/0.9523, allocations: 0.8243 MB / 1.22 GB, free: 0.9805 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.000341/0.9527, allocations: 273.3 kB / 1.22 GB, free: 0.7891 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0006862/0.9534, allocations: 0.5538 MB / 1.22 GB, free: 428 kB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.002766/0.9562, allocations: 1.63 MB / 1.222 GB, free: 15.38 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.9562, allocations: 1.375 kB / 1.222 GB, free: 15.38 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.393e-06/0.9562, allocations: 0 / 1.222 GB, free: 15.38 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.606e-05/0.9562, allocations: 0 / 1.222 GB, free: 15.38 MB / 0.9512 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 176 * Number of variables: 176 Notification: Performance of Generate backend data structure: time 0.002966/0.9592, allocations: 1.61 MB / 1.224 GB, free: 14.12 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.435e-05/0.9592, allocations: 14.02 kB / 1.224 GB, free: 14.12 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003632/0.9629, allocations: 0.5839 MB / 1.224 GB, free: 13.85 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001542/0.9644, allocations: 0.8839 MB / 1.225 GB, free: 13.14 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.846e-05/0.9645, allocations: 52.66 kB / 1.225 GB, free: 13.12 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000141/0.9647, allocations: 81.58 kB / 1.225 GB, free: 13.09 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002601/0.9673, allocations: 1.099 MB / 1.226 GB, free: 12.34 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.165e-05/0.9673, allocations: 5.031 kB / 1.226 GB, free: 12.33 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.259e-05/0.9674, allocations: 28.62 kB / 1.226 GB, free: 12.31 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.091e-05/0.9674, allocations: 18.44 kB / 1.226 GB, free: 12.31 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003348/0.9708, allocations: 0.9998 MB / 1.227 GB, free: 11.84 MB / 0.9512 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006832/0.9776, allocations: 4.955 MB / 1.232 GB, free: 7.383 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003142/0.9808, allocations: 0.9065 MB / 1.233 GB, free: 6.957 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001596/0.9824, allocations: 488.3 kB / 1.233 GB, free: 6.727 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001764/0.9842, allocations: 1.592 MB / 1.235 GB, free: 4.871 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001881/0.9861, allocations: 0.5822 MB / 1.236 GB, free: 4.527 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=61): time 3.186e-06/0.9861, allocations: 0 / 1.236 GB, free: 4.527 MB / 0.9512 GB Notification: Performance of matching and sorting (n=61): time 0.005389/0.9915, allocations: 1.487 MB / 1.237 GB, free: 3.812 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.553e-05/0.9915, allocations: 66.83 kB / 1.237 GB, free: 3.742 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001551/0.9931, allocations: 1.112 MB / 1.238 GB, free: 3.168 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 8.035e-05/0.9932, allocations: 43.67 kB / 1.238 GB, free: 3.125 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005189/0.9937, allocations: 0.5513 MB / 1.239 GB, free: 2.637 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002185/0.9939, allocations: 218.4 kB / 1.239 GB, free: 2.449 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002946/0.9942, allocations: 161 kB / 1.239 GB, free: 2.355 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0002147/0.9945, allocations: 338 kB / 1.239 GB, free: 2.027 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001569/0.996, allocations: 447.4 kB / 1.24 GB, free: 1.82 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001875/0.9979, allocations: 0.7177 MB / 1.241 GB, free: 1.266 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003341/1.001, allocations: 1.114 MB / 1.242 GB, free: 0.5273 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.604e-06/1.001, allocations: 1.281 kB / 1.242 GB, free: 0.5273 MB / 0.9512 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.003979/1.005, allocations: 1.291 MB / 1.243 GB, free: 15.89 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.479e-05/1.005, allocations: 8.375 kB / 1.243 GB, free: 15.89 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.536e-05/1.005, allocations: 11.06 kB / 1.243 GB, free: 15.88 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.149e-05/1.005, allocations: 12.06 kB / 1.243 GB, free: 15.88 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001286/1.007, allocations: 265.4 kB / 1.243 GB, free: 15.8 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.276e-05/1.007, allocations: 19.64 kB / 1.243 GB, free: 15.8 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001369/1.008, allocations: 186.4 kB / 1.243 GB, free: 15.69 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001037/1.008, allocations: 45.08 kB / 1.243 GB, free: 15.68 MB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * 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 (100): * Single equations (assignments): 100 * 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.0006293/1.009, allocations: 289.8 kB / 1.244 GB, free: 15.46 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002041/1.009, allocations: 132.2 kB / 1.244 GB, free: 15.39 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004289/1.013, allocations: 1.357 MB / 1.245 GB, free: 14.68 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.584e-05/1.013, allocations: 15.17 kB / 1.245 GB, free: 14.67 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.813e-06/1.013, allocations: 1.312 kB / 1.245 GB, free: 14.67 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.778e-06/1.013, allocations: 0 / 1.245 GB, free: 14.67 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005799/1.019, allocations: 2.371 MB / 1.248 GB, free: 13.15 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.694e-06/1.019, allocations: 5.062 kB / 1.248 GB, free: 13.14 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001072/1.02, allocations: 190.4 kB / 1.248 GB, free: 13.08 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.046e-05/1.02, allocations: 4.125 kB / 1.248 GB, free: 13.08 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.184e-05/1.02, allocations: 26.03 kB / 1.248 GB, free: 13.06 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.226e-06/1.02, allocations: 3.719 kB / 1.248 GB, free: 13.06 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/1.02, allocations: 2.469 kB / 1.248 GB, free: 13.06 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005566/1.026, allocations: 1.992 MB / 1.25 GB, free: 11.43 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005295/1.027, allocations: 276 kB / 1.25 GB, free: 11.14 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000154/1.027, allocations: 20 kB / 1.25 GB, free: 11.12 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009313/1.028, allocations: 103.9 kB / 1.25 GB, free: 11.02 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001351/1.028, allocations: 64.45 kB / 1.25 GB, free: 10.96 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.275e-05/1.028, allocations: 35.91 kB / 1.25 GB, free: 10.92 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.001113/1.029, allocations: 0.7638 MB / 1.251 GB, free: 10.15 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.41e-07/1.029, allocations: 0 / 1.251 GB, free: 10.15 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.001272/1.03, allocations: 351.3 kB / 1.251 GB, free: 9.809 MB / 0.9669 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 (70): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * 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.002203/1.033, allocations: 0.66 MB / 1.252 GB, free: 9.301 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.003729/1.036, allocations: 1.118 MB / 1.253 GB, free: 8.184 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/1.036, allocations: 0 / 1.253 GB, free: 8.184 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.001791/1.038, allocations: 0.5736 MB / 1.254 GB, free: 7.613 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002119/1.04, allocations: 457.5 kB / 1.254 GB, free: 7.18 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005086/1.045, allocations: 2.363 MB / 1.256 GB, free: 4.766 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00081/1.046, allocations: 1.096 MB / 1.257 GB, free: 3.641 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0008685/1.047, allocations: 248.6 kB / 1.258 GB, free: 3.395 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003099/1.047, allocations: 111.3 kB / 1.258 GB, free: 3.285 MB / 0.9669 GB Notification: Performance of SimCode: time 5.11e-07/1.047, allocations: 4 kB / 1.258 GB, free: 3.281 MB / 0.9669 GB Notification: Performance of Templates: time 0.0377/1.085, allocations: 20.02 MB / 1.277 GB, free: 15.52 MB / 0.9981 GB [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; mkfifo Buildings_10_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe >> ../files/Buildings_10_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.sim & ./Buildings_10_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_Water.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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