Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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,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_9_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_9_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.001618/0.001618, allocations: 110.4 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.001784/0.001784, allocations: 185.5 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.372/1.372, 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.239/2.239, allocations: 390.3 MB / 0.6655 GB, free: 0.5977 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001516/0.001516, allocations: 63.89 kB / 0.9516 GB, free: 7.578 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9327/0.9343, allocations: 140.4 MB / 1.089 GB, free: 5.496 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet): time 0.2533/1.188, allocations: 193.8 MB / 1.278 GB, free: 11.74 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.01042/1.198, allocations: 5.152 MB / 1.283 GB, free: 6.574 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001916/1.2, allocations: 47.69 kB / 1.283 GB, free: 6.527 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.002483/1.203, allocations: 0.8275 MB / 1.284 GB, free: 5.695 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.008237/1.211, allocations: 2.696 MB / 1.286 GB, free: 2.988 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.003343/1.214, allocations: 1.114 MB / 1.288 GB, free: 1.883 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0045/1.219, allocations: 2.691 MB / 1.29 GB, free: 15.18 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00206/1.221, allocations: 0.9385 MB / 1.291 GB, free: 14.23 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002837/1.224, allocations: 1.14 MB / 1.292 GB, free: 13.09 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002114/1.226, allocations: 0.9962 MB / 1.293 GB, free: 12.09 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0004062/1.226, allocations: 88 kB / 1.293 GB, free: 12 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004209/1.23, allocations: 1.804 MB / 1.295 GB, free: 10.2 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.000734/1.231, allocations: 454.5 kB / 1.295 GB, free: 9.75 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.00152/1.233, allocations: 0.6643 MB / 1.296 GB, free: 9.082 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.005225/1.238, allocations: 2.204 MB / 1.298 GB, free: 6.871 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/1.238, allocations: 0 / 1.298 GB, free: 6.871 MB / 1.029 GB Notification: Performance of FrontEnd: time 3.987e-06/1.238, allocations: 4 kB / 1.298 GB, free: 6.867 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.765e-05/1.238, allocations: 3.938 kB / 1.298 GB, free: 6.863 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: 226 * Number of variables: 226 Notification: Performance of Generate backend data structure: time 0.005791/1.244, allocations: 1.945 MB / 1.3 GB, free: 4.859 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.412e-05/1.244, allocations: 12.03 kB / 1.3 GB, free: 4.848 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005405/1.249, allocations: 0.8955 MB / 1.301 GB, free: 3.949 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00214/1.252, allocations: 0.9683 MB / 1.302 GB, free: 2.926 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.898e-05/1.252, allocations: 70 kB / 1.302 GB, free: 2.855 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003047/1.252, allocations: 95.89 kB / 1.302 GB, free: 2.762 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004234/1.256, allocations: 1.579 MB / 1.304 GB, free: 1.152 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.353e-05/1.256, allocations: 4 kB / 1.304 GB, free: 1.148 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001493/1.256, allocations: 39.97 kB / 1.304 GB, free: 1.109 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.72e-05/1.256, allocations: 53.86 kB / 1.304 GB, free: 1.055 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005339/1.262, allocations: 1.846 MB / 1.306 GB, free: 15.21 MB / 1.045 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.008339/1.27, allocations: 4.711 MB / 1.31 GB, free: 10.26 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004381/1.275, allocations: 1.572 MB / 1.312 GB, free: 8.676 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002277/1.277, allocations: 0.8547 MB / 1.313 GB, free: 7.816 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001229/1.278, allocations: 0.9412 MB / 1.313 GB, free: 6.691 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002473/1.281, allocations: 0.9182 MB / 1.314 GB, free: 5.762 MB / 1.045 GB Notification: Performance of pre-optimization done (n=95): time 3.036e-06/1.281, allocations: 0 / 1.314 GB, free: 5.762 MB / 1.045 GB Notification: Performance of matching and sorting (n=95): time 0.00758/1.288, allocations: 2.454 MB / 1.317 GB, free: 3.297 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.685e-05/1.288, allocations: 72.39 kB / 1.317 GB, free: 3.215 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001636/1.29, allocations: 1.189 MB / 1.318 GB, free: 2.016 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 0.0001304/1.29, allocations: 49.7 kB / 1.318 GB, free: 1.961 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004839/1.291, allocations: 0.5485 MB / 1.319 GB, free: 1.406 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003171/1.291, allocations: 323.4 kB / 1.319 GB, free: 1.086 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003701/1.291, allocations: 182.6 kB / 1.319 GB, free: 0.9023 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001632/1.291, allocations: 345.9 kB / 1.319 GB, free: 0.5586 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002273/1.294, allocations: 0.6967 MB / 1.32 GB, free: 15.86 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002285/1.296, allocations: 0.9074 MB / 1.321 GB, free: 14.89 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004152/1.3, allocations: 1.554 MB / 1.322 GB, free: 13.28 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.973e-06/1.3, allocations: 3.938 kB / 1.322 GB, free: 13.27 MB / 1.061 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.004874/1.305, allocations: 1.776 MB / 1.324 GB, free: 11.49 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.32e-05/1.305, allocations: 8 kB / 1.324 GB, free: 11.48 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.312e-05/1.305, allocations: 4 kB / 1.324 GB, free: 11.48 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.579e-05/1.305, allocations: 8 kB / 1.324 GB, free: 11.47 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001694/1.307, allocations: 351.9 kB / 1.325 GB, free: 11.12 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.353e-05/1.307, allocations: 8 kB / 1.325 GB, free: 11.12 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001546/1.308, allocations: 234.7 kB / 1.325 GB, free: 10.89 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001294/1.309, allocations: 47.97 kB / 1.325 GB, free: 10.84 MB / 1.061 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.0006211/1.309, allocations: 346 kB / 1.325 GB, free: 10.49 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003195/1.309, allocations: 138.3 kB / 1.325 GB, free: 10.36 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005104/1.315, allocations: 1.796 MB / 1.327 GB, free: 8.547 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.237e-05/1.315, allocations: 12 kB / 1.327 GB, free: 8.535 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.975e-06/1.315, allocations: 0 / 1.327 GB, free: 8.535 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.144e-05/1.315, allocations: 7.969 kB / 1.327 GB, free: 8.527 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007441/1.322, allocations: 3.34 MB / 1.33 GB, free: 5.086 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.778e-06/1.322, allocations: 4 kB / 1.33 GB, free: 5.082 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001602/1.324, allocations: 292 kB / 1.331 GB, free: 4.797 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.818e-05/1.324, allocations: 8 kB / 1.331 GB, free: 4.789 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001066/1.324, allocations: 35.97 kB / 1.331 GB, free: 4.754 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.199e-05/1.324, allocations: 11.98 kB / 1.331 GB, free: 4.742 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.582e-06/1.324, allocations: 7.938 kB / 1.331 GB, free: 4.734 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0073/1.331, allocations: 2.843 MB / 1.333 GB, free: 1.828 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006736/1.332, allocations: 327.2 kB / 1.334 GB, free: 1.488 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003258/1.332, allocations: 24 kB / 1.334 GB, free: 1.465 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001467/1.334, allocations: 151.8 kB / 1.334 GB, free: 1.316 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001734/1.334, allocations: 76.44 kB / 1.334 GB, free: 1.242 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001002/1.334, allocations: 40.06 kB / 1.334 GB, free: 1.203 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.001298/1.335, allocations: 0.8353 MB / 1.335 GB, free: 372 kB / 1.061 GB Notification: Performance of sort global known variables: time 1.1e-07/1.335, allocations: 0 / 1.335 GB, free: 372 kB / 1.061 GB Notification: Performance of remove unused functions: time 0.001229/1.337, allocations: 343.6 kB / 1.335 GB, free: 28 kB / 1.061 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.001467/1.338, allocations: 0.538 MB / 1.336 GB, free: 15.65 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.004868/1.343, allocations: 1.634 MB / 1.337 GB, free: 14.02 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 5.851e-06/1.343, allocations: 4.062 kB / 1.337 GB, free: 14.02 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.002399/1.345, allocations: 0.8319 MB / 1.338 GB, free: 13.18 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003089/1.348, allocations: 0.6154 MB / 1.339 GB, free: 12.58 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006583/1.355, allocations: 3.027 MB / 1.342 GB, free: 9.469 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008923/1.356, allocations: 1.189 MB / 1.343 GB, free: 8.25 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007406/1.357, allocations: 131.4 kB / 1.343 GB, free: 8.121 MB / 1.076 GB Notification: Performance of SimCode: time 9.02e-07/1.357, allocations: 4 kB / 1.343 GB, free: 8.117 MB / 1.076 GB Notification: Performance of Templates: time 0.03585/1.393, allocations: 21.7 MB / 1.364 GB, free: 2.547 MB / 1.092 GB make -j1 -f Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.makefile (rm -f Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; mkfifo Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe >> ../files/Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.sim & ./Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Interfaces_Examples_PrescribedOutlet.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches