Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.001514/0.001514, allocations: 103.7 kB / 15.98 MB, free: 6.348 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.001674/0.001674, allocations: 194.7 kB / 16.91 MB, free: 6.188 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.365/1.365, allocations: 222.9 MB / 240.6 MB, free: 15.39 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.629/2.629, allocations: 469.4 MB / 0.7423 GB, free: 3.84 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001544/0.001544, allocations: 69.44 kB / 0.9083 GB, free: 14.54 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3749/0.3765, allocations: 159.1 MB / 1.064 GB, free: 15.43 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly): time 1.009/1.386, allocations: 191.3 MB / 1.251 GB, free: 10.51 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.01035/1.396, allocations: 5.122 MB / 1.256 GB, free: 5.375 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002142/1.398, allocations: 43.69 kB / 1.256 GB, free: 5.332 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.002626/1.401, allocations: 0.7233 MB / 1.256 GB, free: 4.605 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.008362/1.409, allocations: 2.455 MB / 1.259 GB, free: 2.141 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.003584/1.413, allocations: 1.012 MB / 1.26 GB, free: 1.137 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.004768/1.418, allocations: 2.621 MB / 1.262 GB, free: 14.51 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001771/1.419, allocations: 0.8921 MB / 1.263 GB, free: 13.61 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002693/1.422, allocations: 1.101 MB / 1.264 GB, free: 12.5 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001657/1.424, allocations: 1.016 MB / 1.265 GB, free: 11.48 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001873/1.424, allocations: 80 kB / 1.265 GB, free: 11.4 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004205/1.428, allocations: 1.851 MB / 1.267 GB, free: 9.547 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0005886/1.429, allocations: 446.6 kB / 1.267 GB, free: 9.109 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0009025/1.43, allocations: 0.6583 MB / 1.268 GB, free: 8.449 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.003288/1.433, allocations: 1.528 MB / 1.27 GB, free: 6.918 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 7.855e-06/1.433, allocations: 8 kB / 1.27 GB, free: 6.91 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.855e-06/1.433, allocations: 0 / 1.27 GB, free: 6.91 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 2.069e-05/1.433, allocations: 0 / 1.27 GB, free: 6.91 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.0054/1.438, allocations: 1.93 MB / 1.272 GB, free: 4.926 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.232e-05/1.439, allocations: 12.62 kB / 1.272 GB, free: 4.914 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004548/1.443, allocations: 0.7044 MB / 1.272 GB, free: 4.207 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001912/1.445, allocations: 0.8864 MB / 1.273 GB, free: 3.262 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.132e-05/1.445, allocations: 69.98 kB / 1.273 GB, free: 3.195 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002356/1.445, allocations: 92 kB / 1.273 GB, free: 3.105 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003825/1.449, allocations: 1.465 MB / 1.275 GB, free: 1.582 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.786e-05/1.449, allocations: 0 / 1.275 GB, free: 1.582 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001246/1.449, allocations: 35.98 kB / 1.275 GB, free: 1.547 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.811e-05/1.449, allocations: 53.92 kB / 1.275 GB, free: 1.496 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004665/1.454, allocations: 1.557 MB / 1.276 GB, free: 15.94 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.008631/1.463, allocations: 5.014 MB / 1.281 GB, free: 10.66 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00369/1.467, allocations: 1.194 MB / 1.282 GB, free: 9.461 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001814/1.468, allocations: 0.6662 MB / 1.283 GB, free: 8.789 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001512/1.47, allocations: 0.941 MB / 1.284 GB, free: 7.664 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002073/1.472, allocations: 0.7263 MB / 1.285 GB, free: 6.926 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=82): time 4.198e-06/1.472, allocations: 0 / 1.285 GB, free: 6.926 MB / 0.9981 GB Notification: Performance of matching and sorting (n=82): time 0.006455/1.478, allocations: 1.952 MB / 1.287 GB, free: 4.969 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.273e-05/1.479, allocations: 64.05 kB / 1.287 GB, free: 4.895 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002332/1.481, allocations: 1.271 MB / 1.288 GB, free: 3.617 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001584/1.481, allocations: 41.7 kB / 1.288 GB, free: 3.57 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006335/1.482, allocations: 0.5755 MB / 1.288 GB, free: 2.988 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003824/1.482, allocations: 288 kB / 1.289 GB, free: 2.703 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003757/1.483, allocations: 178.5 kB / 1.289 GB, free: 2.52 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0002066/1.483, allocations: 345.9 kB / 1.289 GB, free: 2.176 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001687/1.484, allocations: 0.5484 MB / 1.29 GB, free: 1.629 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001943/1.486, allocations: 0.8214 MB / 1.291 GB, free: 0.7031 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003591/1.49, allocations: 1.34 MB / 1.292 GB, free: 15.27 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.298e-06/1.49, allocations: 0 / 1.292 GB, free: 15.27 MB / 1.014 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.00457/1.495, allocations: 1.522 MB / 1.293 GB, free: 13.73 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 4.631e-05/1.495, allocations: 8.812 kB / 1.293 GB, free: 13.73 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.783e-05/1.495, allocations: 8 kB / 1.293 GB, free: 13.72 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.504e-05/1.495, allocations: 16 kB / 1.293 GB, free: 13.7 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001523/1.496, allocations: 295.2 kB / 1.294 GB, free: 13.42 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.302e-05/1.496, allocations: 15.94 kB / 1.294 GB, free: 13.4 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00177/1.498, allocations: 210.8 kB / 1.294 GB, free: 13.2 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001296/1.498, allocations: 47.97 kB / 1.294 GB, free: 13.15 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.0007656/1.499, allocations: 348.1 kB / 1.294 GB, free: 12.8 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00046/1.499, allocations: 134.3 kB / 1.294 GB, free: 12.67 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004424/1.504, allocations: 1.44 MB / 1.296 GB, free: 11.21 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.588e-06/1.504, allocations: 8 kB / 1.296 GB, free: 11.21 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.261e-05/1.504, allocations: 4 kB / 1.296 GB, free: 11.2 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.211e-05/1.504, allocations: 7.984 kB / 1.296 GB, free: 11.2 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007261/1.511, allocations: 2.857 MB / 1.299 GB, free: 8.227 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.712e-05/1.511, allocations: 4 kB / 1.299 GB, free: 8.223 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001385/1.513, allocations: 224.2 kB / 1.299 GB, free: 8.004 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.117e-05/1.513, allocations: 11.98 kB / 1.299 GB, free: 7.992 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001203/1.513, allocations: 31.91 kB / 1.299 GB, free: 7.961 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.188e-05/1.513, allocations: 11.94 kB / 1.299 GB, free: 7.949 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.979e-06/1.513, allocations: 4 kB / 1.299 GB, free: 7.945 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006231/1.519, allocations: 2.318 MB / 1.301 GB, free: 5.562 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000815/1.52, allocations: 303.2 kB / 1.301 GB, free: 5.246 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000406/1.52, allocations: 24 kB / 1.301 GB, free: 5.223 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001435/1.522, allocations: 127.8 kB / 1.302 GB, free: 5.098 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000186/1.522, allocations: 60.42 kB / 1.302 GB, free: 5.039 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001256/1.522, allocations: 40.86 kB / 1.302 GB, free: 5 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001624/1.524, allocations: 0.8801 MB / 1.303 GB, free: 4.117 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.5e-07/1.524, allocations: 0 / 1.303 GB, free: 4.117 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001454/1.525, allocations: 315.7 kB / 1.303 GB, free: 3.809 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.001608/1.527, allocations: 0.5271 MB / 1.303 GB, free: 3.449 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.004546/1.531, allocations: 1.429 MB / 1.305 GB, free: 2.023 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.041e-05/1.531, allocations: 256 / 1.305 GB, free: 2.023 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.001918/1.533, allocations: 0.6712 MB / 1.305 GB, free: 1.355 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003532/1.537, allocations: 0.6212 MB / 1.306 GB, free: 0.7461 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006507/1.543, allocations: 3.044 MB / 1.309 GB, free: 13.61 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000975/1.544, allocations: 1.167 MB / 1.31 GB, free: 12.41 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007226/1.545, allocations: 127.4 kB / 1.31 GB, free: 12.29 MB / 1.029 GB Notification: Performance of SimCode: time 1.282e-06/1.545, allocations: 0 / 1.31 GB, free: 12.29 MB / 1.029 GB Notification: Performance of Templates: time 0.04005/1.585, allocations: 20.89 MB / 1.331 GB, free: 7.559 MB / 1.045 GB make -j1 -f Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.makefile (rm -f Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe >> ../files/Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.sim & ./Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches