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.001792/0.001798, allocations: 110.9 kB / 16.42 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.001901/0.001901, allocations: 189.6 kB / 17.35 MB, free: 5.762 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.292/1.292, 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.144/2.144, allocations: 390.3 MB / 0.6655 GB, free: 0.7109 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001335/0.001335, allocations: 67.89 kB / 0.9516 GB, free: 7.66 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6533/0.6547, allocations: 140.4 MB / 1.089 GB, free: 5.559 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet): time 0.1997/0.8544, allocations: 193.8 MB / 1.278 GB, free: 11.81 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.00801/0.8624, allocations: 5.156 MB / 1.283 GB, free: 6.648 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006866/0.8631, allocations: 51.62 kB / 1.283 GB, free: 6.598 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.001564/0.8647, allocations: 0.8198 MB / 1.284 GB, free: 5.773 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.005006/0.8698, allocations: 2.692 MB / 1.286 GB, free: 3.07 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.002182/0.872, allocations: 1.118 MB / 1.288 GB, free: 1.957 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.002497/0.8745, allocations: 2.687 MB / 1.29 GB, free: 15.26 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001128/0.8756, allocations: 0.9424 MB / 1.291 GB, free: 14.31 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001473/0.8771, allocations: 1.148 MB / 1.292 GB, free: 13.16 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001211/0.8783, allocations: 0.9884 MB / 1.293 GB, free: 12.16 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0001678/0.8785, allocations: 84 kB / 1.293 GB, free: 12.08 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003114/0.8816, allocations: 1.808 MB / 1.295 GB, free: 10.27 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0003943/0.882, allocations: 450.6 kB / 1.295 GB, free: 9.828 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0005823/0.8826, allocations: 0.6643 MB / 1.296 GB, free: 9.16 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.002474/0.8851, allocations: 2.204 MB / 1.298 GB, free: 6.949 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.8851, allocations: 3.938 kB / 1.298 GB, free: 6.945 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.112e-06/0.8851, allocations: 0 / 1.298 GB, free: 6.945 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.275e-05/0.8851, allocations: 0 / 1.298 GB, free: 6.945 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.004807/0.8899, allocations: 1.961 MB / 1.3 GB, free: 4.926 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.509e-05/0.89, allocations: 8.031 kB / 1.3 GB, free: 4.918 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005627/0.8956, allocations: 0.8916 MB / 1.301 GB, free: 4.023 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001588/0.8972, allocations: 0.9684 MB / 1.302 GB, free: 3 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.86e-05/0.8973, allocations: 66 kB / 1.302 GB, free: 2.934 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001839/0.8975, allocations: 95.89 kB / 1.302 GB, free: 2.84 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003621/0.9011, allocations: 1.583 MB / 1.304 GB, free: 1.227 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.102e-05/0.9012, allocations: 7.875 kB / 1.304 GB, free: 1.219 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001189/0.9013, allocations: 39.98 kB / 1.304 GB, free: 1.18 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.356e-05/0.9013, allocations: 45.98 kB / 1.304 GB, free: 1.133 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005187/0.9065, allocations: 1.85 MB / 1.306 GB, free: 15.28 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.007126/0.9137, allocations: 4.715 MB / 1.31 GB, free: 10.33 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004665/0.9183, allocations: 1.572 MB / 1.312 GB, free: 8.746 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002432/0.9208, allocations: 0.8546 MB / 1.313 GB, free: 7.887 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001231/0.922, allocations: 0.9413 MB / 1.313 GB, free: 6.762 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002541/0.9246, allocations: 0.9148 MB / 1.314 GB, free: 5.836 MB / 1.045 GB Notification: Performance of pre-optimization done (n=95): time 3.065e-06/0.9246, allocations: 3.938 kB / 1.314 GB, free: 5.832 MB / 1.045 GB Notification: Performance of matching and sorting (n=95): time 0.008028/0.9326, allocations: 2.45 MB / 1.317 GB, free: 3.371 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.604e-05/0.9327, allocations: 60.41 kB / 1.317 GB, free: 3.301 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001343/0.934, allocations: 1.205 MB / 1.318 GB, free: 2.086 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 0.0001012/0.9341, allocations: 41.7 kB / 1.318 GB, free: 2.039 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004173/0.9346, allocations: 0.5524 MB / 1.319 GB, free: 1.48 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002757/0.9349, allocations: 319.4 kB / 1.319 GB, free: 1.164 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003314/0.9352, allocations: 186.6 kB / 1.319 GB, free: 0.9766 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001369/0.9353, allocations: 341.9 kB / 1.319 GB, free: 0.6367 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00229/0.9376, allocations: 0.7006 MB / 1.32 GB, free: 15.93 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002444/0.9401, allocations: 0.9113 MB / 1.321 GB, free: 14.96 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004552/0.9446, allocations: 1.55 MB / 1.322 GB, free: 13.35 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.479e-06/0.9447, allocations: 0 / 1.322 GB, free: 13.35 MB / 1.061 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.005073/0.9497, allocations: 1.78 MB / 1.324 GB, free: 11.56 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.052e-05/0.9498, allocations: 8 kB / 1.324 GB, free: 11.55 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.999e-06/0.9498, allocations: 7.938 kB / 1.324 GB, free: 11.55 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.037e-05/0.9498, allocations: 8 kB / 1.324 GB, free: 11.54 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001868/0.9517, allocations: 343.9 kB / 1.325 GB, free: 11.2 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.692e-05/0.9517, allocations: 16 kB / 1.325 GB, free: 11.19 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00152/0.9532, allocations: 230.7 kB / 1.325 GB, free: 10.96 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001011/0.9534, allocations: 47.97 kB / 1.325 GB, free: 10.91 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.0004951/0.9539, allocations: 335.6 kB / 1.325 GB, free: 10.57 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001968/0.9541, allocations: 138.3 kB / 1.325 GB, free: 10.44 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00529/0.9594, allocations: 1.803 MB / 1.327 GB, free: 8.621 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.311e-05/0.9594, allocations: 3.984 kB / 1.327 GB, free: 8.617 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.9594, allocations: 0 / 1.327 GB, free: 8.617 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005157/0.9599, allocations: 315.2 kB / 1.327 GB, free: 8.289 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002009/0.9601, allocations: 19.98 kB / 1.327 GB, free: 8.27 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001359/0.9615, allocations: 155.8 kB / 1.328 GB, free: 8.117 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001348/0.9616, allocations: 64.8 kB / 1.328 GB, free: 8.055 MB / 1.061 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.006257/0.9679, allocations: 1.856 MB / 1.329 GB, free: 6.191 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.007651/0.9756, allocations: 2.816 MB / 1.332 GB, free: 3.359 MB / 1.061 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00233/0.9779, allocations: 0.7806 MB / 1.333 GB, free: 2.578 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.001029/0.9789, allocations: 0.8353 MB / 1.334 GB, free: 1.738 MB / 1.061 GB Notification: Performance of Backend: time 2.31e-07/0.979, allocations: 0 / 1.334 GB, free: 1.738 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.005123/0.9841, allocations: 1.721 MB / 1.335 GB, free: 188 kB / 1.061 GB Notification: Performance of SimCode: time 0.004763/0.9889, allocations: 3.028 MB / 1.338 GB, free: 13.12 MB / 1.076 GB Notification: Performance of Templates: time 0.04451/1.033, allocations: 29.71 MB / 1.367 GB, free: 15.68 MB / 1.107 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