Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.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_X_wSetOnly,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|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.",fileNamePrefix="Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly") translateModel(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly,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|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.",fileNamePrefix="Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001985/0.001985, allocations: 103.4 kB / 15.34 MB, free: 0.5039 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.002116/0.002117, allocations: 191 kB / 16.25 MB, free: 6.633 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.461/1.461, allocations: 222.9 MB / 239.9 MB, free: 4.504 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.963/2.963, allocations: 482.3 MB / 0.7542 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001899/0.0019, allocations: 69.92 kB / 0.9232 GB, free: 29.56 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3169/0.3188, allocations: 162.2 MB / 1.082 GB, free: 13.75 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly): time 0.8185/1.137, allocations: 238.8 MB / 1.315 GB, free: 6.695 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01378/1.151, allocations: 8.39 MB / 1.323 GB, free: 6.492 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002962/1.154, allocations: 67.09 kB / 1.323 GB, free: 6.492 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.003096/1.157, allocations: 0.9245 MB / 1.324 GB, free: 6.477 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.01063/1.168, allocations: 2.872 MB / 1.327 GB, free: 6.355 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.009642/1.178, allocations: 3.27 MB / 1.33 GB, free: 6.25 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.006904/1.185, allocations: 3.929 MB / 1.334 GB, free: 6.164 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002584/1.187, allocations: 1.336 MB / 1.335 GB, free: 5.82 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005857/1.193, allocations: 2.225 MB / 1.337 GB, free: 5.238 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003077/1.196, allocations: 1.418 MB / 1.339 GB, free: 4.812 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0004373/1.197, allocations: 126.2 kB / 1.339 GB, free: 4.812 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008127/1.205, allocations: 4.086 MB / 1.343 GB, free: 4.066 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001065/1.206, allocations: 0.5966 MB / 1.343 GB, free: 3.816 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001924/1.208, allocations: 0.9833 MB / 1.344 GB, free: 3.258 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.009686/1.218, allocations: 4.07 MB / 1.348 GB, free: 2.234 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 7.033e-06/1.218, allocations: 0 / 1.348 GB, free: 2.234 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.633e-06/1.218, allocations: 3.938 kB / 1.348 GB, free: 2.23 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 3.358e-05/1.218, allocations: 4 kB / 1.348 GB, free: 2.227 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: 334 * Number of variables: 334 Notification: Performance of Generate backend data structure: time 0.00662/1.224, allocations: 2.628 MB / 1.351 GB, free: 16.69 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5e-05/1.224, allocations: 14.22 kB / 1.351 GB, free: 16.68 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006947/1.231, allocations: 1.093 MB / 1.352 GB, free: 16.5 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002201/1.234, allocations: 1.149 MB / 1.353 GB, free: 15.89 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.05e-05/1.234, allocations: 104.1 kB / 1.353 GB, free: 15.84 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000194/1.234, allocations: 139.4 kB / 1.353 GB, free: 15.8 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003954/1.238, allocations: 1.967 MB / 1.355 GB, free: 14.89 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.275e-05/1.238, allocations: 6.969 kB / 1.355 GB, free: 14.89 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001458/1.238, allocations: 55.44 kB / 1.355 GB, free: 14.86 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.626e-05/1.238, allocations: 67.64 kB / 1.355 GB, free: 14.84 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004516/1.243, allocations: 1.876 MB / 1.357 GB, free: 14.29 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01235/1.255, allocations: 9.149 MB / 1.366 GB, free: 7.32 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00424/1.259, allocations: 1.606 MB / 1.368 GB, free: 6.855 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001851/1.261, allocations: 0.7874 MB / 1.368 GB, free: 6.625 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001002/1.262, allocations: 0.5871 MB / 1.369 GB, free: 6.047 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00219/1.264, allocations: 0.8604 MB / 1.37 GB, free: 5.715 MB / 1.014 GB Notification: Performance of pre-optimization done (n=104): time 5.441e-06/1.264, allocations: 6.547 kB / 1.37 GB, free: 5.711 MB / 1.014 GB Notification: Performance of matching and sorting (n=104): time 0.006431/1.271, allocations: 2.321 MB / 1.372 GB, free: 4.605 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.01e-05/1.271, allocations: 62.53 kB / 1.372 GB, free: 4.543 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002225/1.273, allocations: 1.661 MB / 1.374 GB, free: 3.715 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001329/1.273, allocations: 51.45 kB / 1.374 GB, free: 3.664 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007275/1.274, allocations: 0.8273 MB / 1.375 GB, free: 2.934 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003796/1.274, allocations: 368.6 kB / 1.375 GB, free: 2.625 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003991/1.275, allocations: 235.2 kB / 1.375 GB, free: 2.492 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001696/1.275, allocations: 359.3 kB / 1.376 GB, free: 2.148 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001772/1.277, allocations: 0.6593 MB / 1.376 GB, free: 1.836 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002088/1.279, allocations: 1.058 MB / 1.377 GB, free: 1.035 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003804/1.283, allocations: 1.706 MB / 1.379 GB, free: 15.95 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.144e-05/1.283, allocations: 8.641 kB / 1.379 GB, free: 15.95 MB / 1.029 GB Notification: Performance of matching and sorting (n=157) (initialization): time 0.004772/1.287, allocations: 1.917 MB / 1.381 GB, free: 15.07 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.492e-05/1.287, allocations: 8.688 kB / 1.381 GB, free: 15.07 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.544e-05/1.288, allocations: 10.78 kB / 1.381 GB, free: 15.07 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.983e-05/1.288, allocations: 17.66 kB / 1.381 GB, free: 15.07 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001746/1.289, allocations: 367 kB / 1.381 GB, free: 14.99 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.8e-05/1.289, allocations: 28.55 kB / 1.381 GB, free: 14.98 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002194/1.292, allocations: 295.5 kB / 1.381 GB, free: 14.82 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001382/1.292, allocations: 63.38 kB / 1.382 GB, free: 14.8 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * 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 (157): * Single equations (assignments): 157 * 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.0007708/1.292, allocations: 394 kB / 1.382 GB, free: 14.55 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003698/1.293, allocations: 196.3 kB / 1.382 GB, free: 14.45 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004545/1.297, allocations: 1.784 MB / 1.384 GB, free: 13.48 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.788e-06/1.297, allocations: 10.75 kB / 1.384 GB, free: 13.48 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.484e-06/1.297, allocations: 0 / 1.384 GB, free: 13.48 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.241e-05/1.297, allocations: 3.984 kB / 1.384 GB, free: 13.48 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008534/1.306, allocations: 3.932 MB / 1.388 GB, free: 11.07 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.043e-05/1.306, allocations: 4.938 kB / 1.388 GB, free: 11.07 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00157/1.308, allocations: 259.7 kB / 1.388 GB, free: 11.01 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-05/1.308, allocations: 16.69 kB / 1.388 GB, free: 11 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001088/1.308, allocations: 41.69 kB / 1.388 GB, free: 10.98 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.858e-05/1.308, allocations: 22.33 kB / 1.388 GB, free: 10.97 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.087e-06/1.308, allocations: 11.91 kB / 1.388 GB, free: 10.97 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006697/1.315, allocations: 2.861 MB / 1.391 GB, free: 9.305 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001338/1.316, allocations: 373.1 kB / 1.391 GB, free: 9.012 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003131/1.316, allocations: 32.98 kB / 1.391 GB, free: 8.992 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001592/1.318, allocations: 171.9 kB / 1.391 GB, free: 8.918 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001927/1.318, allocations: 85.16 kB / 1.391 GB, free: 8.875 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001031/1.318, allocations: 53.09 kB / 1.392 GB, free: 8.855 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.001699/1.32, allocations: 1.135 MB / 1.393 GB, free: 8.289 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.8e-07/1.32, allocations: 0 / 1.393 GB, free: 8.289 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0015/1.321, allocations: 464.1 kB / 1.393 GB, free: 8.211 MB / 1.029 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 29 * Number of states: 3 (heaHigPow.Xi,cooLimPow.Xi,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 (104): * Single equations (assignments): 98 * 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.001973/1.323, allocations: 0.5835 MB / 1.394 GB, free: 7.941 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.004722/1.328, allocations: 1.761 MB / 1.395 GB, free: 7.211 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 9.648e-06/1.328, allocations: 3.938 kB / 1.395 GB, free: 7.207 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.002148/1.33, allocations: 0.7993 MB / 1.396 GB, free: 6.441 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004476/1.335, allocations: 0.9238 MB / 1.397 GB, free: 5.535 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0116/1.346, allocations: 4.452 MB / 1.401 GB, free: 0.9922 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001076/1.347, allocations: 1.358 MB / 1.403 GB, free: 15.6 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.002375/1.35, allocations: 462.6 kB / 1.403 GB, free: 15.14 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005149/1.35, allocations: 147.4 kB / 1.403 GB, free: 15 MB / 1.045 GB Notification: Performance of SimCode: time 1.062e-06/1.35, allocations: 0 / 1.403 GB, free: 15 MB / 1.045 GB Notification: Performance of Templates: time 0.06225/1.413, allocations: 32.65 MB / 1.435 GB, free: 14.93 MB / 1.076 GB make -j1 -f Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.makefile (rm -f Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe >> ../files/Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.sim & ./Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches