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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.001442/0.001442, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001736/0.001736, allocations: 198.9 kB / 16.79 MB, free: 6.809 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.358/1.358, allocations: 222.9 MB / 240.5 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.656/2.656, allocations: 461.8 MB / 0.7348 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00132/0.00132, allocations: 61.2 kB / 0.899 GB, free: 36.98 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3221/0.3235, allocations: 157.4 MB / 1.053 GB, free: 8.332 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly): time 0.1974/0.5209, allocations: 191.6 MB / 1.24 GB, free: 8.055 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.008852/0.5298, allocations: 5.191 MB / 1.245 GB, free: 2.855 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001323/0.5312, allocations: 43.69 kB / 1.245 GB, free: 2.812 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001807/0.5331, allocations: 0.7155 MB / 1.246 GB, free: 2.094 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.7198/1.253, allocations: 2.448 MB / 1.248 GB, free: 3.922 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003029/1.256, allocations: 0.9931 MB / 1.249 GB, free: 3.922 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.004789/1.261, allocations: 3.535 MB / 1.252 GB, free: 3.918 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001519/1.262, allocations: 0.81 MB / 1.253 GB, free: 3.855 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00241/1.265, allocations: 1.001 MB / 1.254 GB, free: 3.852 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001703/1.266, allocations: 0.9945 MB / 1.255 GB, free: 3.848 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001731/1.267, allocations: 53.75 kB / 1.255 GB, free: 3.848 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004151/1.271, allocations: 2.072 MB / 1.257 GB, free: 3.848 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.000671/1.271, allocations: 417.2 kB / 1.258 GB, free: 3.848 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.00114/1.273, allocations: 0.6229 MB / 1.258 GB, free: 3.848 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.002811/1.275, allocations: 1.513 MB / 1.26 GB, free: 3.793 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.151e-06/1.275, allocations: 0 / 1.26 GB, free: 3.793 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.303e-06/1.275, allocations: 4 kB / 1.26 GB, free: 3.789 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 3.474e-05/1.276, allocations: 0 / 1.26 GB, free: 3.789 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: 222 * Number of variables: 222 Notification: Performance of Generate backend data structure: time 0.005906/1.281, allocations: 1.928 MB / 1.262 GB, free: 18.85 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.286e-05/1.281, allocations: 14.36 kB / 1.262 GB, free: 18.85 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004871/1.286, allocations: 0.7039 MB / 1.262 GB, free: 18.75 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00193/1.288, allocations: 0.8901 MB / 1.263 GB, free: 18.36 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.8e-05/1.288, allocations: 63.77 kB / 1.263 GB, free: 18.36 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002266/1.289, allocations: 97.3 kB / 1.263 GB, free: 18.36 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003981/1.293, allocations: 1.466 MB / 1.265 GB, free: 18.15 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.087e-05/1.293, allocations: 5.906 kB / 1.265 GB, free: 18.15 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001068/1.293, allocations: 40.14 kB / 1.265 GB, free: 18.15 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.2e-05/1.293, allocations: 47.97 kB / 1.265 GB, free: 18.15 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004559/1.297, allocations: 1.555 MB / 1.266 GB, free: 18.12 MB / 1.014 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.009154/1.307, allocations: 5.019 MB / 1.271 GB, free: 15.6 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003714/1.31, allocations: 1.185 MB / 1.272 GB, free: 15.55 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001749/1.312, allocations: 0.6632 MB / 1.273 GB, free: 15.53 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001442/1.314, allocations: 0.939 MB / 1.274 GB, free: 14.59 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002293/1.316, allocations: 0.7298 MB / 1.275 GB, free: 14.52 MB / 1.014 GB Notification: Performance of pre-optimization done (n=82): time 5.46e-06/1.316, allocations: 1.203 kB / 1.275 GB, free: 14.52 MB / 1.014 GB Notification: Performance of matching and sorting (n=82): time 0.006463/1.322, allocations: 1.955 MB / 1.277 GB, free: 14.36 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.218e-05/1.322, allocations: 61.09 kB / 1.277 GB, free: 14.3 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001795/1.324, allocations: 1.264 MB / 1.278 GB, free: 14.14 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001396/1.324, allocations: 44.58 kB / 1.278 GB, free: 14.11 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004199/1.325, allocations: 0.5718 MB / 1.279 GB, free: 13.93 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002631/1.325, allocations: 287.9 kB / 1.279 GB, free: 13.75 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003329/1.325, allocations: 181.6 kB / 1.279 GB, free: 13.73 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001565/1.326, allocations: 348.3 kB / 1.279 GB, free: 13.42 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001566/1.327, allocations: 0.5423 MB / 1.28 GB, free: 13.41 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001719/1.329, allocations: 0.8248 MB / 1.281 GB, free: 13.12 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003207/1.332, allocations: 1.341 MB / 1.282 GB, free: 12.83 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.769e-06/1.332, allocations: 2.094 kB / 1.282 GB, free: 12.83 MB / 1.014 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.004168/1.336, allocations: 1.513 MB / 1.283 GB, free: 12.69 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.995e-05/1.336, allocations: 7.875 kB / 1.283 GB, free: 12.69 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.7e-05/1.336, allocations: 7.188 kB / 1.283 GB, free: 12.69 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.373e-05/1.336, allocations: 18.55 kB / 1.283 GB, free: 12.69 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001535/1.338, allocations: 294.9 kB / 1.284 GB, free: 12.68 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.942e-05/1.338, allocations: 17.62 kB / 1.284 GB, free: 12.68 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001713/1.34, allocations: 216.6 kB / 1.284 GB, free: 12.62 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001156/1.34, allocations: 47.84 kB / 1.284 GB, free: 12.62 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.0007026/1.341, allocations: 348.6 kB / 1.284 GB, free: 12.49 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002316/1.341, allocations: 134.7 kB / 1.284 GB, free: 12.42 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003836/1.345, allocations: 1.442 MB / 1.286 GB, free: 12.33 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.229e-05/1.345, allocations: 7.969 kB / 1.286 GB, free: 12.33 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.454e-06/1.345, allocations: 0 / 1.286 GB, free: 12.33 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.067e-05/1.345, allocations: 7.734 kB / 1.286 GB, free: 12.33 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006044/1.351, allocations: 2.862 MB / 1.289 GB, free: 11.81 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-05/1.351, allocations: 3.656 kB / 1.289 GB, free: 11.81 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001284/1.352, allocations: 223.5 kB / 1.289 GB, free: 11.8 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-05/1.352, allocations: 8.594 kB / 1.289 GB, free: 11.8 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.49e-05/1.352, allocations: 31.86 kB / 1.289 GB, free: 11.8 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.243e-05/1.352, allocations: 9.875 kB / 1.289 GB, free: 11.8 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.612e-06/1.352, allocations: 4.5 kB / 1.289 GB, free: 11.8 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005286/1.358, allocations: 2.315 MB / 1.291 GB, free: 11.41 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007383/1.358, allocations: 302.9 kB / 1.292 GB, free: 11.23 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001957/1.359, allocations: 23.28 kB / 1.292 GB, free: 11.23 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001161/1.36, allocations: 124.2 kB / 1.292 GB, free: 11.22 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001709/1.36, allocations: 64.19 kB / 1.292 GB, free: 11.22 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.923e-05/1.36, allocations: 37.83 kB / 1.292 GB, free: 11.21 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001261/1.361, allocations: 0.8769 MB / 1.293 GB, free: 11.11 MB / 1.014 GB Notification: Performance of sort global known variables: time 2.7e-07/1.361, allocations: 0 / 1.293 GB, free: 11.11 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001306/1.363, allocations: 314.1 kB / 1.293 GB, free: 11.09 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.001463/1.364, allocations: 0.5401 MB / 1.293 GB, free: 10.92 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.003562/1.368, allocations: 1.296 MB / 1.295 GB, free: 10.88 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 5.25e-06/1.368, allocations: 3.531 kB / 1.295 GB, free: 10.88 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.001598/1.369, allocations: 0.666 MB / 1.295 GB, free: 10.86 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002805/1.372, allocations: 0.5892 MB / 1.296 GB, free: 10.82 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005091/1.377, allocations: 3.047 MB / 1.299 GB, free: 9.352 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007369/1.378, allocations: 1.168 MB / 1.3 GB, free: 8.633 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006014/1.379, allocations: 127 kB / 1.3 GB, free: 8.625 MB / 1.014 GB Notification: Performance of SimCode: time 6.81e-07/1.379, allocations: 0 / 1.3 GB, free: 8.625 MB / 1.014 GB Notification: Performance of Templates: time 0.03305/1.412, allocations: 20.88 MB / 1.321 GB, free: 3.371 MB / 1.014 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