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 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,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_latest_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_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.00116/0.00116, 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.001268/0.001268, allocations: 196.8 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.319/1.319, allocations: 222.9 MB / 240.5 MB, free: 4.578 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.661/2.661, allocations: 461.9 MB / 0.7348 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001263/0.001264, allocations: 67.19 kB / 0.899 GB, free: 37.03 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3282/0.3295, allocations: 157.4 MB / 1.053 GB, free: 8.352 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet): time 0.1998/0.5294, allocations: 191.6 MB / 1.24 GB, free: 8.094 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.009611/0.539, allocations: 5.196 MB / 1.245 GB, free: 2.887 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001893/0.5409, allocations: 43.69 kB / 1.245 GB, free: 2.844 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.002496/0.5435, allocations: 0.7116 MB / 1.246 GB, free: 2.129 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.7255/1.269, allocations: 2.447 MB / 1.248 GB, free: 3.84 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00341/1.272, allocations: 1.007 MB / 1.249 GB, free: 3.84 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.005212/1.278, allocations: 3.613 MB / 1.253 GB, free: 3.836 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001646/1.279, allocations: 0.863 MB / 1.253 GB, free: 3.77 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002648/1.282, allocations: 1.011 MB / 1.254 GB, free: 3.77 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001802/1.284, allocations: 1.027 MB / 1.255 GB, free: 3.766 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001654/1.284, allocations: 55.03 kB / 1.255 GB, free: 3.766 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004421/1.288, allocations: 2.077 MB / 1.257 GB, free: 3.766 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.000693/1.289, allocations: 425.6 kB / 1.258 GB, free: 3.766 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001063/1.29, allocations: 0.6348 MB / 1.258 GB, free: 3.766 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.002794/1.293, allocations: 1.547 MB / 1.26 GB, free: 3.707 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.64e-06/1.293, allocations: 0 / 1.26 GB, free: 3.707 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.314e-06/1.293, allocations: 0 / 1.26 GB, free: 3.707 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 2.248e-05/1.293, allocations: 0 / 1.26 GB, free: 3.707 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: 226 * Number of variables: 226 Notification: Performance of Generate backend data structure: time 0.00629/1.299, allocations: 1.96 MB / 1.262 GB, free: 18.76 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.846e-05/1.299, allocations: 9.219 kB / 1.262 GB, free: 18.76 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006437/1.306, allocations: 0.8908 MB / 1.263 GB, free: 18.65 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002226/1.308, allocations: 0.9118 MB / 1.264 GB, free: 18.26 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001019/1.308, allocations: 69.84 kB / 1.264 GB, free: 18.26 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002688/1.309, allocations: 91.56 kB / 1.264 GB, free: 18.26 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004549/1.313, allocations: 1.579 MB / 1.265 GB, free: 18.12 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.555e-05/1.313, allocations: 3.844 kB / 1.265 GB, free: 18.12 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001187/1.313, allocations: 38.78 kB / 1.265 GB, free: 18.12 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.996e-05/1.313, allocations: 51.89 kB / 1.265 GB, free: 18.12 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006121/1.32, allocations: 1.845 MB / 1.267 GB, free: 18.07 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.01019/1.33, allocations: 4.738 MB / 1.272 GB, free: 16.19 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004638/1.334, allocations: 1.563 MB / 1.273 GB, free: 16.12 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00236/1.337, allocations: 0.853 MB / 1.274 GB, free: 16.09 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001506/1.338, allocations: 0.9428 MB / 1.275 GB, free: 15.15 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002585/1.341, allocations: 0.9116 MB / 1.276 GB, free: 15.07 MB / 1.014 GB Notification: Performance of pre-optimization done (n=95): time 4.448e-06/1.341, allocations: 0 / 1.276 GB, free: 15.07 MB / 1.014 GB Notification: Performance of matching and sorting (n=95): time 0.007998/1.349, allocations: 2.454 MB / 1.278 GB, free: 14.91 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.856e-05/1.349, allocations: 70.55 kB / 1.279 GB, free: 14.84 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001944/1.351, allocations: 1.197 MB / 1.28 GB, free: 14.69 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001687/1.351, allocations: 43.27 kB / 1.28 GB, free: 14.66 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004252/1.352, allocations: 0.5441 MB / 1.28 GB, free: 14.49 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003096/1.352, allocations: 326.8 kB / 1.281 GB, free: 14.29 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003638/1.352, allocations: 187.7 kB / 1.281 GB, free: 14.27 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001584/1.352, allocations: 342.7 kB / 1.281 GB, free: 13.96 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002137/1.355, allocations: 0.7021 MB / 1.282 GB, free: 13.95 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002284/1.357, allocations: 0.9144 MB / 1.283 GB, free: 13.74 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004191/1.361, allocations: 1.552 MB / 1.284 GB, free: 13.53 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-05/1.361, allocations: 3.156 kB / 1.284 GB, free: 13.53 MB / 1.014 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.005108/1.366, allocations: 1.777 MB / 1.286 GB, free: 13.36 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 3.332e-05/1.366, allocations: 9.438 kB / 1.286 GB, free: 13.36 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.476e-05/1.366, allocations: 4.906 kB / 1.286 GB, free: 13.36 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.435e-05/1.366, allocations: 11.03 kB / 1.286 GB, free: 13.36 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001808/1.368, allocations: 343.1 kB / 1.286 GB, free: 13.35 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.245e-05/1.368, allocations: 11.59 kB / 1.286 GB, free: 13.35 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001987/1.37, allocations: 252.8 kB / 1.287 GB, free: 13.29 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001439/1.37, allocations: 48.64 kB / 1.287 GB, free: 13.29 MB / 1.014 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.0008431/1.371, allocations: 330.4 kB / 1.287 GB, free: 13.17 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003456/1.372, allocations: 148 kB / 1.287 GB, free: 13.1 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005169/1.377, allocations: 1.802 MB / 1.289 GB, free: 12.98 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.498e-05/1.377, allocations: 9.688 kB / 1.289 GB, free: 12.98 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.358e-06/1.377, allocations: 4 kB / 1.289 GB, free: 12.98 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.036e-05/1.377, allocations: 3.094 kB / 1.289 GB, free: 12.98 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007696/1.384, allocations: 3.325 MB / 1.292 GB, free: 12.45 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.239e-05/1.385, allocations: 7.359 kB / 1.292 GB, free: 12.45 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001695/1.386, allocations: 293.1 kB / 1.292 GB, free: 12.44 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.715e-05/1.386, allocations: 8.25 kB / 1.292 GB, free: 12.44 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001122/1.386, allocations: 35.66 kB / 1.292 GB, free: 12.44 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.52e-05/1.386, allocations: 12.36 kB / 1.292 GB, free: 12.44 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.743e-06/1.386, allocations: 4.125 kB / 1.292 GB, free: 12.44 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007347/1.394, allocations: 2.841 MB / 1.295 GB, free: 12.01 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001015/1.395, allocations: 326.1 kB / 1.295 GB, free: 11.83 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002532/1.395, allocations: 21.03 kB / 1.295 GB, free: 11.83 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001508/1.397, allocations: 179.3 kB / 1.296 GB, free: 11.82 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001865/1.397, allocations: 72.45 kB / 1.296 GB, free: 11.82 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001034/1.397, allocations: 44.22 kB / 1.296 GB, free: 11.81 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001195/1.398, allocations: 0.8303 MB / 1.297 GB, free: 11.7 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.5e-07/1.398, allocations: 0 / 1.297 GB, free: 11.7 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001346/1.399, allocations: 339.8 kB / 1.297 GB, free: 11.68 MB / 1.014 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.001499/1.401, allocations: 0.5392 MB / 1.297 GB, free: 11.51 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.004751/1.406, allocations: 1.624 MB / 1.299 GB, free: 11.45 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 6.402e-06/1.406, allocations: 4.062 kB / 1.299 GB, free: 11.44 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.002303/1.408, allocations: 0.8285 MB / 1.3 GB, free: 11.43 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003152/1.411, allocations: 0.5858 MB / 1.3 GB, free: 11.38 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006969/1.418, allocations: 3.475 MB / 1.304 GB, free: 9.738 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008964/1.419, allocations: 1.175 MB / 1.305 GB, free: 9.02 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007746/1.42, allocations: 132.4 kB / 1.305 GB, free: 9.012 MB / 1.014 GB Notification: Performance of SimCode: time 7.72e-07/1.42, allocations: 0 / 1.305 GB, free: 9.012 MB / 1.014 GB Notification: Performance of Templates: time 0.03705/1.457, allocations: 21.58 MB / 1.326 GB, free: 1.906 MB / 1.014 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=480 -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