Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.008211/0.008211, allocations: 96.06 kB / 15.73 MB, free: 6.059 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.001589/0.001589, allocations: 189.9 kB / 16.67 MB, free: 5.977 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: 222.9 MB / 240.4 MB, free: 4.289 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.912/2.912, allocations: 469.8 MB / 0.7425 GB, free: 7.324 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001473/0.001473, allocations: 68.11 kB / 1.065 GB, free: 12.96 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3717/0.3732, allocations: 159.1 MB / 1.221 GB, free: 13.7 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.03278/0.406, allocations: 29.39 MB / 1.249 GB, free: 212 kB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.7643/1.17, allocations: 6.878 MB / 1.256 GB, free: 5.359 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001414/1.172, allocations: 49.56 kB / 1.256 GB, free: 5.359 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001467/1.173, allocations: 0.7024 MB / 1.257 GB, free: 5.344 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.00376/1.177, allocations: 1.518 MB / 1.258 GB, free: 5.285 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003364/1.18, allocations: 1.156 MB / 1.259 GB, free: 5.262 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.003766/1.184, allocations: 2.481 MB / 1.262 GB, free: 5.039 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001065/1.185, allocations: 0.6827 MB / 1.263 GB, free: 4.977 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001922/1.187, allocations: 1.047 MB / 1.264 GB, free: 4.758 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001016/1.188, allocations: 0.8115 MB / 1.264 GB, free: 4.59 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001108/1.188, allocations: 67.44 kB / 1.264 GB, free: 4.59 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001821/1.19, allocations: 0.821 MB / 1.265 GB, free: 4.52 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002567/1.19, allocations: 287.3 kB / 1.265 GB, free: 4.457 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004517/1.191, allocations: 0.5443 MB / 1.266 GB, free: 4.262 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.002218/1.193, allocations: 1.629 MB / 1.268 GB, free: 3.965 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/1.193, allocations: 1.547 kB / 1.268 GB, free: 3.965 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.543e-06/1.193, allocations: 0 / 1.268 GB, free: 3.965 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.669e-05/1.193, allocations: 4 kB / 1.268 GB, free: 3.961 MB / 0.9981 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/1.196, allocations: 1.605 MB / 1.269 GB, free: 3.035 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.653e-05/1.196, allocations: 10.38 kB / 1.269 GB, free: 3.035 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003524/1.199, allocations: 0.5939 MB / 1.27 GB, free: 2.938 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001419/1.201, allocations: 0.8838 MB / 1.271 GB, free: 2.52 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.154e-05/1.201, allocations: 55.7 kB / 1.271 GB, free: 2.52 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001295/1.201, allocations: 77.67 kB / 1.271 GB, free: 2.516 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002306/1.203, allocations: 1.107 MB / 1.272 GB, free: 2.227 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.17e-05/1.203, allocations: 1.641 kB / 1.272 GB, free: 2.227 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.074e-05/1.203, allocations: 33.59 kB / 1.272 GB, free: 2.227 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.905e-05/1.203, allocations: 17.59 kB / 1.272 GB, free: 2.227 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002937/1.206, allocations: 1.005 MB / 1.273 GB, free: 2.18 MB / 0.9981 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.005572/1.212, allocations: 4.954 MB / 1.278 GB, free: 15.01 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002801/1.214, allocations: 0.8727 MB / 1.279 GB, free: 14.95 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001335/1.216, allocations: 463.8 kB / 1.279 GB, free: 14.93 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001364/1.217, allocations: 1.587 MB / 1.281 GB, free: 13.14 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001586/1.219, allocations: 0.5752 MB / 1.281 GB, free: 13.08 MB / 1.014 GB Notification: Performance of pre-optimization done (n=61): time 2.916e-06/1.219, allocations: 0 / 1.281 GB, free: 13.08 MB / 1.014 GB Notification: Performance of matching and sorting (n=61): time 0.004709/1.223, allocations: 1.49 MB / 1.283 GB, free: 12.93 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.783e-05/1.224, allocations: 58.08 kB / 1.283 GB, free: 12.86 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001479/1.225, allocations: 1.116 MB / 1.284 GB, free: 12.66 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 8.675e-05/1.225, allocations: 47.67 kB / 1.284 GB, free: 12.61 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004597/1.226, allocations: 0.5501 MB / 1.284 GB, free: 12.17 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001981/1.226, allocations: 217.2 kB / 1.285 GB, free: 12.01 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002942/1.226, allocations: 165 kB / 1.285 GB, free: 11.93 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001396/1.226, allocations: 338.4 kB / 1.285 GB, free: 11.61 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001435/1.228, allocations: 448 kB / 1.285 GB, free: 11.51 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001697/1.229, allocations: 0.7161 MB / 1.286 GB, free: 11.07 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003124/1.232, allocations: 1.118 MB / 1.287 GB, free: 10.5 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.646e-06/1.232, allocations: 2.188 kB / 1.287 GB, free: 10.5 MB / 1.014 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.003973/1.236, allocations: 1.282 MB / 1.288 GB, free: 10.06 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 3.296e-05/1.236, allocations: 8.906 kB / 1.288 GB, free: 10.06 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.36e-05/1.236, allocations: 8.672 kB / 1.288 GB, free: 10.06 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.281e-05/1.237, allocations: 11.66 kB / 1.288 GB, free: 10.06 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001371/1.238, allocations: 274.3 kB / 1.289 GB, free: 10.04 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.899e-05/1.238, allocations: 20.56 kB / 1.289 GB, free: 10.03 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001519/1.239, allocations: 185 kB / 1.289 GB, free: 9.957 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001322/1.24, allocations: 47.69 kB / 1.289 GB, free: 9.949 MB / 1.014 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.0007866/1.24, allocations: 288 kB / 1.289 GB, free: 9.758 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002559/1.241, allocations: 127.5 kB / 1.289 GB, free: 9.688 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004338/1.245, allocations: 1.364 MB / 1.291 GB, free: 9.266 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.099e-05/1.245, allocations: 9 kB / 1.291 GB, free: 9.266 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.834e-06/1.245, allocations: 4.453 kB / 1.291 GB, free: 9.262 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.452e-05/1.245, allocations: 3.609 kB / 1.291 GB, free: 9.262 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00558/1.251, allocations: 2.382 MB / 1.293 GB, free: 8.242 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.747e-06/1.251, allocations: 2.219 kB / 1.293 GB, free: 8.242 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001012/1.252, allocations: 183 kB / 1.293 GB, free: 8.23 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.859e-06/1.252, allocations: 3.938 kB / 1.293 GB, free: 8.23 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.195e-05/1.252, allocations: 29.16 kB / 1.293 GB, free: 8.219 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.253e-06/1.252, allocations: 9.125 kB / 1.293 GB, free: 8.215 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.983e-06/1.252, allocations: 6.094 kB / 1.293 GB, free: 8.211 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005275/1.257, allocations: 1.978 MB / 1.295 GB, free: 7.457 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006062/1.258, allocations: 283.7 kB / 1.295 GB, free: 7.246 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000167/1.258, allocations: 20.11 kB / 1.296 GB, free: 7.234 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000966/1.259, allocations: 101.2 kB / 1.296 GB, free: 7.223 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001295/1.259, allocations: 56.97 kB / 1.296 GB, free: 7.207 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.319e-05/1.259, allocations: 34.2 kB / 1.296 GB, free: 7.203 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001139/1.26, allocations: 0.7674 MB / 1.296 GB, free: 6.914 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.01e-07/1.26, allocations: 0 / 1.296 GB, free: 6.914 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001401/1.261, allocations: 350.6 kB / 1.297 GB, free: 6.832 MB / 1.014 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.001639/1.263, allocations: 0.6652 MB / 1.297 GB, free: 6.586 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.00342/1.267, allocations: 1.079 MB / 1.298 GB, free: 6.312 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/1.267, allocations: 1.375 kB / 1.298 GB, free: 6.312 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.001649/1.268, allocations: 0.5481 MB / 1.299 GB, free: 6.16 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001971/1.27, allocations: 445.5 kB / 1.299 GB, free: 6.02 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005021/1.275, allocations: 2.371 MB / 1.302 GB, free: 4.887 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007519/1.276, allocations: 1.109 MB / 1.303 GB, free: 4.152 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001/1.277, allocations: 243.8 kB / 1.303 GB, free: 4.078 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003073/1.277, allocations: 107.7 kB / 1.303 GB, free: 4.062 MB / 1.014 GB Notification: Performance of SimCode: time 6.82e-07/1.277, allocations: 0.8438 kB / 1.303 GB, free: 4.062 MB / 1.014 GB Notification: Performance of Templates: time 0.03656/1.314, allocations: 20.11 MB / 1.323 GB, free: 13.09 MB / 1.029 GB make -j1 -f Buildings_11_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.makefile (rm -f Buildings_11_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; mkfifo Buildings_11_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe >> ../files/Buildings_11_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.sim & ./Buildings_11_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_Water.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches