Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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_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_9_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_9_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.001195/0.001195, allocations: 110.6 kB / 16.41 MB, free: 6.492 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.001138/0.001138, allocations: 189.6 kB / 17.34 MB, free: 5.766 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.346/1.346, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.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.221/2.221, allocations: 390.3 MB / 0.6655 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001434/0.001434, allocations: 63.91 kB / 0.9516 GB, free: 7.625 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9033/0.9047, allocations: 140.4 MB / 1.089 GB, free: 5.516 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly): time 0.2495/1.154, allocations: 193.8 MB / 1.278 GB, free: 11.81 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.009679/1.164, allocations: 5.16 MB / 1.283 GB, free: 6.637 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001451/1.165, allocations: 47.69 kB / 1.283 GB, free: 6.59 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.002037/1.168, allocations: 0.8236 MB / 1.284 GB, free: 5.762 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.007256/1.175, allocations: 2.692 MB / 1.286 GB, free: 3.059 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.003049/1.178, allocations: 1.111 MB / 1.288 GB, free: 1.953 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.00414/1.182, allocations: 2.617 MB / 1.29 GB, free: 15.32 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001495/1.184, allocations: 0.8863 MB / 1.291 GB, free: 14.43 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00238/1.186, allocations: 1.125 MB / 1.292 GB, free: 13.3 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001422/1.187, allocations: 0.9495 MB / 1.293 GB, free: 12.35 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0001451/1.188, allocations: 80 kB / 1.293 GB, free: 12.27 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003668/1.191, allocations: 1.796 MB / 1.295 GB, free: 10.47 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0004946/1.192, allocations: 446.6 kB / 1.295 GB, free: 10.03 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0008354/1.193, allocations: 0.6526 MB / 1.296 GB, free: 9.375 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.003917/1.197, allocations: 2.165 MB / 1.298 GB, free: 7.203 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 8.776e-06/1.197, allocations: 4 kB / 1.298 GB, free: 7.199 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.334e-06/1.197, allocations: 0 / 1.298 GB, free: 7.199 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.676e-05/1.197, allocations: 0 / 1.298 GB, free: 7.199 MB / 1.029 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.004905/1.202, allocations: 1.926 MB / 1.3 GB, free: 5.219 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.841e-05/1.202, allocations: 12.03 kB / 1.3 GB, free: 5.207 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004255/1.206, allocations: 0.7004 MB / 1.301 GB, free: 4.504 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001914/1.208, allocations: 0.9605 MB / 1.301 GB, free: 3.484 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.027e-05/1.208, allocations: 66 kB / 1.302 GB, free: 3.422 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001792/1.208, allocations: 91.98 kB / 1.302 GB, free: 3.332 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003421/1.211, allocations: 1.469 MB / 1.303 GB, free: 1.805 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.404e-05/1.212, allocations: 3.938 kB / 1.303 GB, free: 1.801 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001053/1.212, allocations: 35.98 kB / 1.303 GB, free: 1.766 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.439e-05/1.212, allocations: 49.98 kB / 1.303 GB, free: 1.719 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004241/1.216, allocations: 1.553 MB / 1.305 GB, free: 164 kB / 1.029 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.00692/1.223, allocations: 5.007 MB / 1.31 GB, free: 10.89 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003533/1.226, allocations: 1.184 MB / 1.311 GB, free: 9.695 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001893/1.228, allocations: 0.6624 MB / 1.311 GB, free: 9.031 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001753/1.23, allocations: 0.9448 MB / 1.312 GB, free: 7.902 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002036/1.232, allocations: 0.7303 MB / 1.313 GB, free: 7.156 MB / 1.045 GB Notification: Performance of pre-optimization done (n=82): time 4.489e-06/1.232, allocations: 0 / 1.313 GB, free: 7.156 MB / 1.045 GB Notification: Performance of matching and sorting (n=82): time 0.006201/1.238, allocations: 1.948 MB / 1.315 GB, free: 5.203 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.091e-05/1.239, allocations: 60.06 kB / 1.315 GB, free: 5.133 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001692/1.24, allocations: 1.272 MB / 1.316 GB, free: 3.855 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 0.0001035/1.24, allocations: 41.7 kB / 1.316 GB, free: 3.809 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005036/1.241, allocations: 0.5755 MB / 1.317 GB, free: 3.227 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002968/1.241, allocations: 276.1 kB / 1.317 GB, free: 2.953 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003223/1.241, allocations: 186.4 kB / 1.317 GB, free: 2.762 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001648/1.242, allocations: 341.9 kB / 1.318 GB, free: 2.422 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001643/1.243, allocations: 0.5523 MB / 1.318 GB, free: 1.871 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001838/1.245, allocations: 0.8247 MB / 1.319 GB, free: 0.9453 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003399/1.249, allocations: 1.336 MB / 1.32 GB, free: 15.51 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.047e-06/1.249, allocations: 4 kB / 1.32 GB, free: 15.51 MB / 1.061 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.004088/1.253, allocations: 1.511 MB / 1.322 GB, free: 13.99 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.645e-05/1.253, allocations: 8 kB / 1.322 GB, free: 13.98 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.67e-05/1.253, allocations: 16.05 kB / 1.322 GB, free: 13.97 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.512e-05/1.253, allocations: 12 kB / 1.322 GB, free: 13.96 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001402/1.254, allocations: 287.6 kB / 1.322 GB, free: 13.68 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.049e-05/1.254, allocations: 15.94 kB / 1.322 GB, free: 13.66 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001387/1.256, allocations: 198.7 kB / 1.322 GB, free: 13.46 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001015/1.256, allocations: 55.91 kB / 1.322 GB, free: 13.41 MB / 1.061 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.0005961/1.256, allocations: 347.6 kB / 1.323 GB, free: 13.06 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002167/1.257, allocations: 134.3 kB / 1.323 GB, free: 12.93 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004016/1.261, allocations: 1.444 MB / 1.324 GB, free: 11.47 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.138e-05/1.261, allocations: 8 kB / 1.324 GB, free: 11.46 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.979e-06/1.261, allocations: 3.984 kB / 1.324 GB, free: 11.46 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.698e-06/1.261, allocations: 3.984 kB / 1.324 GB, free: 11.45 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005992/1.267, allocations: 2.862 MB / 1.327 GB, free: 8.484 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.041e-05/1.267, allocations: 7.938 kB / 1.327 GB, free: 8.477 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001237/1.268, allocations: 228 kB / 1.327 GB, free: 8.254 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.066e-05/1.268, allocations: 8 kB / 1.327 GB, free: 8.246 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.622e-05/1.268, allocations: 35.97 kB / 1.327 GB, free: 8.211 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.154e-05/1.268, allocations: 11.98 kB / 1.327 GB, free: 8.199 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.29e-06/1.268, allocations: 4 kB / 1.327 GB, free: 8.195 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00559/1.274, allocations: 2.307 MB / 1.329 GB, free: 5.82 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006317/1.274, allocations: 307.2 kB / 1.33 GB, free: 5.5 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001811/1.275, allocations: 23.98 kB / 1.33 GB, free: 5.477 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001062/1.276, allocations: 103.9 kB / 1.33 GB, free: 5.375 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001545/1.276, allocations: 72.36 kB / 1.33 GB, free: 5.301 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.041e-05/1.276, allocations: 35.97 kB / 1.33 GB, free: 5.266 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.001114/1.277, allocations: 0.8723 MB / 1.331 GB, free: 4.391 MB / 1.061 GB Notification: Performance of sort global known variables: time 2.6e-07/1.277, allocations: 4 kB / 1.331 GB, free: 4.387 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0009932/1.278, allocations: 307.7 kB / 1.331 GB, free: 4.086 MB / 1.061 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.001317/1.279, allocations: 0.5272 MB / 1.332 GB, free: 3.723 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.003746/1.283, allocations: 1.32 MB / 1.333 GB, free: 2.41 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/1.283, allocations: 0 / 1.333 GB, free: 2.41 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.001819/1.285, allocations: 0.6599 MB / 1.334 GB, free: 1.75 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002814/1.288, allocations: 0.627 MB / 1.334 GB, free: 1.133 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005007/1.293, allocations: 2.632 MB / 1.337 GB, free: 14.42 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007932/1.294, allocations: 1.167 MB / 1.338 GB, free: 13.22 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005663/1.294, allocations: 131.4 kB / 1.338 GB, free: 13.09 MB / 1.076 GB Notification: Performance of SimCode: time 9.02e-07/1.294, allocations: 0 / 1.338 GB, free: 13.09 MB / 1.076 GB Notification: Performance of Templates: time 0.03149/1.326, allocations: 21.03 MB / 1.359 GB, free: 8.234 MB / 1.092 GB make -j1 -f Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.makefile (rm -f Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe ; mkfifo Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe >> ../files/Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.sim & ./Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches