Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaHigPow.mWat_flow|cooLimPow.mWat_flow|heaCooUnl.mWat_flow|steSta.mWat_flow|THeaHigPowIn.T|THeaHigPowOut.T|TCooLimPowIn.T|TCooLimPowOut.T|THeaCooUnlIn.T|THeaCooUnlOut.T|heaCooUnl.TSet|TSteStaIn.T|TSteStaOut.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.",fileNamePrefix="Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet") translateModel(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaHigPow.mWat_flow|cooLimPow.mWat_flow|heaCooUnl.mWat_flow|steSta.mWat_flow|THeaHigPowIn.T|THeaHigPowOut.T|TCooLimPowIn.T|TCooLimPowOut.T|THeaCooUnlIn.T|THeaCooUnlOut.T|heaCooUnl.TSet|TSteStaIn.T|TSteStaOut.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.",fileNamePrefix="Buildings_latest_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.001517/0.001517, allocations: 103.8 kB / 16.27 MB, free: 6.414 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.001469/0.001469, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.379/1.379, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.7/2.7, allocations: 482.4 MB / 0.7553 GB, free: 6.973 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.00197/0.00197, allocations: 64.97 kB / 0.9245 GB, free: 16 MB / 0.7012 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7984/0.8004, allocations: 162.2 MB / 1.083 GB, free: 1.648 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet): time 0.306/1.106, allocations: 241.7 MB / 1.319 GB, free: 12.48 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.01413/1.121, allocations: 8.419 MB / 1.327 GB, free: 4.043 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002183/1.123, allocations: 67.56 kB / 1.327 GB, free: 3.977 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.002753/1.126, allocations: 1.052 MB / 1.328 GB, free: 2.918 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.007733/1.133, allocations: 3.068 MB / 1.331 GB, free: 15.83 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.008459/1.142, allocations: 3.523 MB / 1.335 GB, free: 12.31 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.005799/1.148, allocations: 3.968 MB / 1.339 GB, free: 8.328 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002269/1.15, allocations: 1.406 MB / 1.34 GB, free: 6.891 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004949/1.155, allocations: 2.203 MB / 1.342 GB, free: 4.68 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00225/1.157, allocations: 1.389 MB / 1.343 GB, free: 3.285 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.000368/1.158, allocations: 136 kB / 1.344 GB, free: 3.152 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007548/1.165, allocations: 3.932 MB / 1.347 GB, free: 15.21 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0008078/1.166, allocations: 0.5957 MB / 1.348 GB, free: 14.61 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.001403/1.167, allocations: 1.01 MB / 1.349 GB, free: 13.6 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.007422/1.175, allocations: 3.856 MB / 1.353 GB, free: 9.73 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 6.051e-06/1.175, allocations: 4 kB / 1.353 GB, free: 9.727 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.883e-06/1.175, allocations: 0 / 1.353 GB, free: 9.727 MB / 1.076 GB Notification: Performance of Transformations before backend: time 2.5e-05/1.175, allocations: 0 / 1.353 GB, free: 9.727 MB / 1.076 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 338 * Number of variables: 338 Notification: Performance of Generate backend data structure: time 0.006409/1.181, allocations: 2.667 MB / 1.355 GB, free: 6.992 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.07e-05/1.181, allocations: 8.031 kB / 1.355 GB, free: 6.984 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008582/1.19, allocations: 1.316 MB / 1.357 GB, free: 5.664 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002287/1.192, allocations: 1.184 MB / 1.358 GB, free: 4.426 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.582e-05/1.192, allocations: 106.5 kB / 1.358 GB, free: 4.32 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002441/1.193, allocations: 136 kB / 1.358 GB, free: 4.188 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004593/1.197, allocations: 2.067 MB / 1.36 GB, free: 2.02 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.115e-05/1.197, allocations: 3.938 kB / 1.36 GB, free: 2.016 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001509/1.197, allocations: 63.92 kB / 1.36 GB, free: 1.953 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.531e-05/1.198, allocations: 66.47 kB / 1.36 GB, free: 1.887 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005974/1.204, allocations: 2.18 MB / 1.362 GB, free: 15.7 MB / 1.092 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01187/1.215, allocations: 8.41 MB / 1.371 GB, free: 6.742 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005025/1.22, allocations: 1.881 MB / 1.372 GB, free: 4.848 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002532/1.223, allocations: 0.9802 MB / 1.373 GB, free: 3.863 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001419/1.224, allocations: 0.953 MB / 1.374 GB, free: 2.727 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00274/1.227, allocations: 1.055 MB / 1.375 GB, free: 1.656 MB / 1.092 GB Notification: Performance of pre-optimization done (n=119): time 3.296e-06/1.227, allocations: 0 / 1.375 GB, free: 1.656 MB / 1.092 GB Notification: Performance of matching and sorting (n=119): time 0.008662/1.236, allocations: 2.875 MB / 1.378 GB, free: 14.77 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.526e-05/1.236, allocations: 64.41 kB / 1.378 GB, free: 14.7 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002246/1.238, allocations: 1.623 MB / 1.38 GB, free: 13.07 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 0.0001257/1.238, allocations: 49.7 kB / 1.38 GB, free: 13.02 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007191/1.239, allocations: 0.8043 MB / 1.381 GB, free: 12.21 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004256/1.24, allocations: 410.1 kB / 1.381 GB, free: 11.8 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004279/1.24, allocations: 238.8 kB / 1.381 GB, free: 11.56 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.000184/1.24, allocations: 353.9 kB / 1.382 GB, free: 11.21 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002444/1.243, allocations: 0.8222 MB / 1.382 GB, free: 10.39 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002726/1.245, allocations: 1.139 MB / 1.383 GB, free: 9.133 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005068/1.25, allocations: 1.934 MB / 1.385 GB, free: 7.09 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.886e-06/1.25, allocations: 4 kB / 1.385 GB, free: 7.086 MB / 1.107 GB Notification: Performance of matching and sorting (n=161) (initialization): time 0.006011/1.256, allocations: 2.174 MB / 1.387 GB, free: 4.902 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 2.515e-05/1.257, allocations: 12 kB / 1.387 GB, free: 4.891 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.788e-05/1.257, allocations: 11.94 kB / 1.387 GB, free: 4.879 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.984e-05/1.257, allocations: 12 kB / 1.387 GB, free: 4.867 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002104/1.259, allocations: 407.8 kB / 1.388 GB, free: 4.469 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.577e-05/1.259, allocations: 27.92 kB / 1.388 GB, free: 4.441 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0023/1.261, allocations: 286.1 kB / 1.388 GB, free: 4.16 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001695/1.261, allocations: 59.97 kB / 1.388 GB, free: 4.102 MB / 1.107 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * 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 (161): * Single equations (assignments): 161 * 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.001061/1.262, allocations: 395.6 kB / 1.389 GB, free: 3.703 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005352/1.263, allocations: 189.7 kB / 1.389 GB, free: 3.516 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006315/1.269, allocations: 2.167 MB / 1.391 GB, free: 1.332 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.475e-05/1.269, allocations: 12 kB / 1.391 GB, free: 1.32 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.945e-06/1.269, allocations: 0 / 1.391 GB, free: 1.32 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.455e-05/1.269, allocations: 7.969 kB / 1.391 GB, free: 1.312 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009901/1.279, allocations: 4.463 MB / 1.395 GB, free: 12.71 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.344e-05/1.279, allocations: 4 kB / 1.395 GB, free: 12.7 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001966/1.281, allocations: 336.4 kB / 1.396 GB, free: 12.38 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.118e-05/1.281, allocations: 8 kB / 1.396 GB, free: 12.37 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001249/1.281, allocations: 43.97 kB / 1.396 GB, free: 12.32 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.951e-05/1.281, allocations: 19.92 kB / 1.396 GB, free: 12.3 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.843e-06/1.281, allocations: 8 kB / 1.396 GB, free: 12.3 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008732/1.29, allocations: 3.444 MB / 1.399 GB, free: 8.75 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008725/1.291, allocations: 406.3 kB / 1.399 GB, free: 8.332 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003792/1.291, allocations: 35.98 kB / 1.399 GB, free: 8.297 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001834/1.293, allocations: 159.8 kB / 1.4 GB, free: 8.141 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002126/1.293, allocations: 104.6 kB / 1.4 GB, free: 8.039 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001168/1.294, allocations: 51.97 kB / 1.4 GB, free: 7.988 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.001783/1.295, allocations: 1.114 MB / 1.401 GB, free: 6.883 MB / 1.123 GB Notification: Performance of sort global known variables: time 1.51e-07/1.295, allocations: 0 / 1.401 GB, free: 6.883 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.001637/1.297, allocations: 491.4 kB / 1.401 GB, free: 6.402 MB / 1.123 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 29 * 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 (119): * Single equations (assignments): 113 * 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.002031/1.299, allocations: 0.6039 MB / 1.402 GB, free: 5.961 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.006715/1.306, allocations: 2.122 MB / 1.404 GB, free: 3.836 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 9.217e-06/1.306, allocations: 0 / 1.404 GB, free: 3.836 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.002972/1.309, allocations: 0.9948 MB / 1.405 GB, free: 2.844 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005289/1.314, allocations: 0.9577 MB / 1.406 GB, free: 1.902 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01361/1.328, allocations: 4.335 MB / 1.41 GB, free: 13.45 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001568/1.329, allocations: 1.376 MB / 1.411 GB, free: 12.04 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001038/1.33, allocations: 175.3 kB / 1.412 GB, free: 11.87 MB / 1.139 GB Notification: Performance of SimCode: time 1.663e-06/1.33, allocations: 0 / 1.412 GB, free: 11.87 MB / 1.139 GB Notification: Performance of Templates: time 0.05675/1.387, allocations: 30.33 MB / 1.441 GB, free: 13.79 MB / 1.17 GB make -j1 -f Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.makefile (rm -f Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe >> ../files/Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.sim & ./Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Interfaces_Examples_PrescribedOutlet.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches