Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.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_TSetOnly,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|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.|heaHigPow.mWat_flow|cooLimPow.mWat_flow|heaCooUnl.mWat_flow|steSta.mWat_flow",fileNamePrefix="Buildings_11_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly") translateModel(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly,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|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.|heaHigPow.mWat_flow|cooLimPow.mWat_flow|heaCooUnl.mWat_flow|steSta.mWat_flow",fileNamePrefix="Buildings_11_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001676/0.001676, allocations: 111 kB / 15.99 MB, free: 6.344 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.001693/0.001693, allocations: 199.5 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.416/1.416, allocations: 222.9 MB / 240.6 MB, free: 13.7 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.692/2.692, allocations: 469.8 MB / 0.7427 GB, free: 3.68 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001917/0.001917, allocations: 73.72 kB / 0.9087 GB, free: 14.23 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.343/0.345, allocations: 159.1 MB / 1.064 GB, free: 15.12 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly): time 0.7838/1.129, allocations: 191.3 MB / 1.251 GB, free: 9.938 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.009499/1.138, allocations: 5.12 MB / 1.256 GB, free: 4.809 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001844/1.14, allocations: 43.69 kB / 1.256 GB, free: 4.766 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.002407/1.143, allocations: 0.7311 MB / 1.257 GB, free: 4.031 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.007301/1.15, allocations: 2.448 MB / 1.259 GB, free: 1.574 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.003149/1.153, allocations: 1.007 MB / 1.26 GB, free: 0.5742 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.004102/1.157, allocations: 2.625 MB / 1.263 GB, free: 13.94 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001611/1.159, allocations: 0.8891 MB / 1.264 GB, free: 13.04 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002766/1.162, allocations: 1.113 MB / 1.265 GB, free: 11.93 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001784/1.164, allocations: 1.008 MB / 1.266 GB, free: 10.91 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001897/1.164, allocations: 80 kB / 1.266 GB, free: 10.84 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003744/1.168, allocations: 1.858 MB / 1.267 GB, free: 8.973 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0005958/1.168, allocations: 442.7 kB / 1.268 GB, free: 8.539 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0008939/1.169, allocations: 0.6526 MB / 1.269 GB, free: 7.883 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.002823/1.172, allocations: 1.536 MB / 1.27 GB, free: 6.344 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/1.172, allocations: 0 / 1.27 GB, free: 6.344 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.793e-06/1.172, allocations: 0 / 1.27 GB, free: 6.344 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 2.047e-05/1.172, allocations: 0 / 1.27 GB, free: 6.344 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: 222 * Number of variables: 222 Notification: Performance of Generate backend data structure: time 0.005285/1.177, allocations: 1.934 MB / 1.272 GB, free: 4.355 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.758e-05/1.177, allocations: 8.031 kB / 1.272 GB, free: 4.348 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004501/1.182, allocations: 0.7052 MB / 1.273 GB, free: 3.641 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001675/1.184, allocations: 0.8941 MB / 1.274 GB, free: 2.688 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001271/1.184, allocations: 65.98 kB / 1.274 GB, free: 2.625 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001804/1.184, allocations: 91.98 kB / 1.274 GB, free: 2.535 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003372/1.187, allocations: 1.461 MB / 1.275 GB, free: 1.016 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.713e-05/1.187, allocations: 3.938 kB / 1.275 GB, free: 1.012 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001039/1.187, allocations: 32 kB / 1.275 GB, free: 0.9805 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.357e-05/1.187, allocations: 53.97 kB / 1.275 GB, free: 0.9297 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00441/1.192, allocations: 1.561 MB / 1.277 GB, free: 15.36 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.007778/1.2, allocations: 5.019 MB / 1.282 GB, free: 10.09 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003507/1.203, allocations: 1.187 MB / 1.283 GB, free: 8.891 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001775/1.205, allocations: 0.6735 MB / 1.283 GB, free: 8.219 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001484/1.207, allocations: 0.941 MB / 1.284 GB, free: 7.094 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001992/1.209, allocations: 0.7225 MB / 1.285 GB, free: 6.355 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=82): time 3.636e-06/1.209, allocations: 0 / 1.285 GB, free: 6.355 MB / 0.9981 GB Notification: Performance of matching and sorting (n=82): time 0.006211/1.215, allocations: 1.956 MB / 1.287 GB, free: 4.395 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.564e-05/1.215, allocations: 60.06 kB / 1.287 GB, free: 4.324 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001894/1.217, allocations: 1.275 MB / 1.288 GB, free: 3.043 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001759/1.217, allocations: 49.64 kB / 1.288 GB, free: 2.988 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005895/1.218, allocations: 0.5716 MB / 1.289 GB, free: 2.41 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003624/1.218, allocations: 284 kB / 1.289 GB, free: 2.129 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003427/1.218, allocations: 178.5 kB / 1.289 GB, free: 1.945 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001701/1.218, allocations: 345.9 kB / 1.29 GB, free: 1.602 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001642/1.22, allocations: 0.5445 MB / 1.29 GB, free: 1.059 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00189/1.222, allocations: 0.8208 MB / 1.291 GB, free: 136 kB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003427/1.225, allocations: 1.344 MB / 1.292 GB, free: 14.69 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.137e-06/1.225, allocations: 4 kB / 1.292 GB, free: 14.69 MB / 1.014 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.004146/1.23, allocations: 1.507 MB / 1.294 GB, free: 13.17 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.627e-05/1.23, allocations: 16.14 kB / 1.294 GB, free: 13.16 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.297e-05/1.23, allocations: 8 kB / 1.294 GB, free: 13.15 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.834e-05/1.23, allocations: 12 kB / 1.294 GB, free: 13.14 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001467/1.231, allocations: 295.5 kB / 1.294 GB, free: 12.85 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.07e-05/1.231, allocations: 12 kB / 1.294 GB, free: 12.84 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001545/1.233, allocations: 214.8 kB / 1.294 GB, free: 12.62 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001112/1.233, allocations: 55.97 kB / 1.294 GB, free: 12.57 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (117): * Single equations (assignments): 117 * 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.0006091/1.234, allocations: 339.6 kB / 1.295 GB, free: 12.23 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002416/1.234, allocations: 134.3 kB / 1.295 GB, free: 12.1 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003986/1.238, allocations: 1.448 MB / 1.296 GB, free: 10.64 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.026e-05/1.238, allocations: 12 kB / 1.296 GB, free: 10.62 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.705e-06/1.238, allocations: 0 / 1.296 GB, free: 10.62 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.435e-05/1.238, allocations: 3.984 kB / 1.296 GB, free: 10.62 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006176/1.244, allocations: 2.861 MB / 1.299 GB, free: 7.648 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.726e-06/1.244, allocations: 4.5 kB / 1.299 GB, free: 7.645 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001299/1.245, allocations: 227.6 kB / 1.299 GB, free: 7.422 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.193e-05/1.245, allocations: 8 kB / 1.299 GB, free: 7.414 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.761e-05/1.245, allocations: 27.98 kB / 1.299 GB, free: 7.387 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.636e-05/1.246, allocations: 11.98 kB / 1.299 GB, free: 7.375 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.512e-06/1.246, allocations: 7.938 kB / 1.299 GB, free: 7.367 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00575/1.251, allocations: 2.31 MB / 1.302 GB, free: 4.992 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006706/1.252, allocations: 303.2 kB / 1.302 GB, free: 4.676 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002097/1.252, allocations: 23.98 kB / 1.302 GB, free: 4.652 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001186/1.253, allocations: 127.8 kB / 1.302 GB, free: 4.527 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001625/1.254, allocations: 68.36 kB / 1.302 GB, free: 4.461 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.132e-05/1.254, allocations: 35.97 kB / 1.302 GB, free: 4.426 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001185/1.255, allocations: 0.8723 MB / 1.303 GB, free: 3.551 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.61e-07/1.255, allocations: 0 / 1.303 GB, free: 3.551 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001108/1.256, allocations: 315.7 kB / 1.303 GB, free: 3.242 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * 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 (82): * Single equations (assignments): 76 * 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.001905/1.258, allocations: 0.5321 MB / 1.304 GB, free: 2.875 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.004322/1.262, allocations: 1.433 MB / 1.305 GB, free: 1.441 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 8.005e-06/1.262, allocations: 0 / 1.305 GB, free: 1.441 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.001867/1.264, allocations: 0.6676 MB / 1.306 GB, free: 0.7773 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003035/1.267, allocations: 0.6307 MB / 1.306 GB, free: 168 kB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005716/1.273, allocations: 3.04 MB / 1.309 GB, free: 13.04 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008489/1.274, allocations: 1.171 MB / 1.311 GB, free: 11.83 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006332/1.274, allocations: 127.4 kB / 1.311 GB, free: 11.71 MB / 1.029 GB Notification: Performance of SimCode: time 1.392e-06/1.274, allocations: 0 / 1.311 GB, free: 11.71 MB / 1.029 GB Notification: Performance of Templates: time 0.0385/1.313, allocations: 20.88 MB / 1.331 GB, free: 6.992 MB / 1.045 GB make -j1 -f Buildings_11_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.makefile (rm -f Buildings_11_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe ; mkfifo Buildings_11_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe >> ../files/Buildings_11_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.sim & ./Buildings_11_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches