Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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=5000,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_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water") translateModel(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001004/0.001004, allocations: 99.38 kB / 15.37 MB, free: 0.707 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00128/0.00128, allocations: 181.9 kB / 16.28 MB, free: 6.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.442/1.442, allocations: 223.3 MB / 240.3 MB, free: 5.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.42/2.42, allocations: 390.9 MB / 0.6663 GB, free: 2.406 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003666/0.0003667, allocations: 8 kB / 0.816 GB, free: 13.25 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8058/0.8062, allocations: 142.4 MB / 0.955 GB, free: 7.734 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.02913/0.8353, allocations: 28.46 MB / 0.9828 GB, free: 0.8984 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.01174/0.8471, allocations: 6.817 MB / 0.9895 GB, free: 11.37 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001824/0.849, allocations: 40.66 kB / 0.9895 GB, free: 11.35 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.001811/0.8508, allocations: 0.5948 MB / 0.9901 GB, free: 10.93 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.004686/0.8555, allocations: 1.349 MB / 0.9914 GB, free: 9.898 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.003815/0.8594, allocations: 1.037 MB / 0.9924 GB, free: 8.973 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.004604/0.864, allocations: 3.214 MB / 0.9956 GB, free: 5.75 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001505/0.8655, allocations: 0.7151 MB / 0.9963 GB, free: 5.02 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00225/0.8678, allocations: 0.9217 MB / 0.9972 GB, free: 4.094 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001472/0.8693, allocations: 0.8206 MB / 0.998 GB, free: 3.27 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 9.944e-05/0.8694, allocations: 36 kB / 0.998 GB, free: 3.234 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001882/0.8713, allocations: 0.7599 MB / 0.9988 GB, free: 2.473 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.000287/0.8716, allocations: 250.9 kB / 0.999 GB, free: 2.227 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0006051/0.8722, allocations: 0.5414 MB / 0.9995 GB, free: 1.676 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.002158/0.8744, allocations: 1.549 MB / 1.001 GB, free: 124 kB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.8744, allocations: 0 / 1.001 GB, free: 124 kB / 0.7481 GB Notification: Performance of FrontEnd: time 2.444e-06/0.8744, allocations: 0 / 1.001 GB, free: 124 kB / 0.7481 GB Notification: Performance of Transformations before backend: time 1.571e-05/0.8744, allocations: 4 kB / 1.001 GB, free: 120 kB / 0.7481 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.002622/0.877, allocations: 1.36 MB / 1.002 GB, free: 14.7 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.746e-05/0.8771, allocations: 8.031 kB / 1.002 GB, free: 14.7 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003631/0.8807, allocations: 0.6314 MB / 1.003 GB, free: 14.06 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001304/0.882, allocations: 0.8017 MB / 1.004 GB, free: 13.21 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.391e-05/0.8821, allocations: 58.38 kB / 1.004 GB, free: 13.15 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001451/0.8823, allocations: 71.94 kB / 1.004 GB, free: 13.08 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002544/0.8848, allocations: 1.119 MB / 1.005 GB, free: 11.88 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.049e-05/0.8849, allocations: 0 / 1.005 GB, free: 11.88 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.188e-05/0.8849, allocations: 28 kB / 1.005 GB, free: 11.85 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.895e-05/0.885, allocations: 20 kB / 1.005 GB, free: 11.83 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003236/0.8882, allocations: 1.027 MB / 1.006 GB, free: 10.8 MB / 0.7637 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.006065/0.8943, allocations: 4.967 MB / 1.011 GB, free: 5.543 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003119/0.8974, allocations: 0.9613 MB / 1.012 GB, free: 4.574 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001541/0.899, allocations: 494.2 kB / 1.012 GB, free: 4.09 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001499/0.9005, allocations: 1.604 MB / 1.014 GB, free: 2.137 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00171/0.9022, allocations: 0.5924 MB / 1.014 GB, free: 1.527 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=61): time 3.677e-06/0.9022, allocations: 0 / 1.014 GB, free: 1.527 MB / 0.7637 GB Notification: Performance of matching and sorting (n=61): time 0.005047/0.9073, allocations: 1.524 MB / 1.016 GB, free: 15.99 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.108e-05/0.9074, allocations: 59.97 kB / 1.016 GB, free: 15.92 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00146/0.9088, allocations: 1.108 MB / 1.017 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 9.6e-05/0.9089, allocations: 41.7 kB / 1.017 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004574/0.9094, allocations: 0.5433 MB / 1.018 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002104/0.9096, allocations: 209.2 kB / 1.018 GB, free: 14 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000113/0.9097, allocations: 73.67 kB / 1.018 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001444/0.9099, allocations: 338 kB / 1.018 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001558/0.9115, allocations: 457.6 kB / 1.019 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001728/0.9132, allocations: 0.7281 MB / 1.019 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003194/0.9164, allocations: 1.14 MB / 1.02 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.993e-06/0.9164, allocations: 7.938 kB / 1.021 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.003973/0.9204, allocations: 1.29 MB / 1.022 GB, free: 9.75 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.977e-05/0.9205, allocations: 13.75 kB / 1.022 GB, free: 9.738 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.506e-05/0.9205, allocations: 8 kB / 1.022 GB, free: 9.73 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.38e-05/0.9205, allocations: 12.09 kB / 1.022 GB, free: 9.719 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001256/0.9218, allocations: 283.5 kB / 1.022 GB, free: 9.441 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.748e-05/0.9218, allocations: 15.94 kB / 1.022 GB, free: 9.426 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001431/0.9233, allocations: 214.7 kB / 1.022 GB, free: 9.215 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001149/0.9234, allocations: 51.98 kB / 1.022 GB, free: 9.164 MB / 0.7794 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.0006053/0.924, allocations: 292.3 kB / 1.023 GB, free: 8.871 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002697/0.9243, allocations: 118.5 kB / 1.023 GB, free: 8.754 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004062/0.9283, allocations: 1.39 MB / 1.024 GB, free: 7.355 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.081e-05/0.9284, allocations: 12 kB / 1.024 GB, free: 7.344 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.524e-06/0.9284, allocations: 4 kB / 1.024 GB, free: 7.34 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.101e-05/0.9284, allocations: 3.984 kB / 1.024 GB, free: 7.336 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005527/0.9339, allocations: 2.401 MB / 1.026 GB, free: 4.859 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.125e-06/0.934, allocations: 0 / 1.026 GB, free: 4.859 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001061/0.935, allocations: 195.9 kB / 1.027 GB, free: 4.668 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.423e-05/0.9351, allocations: 4 kB / 1.027 GB, free: 4.664 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.06e-05/0.9351, allocations: 23.97 kB / 1.027 GB, free: 4.641 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.358e-06/0.9352, allocations: 4 kB / 1.027 GB, free: 4.637 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.957e-06/0.9352, allocations: 7.938 kB / 1.027 GB, free: 4.629 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0054/0.9406, allocations: 2.001 MB / 1.029 GB, free: 2.598 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005276/0.9411, allocations: 291.3 kB / 1.029 GB, free: 2.293 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002066/0.9413, allocations: 19.98 kB / 1.029 GB, free: 2.273 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001083/0.9424, allocations: 123.9 kB / 1.029 GB, free: 2.152 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001213/0.9426, allocations: 60.36 kB / 1.029 GB, free: 2.09 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.972e-05/0.9426, allocations: 31.97 kB / 1.029 GB, free: 2.059 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.001096/0.9437, allocations: 0.7638 MB / 1.03 GB, free: 1.289 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9438, allocations: 0 / 1.03 GB, free: 1.289 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.001235/0.945, allocations: 343.6 kB / 1.03 GB, free: 0.9531 MB / 0.7794 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.001675/0.9467, allocations: 0.6651 MB / 1.031 GB, free: 456 kB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.003573/0.9503, allocations: 1.134 MB / 1.032 GB, free: 15.3 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 3.988e-06/0.9503, allocations: 0 / 1.032 GB, free: 15.3 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.00173/0.952, allocations: 0.5853 MB / 1.033 GB, free: 14.72 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002544/0.9546, allocations: 423.5 kB / 1.033 GB, free: 14.31 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005549/0.9601, allocations: 2.799 MB / 1.036 GB, free: 11.46 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007946/0.961, allocations: 1.1 MB / 1.037 GB, free: 10.33 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.001133/0.9621, allocations: 260.5 kB / 1.037 GB, free: 10.07 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003453/0.9625, allocations: 107.4 kB / 1.037 GB, free: 9.969 MB / 0.795 GB Notification: Performance of SimCode: time 1.202e-06/0.9625, allocations: 0 / 1.037 GB, free: 9.969 MB / 0.795 GB Notification: Performance of Templates: time 0.03553/0.998, allocations: 18.94 MB / 1.056 GB, free: 7.301 MB / 0.8106 GB make -j1 -f Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.makefile (rm -f Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; mkfifo Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe >> ../files/Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.sim & ./Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_Water.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches