Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.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,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|heaCooUnl.TSet|steSta.sta_b.T|heaHigPow.Q_flow|cooLimPow.Q_flow|heaCooUnl.Q_flow|steSta.Q_flow|setHeaHigPow.y.2.|heaHigPow.port_b.Xi_outflow.1.|setCooLimPow.y.2.|cooLimPow.port_b.Xi_outflow.1.|setHeaCooUnl.y.2.|heaCooUnl.port_b.Xi_outflow.1.|steSta.port_b.Xi_outflow.1.|heaCooUnl.X_wSet|heaCooUnl.sta_b.X.1.|heaHigPow.mWat_flow|cooLimPow.mWat_flow|heaCooUnl.mWat_flow|steSta.mWat_flow",fileNamePrefix="Buildings_11_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet") translateModel(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet,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|heaCooUnl.TSet|steSta.sta_b.T|heaHigPow.Q_flow|cooLimPow.Q_flow|heaCooUnl.Q_flow|steSta.Q_flow|setHeaHigPow.y.2.|heaHigPow.port_b.Xi_outflow.1.|setCooLimPow.y.2.|cooLimPow.port_b.Xi_outflow.1.|setHeaCooUnl.y.2.|heaCooUnl.port_b.Xi_outflow.1.|steSta.port_b.Xi_outflow.1.|heaCooUnl.X_wSet|heaCooUnl.sta_b.X.1.|heaHigPow.mWat_flow|cooLimPow.mWat_flow|heaCooUnl.mWat_flow|steSta.mWat_flow",fileNamePrefix="Buildings_11_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001282/0.001282, allocations: 105.5 kB / 15.98 MB, free: 6.352 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.001304/0.001305, allocations: 195.6 kB / 16.91 MB, free: 6.184 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.372/1.372, allocations: 222.9 MB / 240.6 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.653/2.653, allocations: 469.8 MB / 0.7427 GB, free: 3.617 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002507/0.002507, allocations: 58.66 kB / 0.9087 GB, free: 14.25 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3378/0.3404, allocations: 159.1 MB / 1.064 GB, free: 15.13 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet): time 0.8398/1.18, allocations: 191.3 MB / 1.251 GB, free: 9.84 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.009755/1.19, allocations: 5.135 MB / 1.256 GB, free: 4.695 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001747/1.192, allocations: 43.69 kB / 1.256 GB, free: 4.652 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.002116/1.194, allocations: 0.7273 MB / 1.257 GB, free: 3.922 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.006671/1.201, allocations: 2.452 MB / 1.259 GB, free: 1.461 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.003016/1.204, allocations: 1.006 MB / 1.26 GB, free: 476 kB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.004081/1.208, allocations: 2.699 MB / 1.263 GB, free: 13.76 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001584/1.209, allocations: 0.9444 MB / 1.264 GB, free: 12.8 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002382/1.212, allocations: 1.136 MB / 1.265 GB, free: 11.66 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001613/1.213, allocations: 1.047 MB / 1.266 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001641/1.214, allocations: 84 kB / 1.266 GB, free: 10.53 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00377/1.217, allocations: 1.862 MB / 1.268 GB, free: 8.664 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0005825/1.218, allocations: 454.6 kB / 1.268 GB, free: 8.219 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.000916/1.219, allocations: 0.6682 MB / 1.269 GB, free: 7.551 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.002646/1.222, allocations: 1.559 MB / 1.27 GB, free: 5.988 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 8.235e-06/1.222, allocations: 3.984 kB / 1.27 GB, free: 5.984 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.402e-06/1.222, allocations: 4 kB / 1.27 GB, free: 5.98 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 2.846e-05/1.222, allocations: 0 / 1.27 GB, free: 5.98 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 226 * Number of variables: 226 Notification: Performance of Generate backend data structure: time 0.005179/1.227, allocations: 1.962 MB / 1.272 GB, free: 3.961 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.324e-05/1.227, allocations: 8.031 kB / 1.272 GB, free: 3.953 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005657/1.233, allocations: 0.8916 MB / 1.273 GB, free: 3.059 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001685/1.234, allocations: 0.9097 MB / 1.274 GB, free: 2.094 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.179e-05/1.234, allocations: 62 kB / 1.274 GB, free: 2.031 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002006/1.235, allocations: 104 kB / 1.274 GB, free: 1.93 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003939/1.238, allocations: 1.583 MB / 1.276 GB, free: 324 kB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.511e-05/1.239, allocations: 3.984 kB / 1.276 GB, free: 320 kB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000122/1.239, allocations: 39.98 kB / 1.276 GB, free: 280 kB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.692e-05/1.239, allocations: 45.98 kB / 1.276 GB, free: 232 kB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005398/1.244, allocations: 1.842 MB / 1.278 GB, free: 14.38 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.008236/1.252, allocations: 4.742 MB / 1.282 GB, free: 9.402 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004587/1.257, allocations: 1.565 MB / 1.284 GB, free: 7.832 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0024/1.259, allocations: 0.8507 MB / 1.285 GB, free: 6.977 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001422/1.261, allocations: 0.9451 MB / 1.285 GB, free: 5.848 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002627/1.264, allocations: 0.9105 MB / 1.286 GB, free: 4.922 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=95): time 4.178e-06/1.264, allocations: 0 / 1.286 GB, free: 4.922 MB / 0.9981 GB Notification: Performance of matching and sorting (n=95): time 0.007942/1.271, allocations: 2.454 MB / 1.289 GB, free: 2.461 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.69e-05/1.272, allocations: 64.34 kB / 1.289 GB, free: 2.387 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001637/1.273, allocations: 1.201 MB / 1.29 GB, free: 1.176 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.000139/1.273, allocations: 45.7 kB / 1.29 GB, free: 1.125 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005063/1.274, allocations: 0.5409 MB / 1.291 GB, free: 0.5781 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003734/1.274, allocations: 327.3 kB / 1.291 GB, free: 260 kB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003705/1.275, allocations: 186.5 kB / 1.291 GB, free: 68 kB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.00018/1.275, allocations: 345.9 kB / 1.291 GB, free: 15.72 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002183/1.277, allocations: 0.6967 MB / 1.292 GB, free: 15.02 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002397/1.279, allocations: 0.9074 MB / 1.293 GB, free: 14.05 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004433/1.284, allocations: 1.558 MB / 1.294 GB, free: 12.44 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.352e-06/1.284, allocations: 0 / 1.294 GB, free: 12.44 MB / 1.014 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.005118/1.289, allocations: 1.776 MB / 1.296 GB, free: 10.65 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 3.093e-05/1.289, allocations: 10.5 kB / 1.296 GB, free: 10.64 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.151e-05/1.289, allocations: 4 kB / 1.296 GB, free: 10.64 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.872e-05/1.289, allocations: 11.98 kB / 1.296 GB, free: 10.62 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001843/1.291, allocations: 343.8 kB / 1.297 GB, free: 10.29 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.915e-05/1.291, allocations: 11.94 kB / 1.297 GB, free: 10.28 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001722/1.293, allocations: 254.7 kB / 1.297 GB, free: 10.03 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001266/1.293, allocations: 51.97 kB / 1.297 GB, free: 9.977 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (121): * Single equations (assignments): 121 * 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.0006009/1.293, allocations: 339.7 kB / 1.297 GB, free: 9.637 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002422/1.294, allocations: 134.3 kB / 1.297 GB, free: 9.504 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005298/1.299, allocations: 1.805 MB / 1.299 GB, free: 7.691 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.385e-05/1.299, allocations: 12 kB / 1.299 GB, free: 7.68 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.296e-06/1.299, allocations: 0 / 1.299 GB, free: 7.68 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.219e-05/1.299, allocations: 3.984 kB / 1.299 GB, free: 7.676 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00765/1.307, allocations: 3.328 MB / 1.302 GB, free: 4.246 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.255e-06/1.307, allocations: 4.5 kB / 1.302 GB, free: 4.242 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001711/1.309, allocations: 299.6 kB / 1.303 GB, free: 3.949 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.43e-05/1.309, allocations: 8 kB / 1.303 GB, free: 3.941 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001137/1.309, allocations: 31.97 kB / 1.303 GB, free: 3.91 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.365e-05/1.309, allocations: 11.94 kB / 1.303 GB, free: 3.898 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.212e-06/1.309, allocations: 4 kB / 1.303 GB, free: 3.895 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007436/1.316, allocations: 2.843 MB / 1.305 GB, free: 0.9844 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007237/1.317, allocations: 319.9 kB / 1.306 GB, free: 0.6523 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002026/1.317, allocations: 28.08 kB / 1.306 GB, free: 0.625 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001482/1.319, allocations: 183.7 kB / 1.306 GB, free: 456 kB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001692/1.319, allocations: 68.45 kB / 1.306 GB, free: 388 kB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001007/1.319, allocations: 43.97 kB / 1.306 GB, free: 344 kB / 1.014 GB Notification: Performance of sorting global known variables: time 0.00118/1.32, allocations: 0.8275 MB / 1.307 GB, free: 15.5 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.81e-07/1.32, allocations: 8 kB / 1.307 GB, free: 15.5 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.001159/1.321, allocations: 343.6 kB / 1.307 GB, free: 15.16 MB / 1.029 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 6 (heaHigPow.T,heaHigPow.Xi,cooLimPow.T,cooLimPow.Xi,heaCooUnl.T,heaCooUnl.Xi) * 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 (95): * Single equations (assignments): 89 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.001862/1.323, allocations: 0.53 MB / 1.308 GB, free: 14.8 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.00537/1.328, allocations: 1.775 MB / 1.309 GB, free: 13.03 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 5.911e-06/1.329, allocations: 0 / 1.309 GB, free: 13.03 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.00241/1.331, allocations: 0.8399 MB / 1.31 GB, free: 12.18 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002923/1.334, allocations: 0.6146 MB / 1.311 GB, free: 11.58 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006842/1.341, allocations: 3.472 MB / 1.314 GB, free: 8.023 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009157/1.342, allocations: 1.185 MB / 1.315 GB, free: 6.809 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009139/1.343, allocations: 135.3 kB / 1.316 GB, free: 6.676 MB / 1.029 GB Notification: Performance of SimCode: time 1.393e-06/1.343, allocations: 0 / 1.316 GB, free: 6.676 MB / 1.029 GB Notification: Performance of Templates: time 0.03882/1.381, allocations: 21.58 MB / 1.337 GB, free: 1.238 MB / 1.045 GB make -j1 -f Buildings_11_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.makefile (rm -f Buildings_11_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; mkfifo Buildings_11_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe >> ../files/Buildings_11_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.sim & ./Buildings_11_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Interfaces_Examples_PrescribedOutlet.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches