Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.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_TSetOnly,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|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.|heaHigPow.mWat_flow|cooLimPow.mWat_flow|heaCooUnl.mWat_flow|steSta.mWat_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly") translateModel(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly,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|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.|heaHigPow.mWat_flow|cooLimPow.mWat_flow|heaCooUnl.mWat_flow|steSta.mWat_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000988/0.000988, allocations: 97.78 kB / 16.02 MB, free: 76 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.001216/0.001216, allocations: 187.3 kB / 16.92 MB, free: 6.75 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.356/1.356, allocations: 223.3 MB / 241 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.711/2.711, allocations: 462.6 MB / 0.737 GB, free: 15.58 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003853/0.0003854, allocations: 8.156 kB / 0.9034 GB, free: 36.4 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3283/0.3287, allocations: 159.6 MB / 1.059 GB, free: 4.996 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly): time 0.2056/0.5344, allocations: 189 MB / 1.244 GB, free: 7.297 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.008778/0.5433, allocations: 5.147 MB / 1.249 GB, free: 2.141 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001536/0.5448, allocations: 39.69 kB / 1.249 GB, free: 2.102 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001945/0.5468, allocations: 0.7194 MB / 1.25 GB, free: 1.379 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.7076/1.254, allocations: 2.439 MB / 1.252 GB, free: 4.023 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003254/1.258, allocations: 0.998 MB / 1.253 GB, free: 4.02 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.005/1.263, allocations: 3.536 MB / 1.256 GB, free: 4.012 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001786/1.265, allocations: 0.8005 MB / 1.257 GB, free: 3.945 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002758/1.267, allocations: 0.9861 MB / 1.258 GB, free: 3.945 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001809/1.269, allocations: 0.977 MB / 1.259 GB, free: 3.941 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001595/1.269, allocations: 45.91 kB / 1.259 GB, free: 3.941 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004231/1.274, allocations: 2.061 MB / 1.261 GB, free: 3.941 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0006464/1.274, allocations: 407 kB / 1.262 GB, free: 3.941 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.000995/1.275, allocations: 0.6391 MB / 1.262 GB, free: 3.91 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.002722/1.278, allocations: 1.498 MB / 1.264 GB, free: 3.816 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.01e-06/1.278, allocations: 0 / 1.264 GB, free: 3.816 MB / 0.9981 GB Notification: Performance of FrontEnd: time 3.136e-06/1.278, allocations: 3.062 kB / 1.264 GB, free: 3.816 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 2.615e-05/1.278, allocations: 0 / 1.264 GB, free: 3.816 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: 222 * Number of variables: 222 Notification: Performance of Generate backend data structure: time 0.005323/1.283, allocations: 1.67 MB / 1.265 GB, free: 18.92 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.547e-05/1.283, allocations: 14.36 kB / 1.265 GB, free: 18.91 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004943/1.288, allocations: 0.75 MB / 1.266 GB, free: 18.81 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001865/1.29, allocations: 0.8889 MB / 1.267 GB, free: 18.43 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.641e-05/1.29, allocations: 71.77 kB / 1.267 GB, free: 18.42 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002307/1.291, allocations: 87.41 kB / 1.267 GB, free: 18.42 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004008/1.295, allocations: 1.474 MB / 1.269 GB, free: 18.22 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.007e-05/1.295, allocations: 6.125 kB / 1.269 GB, free: 18.22 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001251/1.295, allocations: 41.59 kB / 1.269 GB, free: 18.22 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.958e-05/1.295, allocations: 47.47 kB / 1.269 GB, free: 18.22 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004777/1.3, allocations: 1.587 MB / 1.27 GB, free: 18.18 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.009043/1.309, allocations: 5.047 MB / 1.275 GB, free: 15.66 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003769/1.313, allocations: 1.241 MB / 1.276 GB, free: 15.61 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001866/1.314, allocations: 0.6793 MB / 1.277 GB, free: 15.58 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001466/1.316, allocations: 0.9525 MB / 1.278 GB, free: 14.64 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002255/1.318, allocations: 0.7353 MB / 1.279 GB, free: 14.57 MB / 1.014 GB Notification: Performance of pre-optimization done (n=82): time 4.077e-06/1.318, allocations: 0 / 1.279 GB, free: 14.57 MB / 1.014 GB Notification: Performance of matching and sorting (n=82): time 0.006783/1.325, allocations: 1.988 MB / 1.281 GB, free: 14.42 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.646e-05/1.325, allocations: 62.95 kB / 1.281 GB, free: 14.36 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002739/1.328, allocations: 1.265 MB / 1.282 GB, free: 14.2 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.000228/1.328, allocations: 48.89 kB / 1.282 GB, free: 14.16 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004893/1.329, allocations: 0.573 MB / 1.282 GB, free: 13.98 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003505/1.329, allocations: 284 kB / 1.283 GB, free: 13.8 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001447/1.329, allocations: 78.53 kB / 1.283 GB, free: 13.79 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001586/1.329, allocations: 344.5 kB / 1.283 GB, free: 13.48 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001715/1.331, allocations: 0.5587 MB / 1.284 GB, free: 13.47 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001859/1.333, allocations: 0.8414 MB / 1.285 GB, free: 13.18 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00348/1.336, allocations: 1.353 MB / 1.286 GB, free: 12.89 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.496e-06/1.336, allocations: 2.094 kB / 1.286 GB, free: 12.89 MB / 1.014 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.004281/1.341, allocations: 1.543 MB / 1.287 GB, free: 12.75 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.912e-05/1.341, allocations: 7.406 kB / 1.287 GB, free: 12.75 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.67e-05/1.341, allocations: 8.406 kB / 1.287 GB, free: 12.75 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.39e-05/1.341, allocations: 11.56 kB / 1.287 GB, free: 12.75 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001522/1.342, allocations: 301.3 kB / 1.288 GB, free: 12.74 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.214e-05/1.342, allocations: 18.11 kB / 1.288 GB, free: 12.74 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001764/1.344, allocations: 221.8 kB / 1.288 GB, free: 12.68 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000169/1.344, allocations: 48.25 kB / 1.288 GB, free: 12.68 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (117): * Single equations (assignments): 117 * 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.0008768/1.345, allocations: 346.6 kB / 1.288 GB, free: 12.55 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004631/1.346, allocations: 139.2 kB / 1.288 GB, free: 12.48 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004554/1.35, allocations: 1.465 MB / 1.29 GB, free: 12.39 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.671e-05/1.35, allocations: 9.375 kB / 1.29 GB, free: 12.39 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.209e-05/1.35, allocations: 2.953 kB / 1.29 GB, free: 12.39 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.3e-05/1.35, allocations: 5.906 kB / 1.29 GB, free: 12.39 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007135/1.357, allocations: 2.892 MB / 1.293 GB, free: 11.87 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.789e-06/1.357, allocations: 2.875 kB / 1.293 GB, free: 11.87 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001282/1.359, allocations: 235.8 kB / 1.293 GB, free: 11.86 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.63e-05/1.359, allocations: 6.719 kB / 1.293 GB, free: 11.86 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.753e-05/1.359, allocations: 30.8 kB / 1.293 GB, free: 11.86 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.235e-05/1.359, allocations: 12.88 kB / 1.293 GB, free: 11.86 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.771e-06/1.359, allocations: 5.422 kB / 1.293 GB, free: 11.86 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005969/1.365, allocations: 2.341 MB / 1.295 GB, free: 11.46 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008593/1.366, allocations: 316.5 kB / 1.296 GB, free: 11.29 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003729/1.366, allocations: 23.67 kB / 1.296 GB, free: 11.29 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001408/1.368, allocations: 130.3 kB / 1.296 GB, free: 11.28 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001628/1.368, allocations: 61.56 kB / 1.296 GB, free: 11.28 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.692e-05/1.368, allocations: 39.69 kB / 1.296 GB, free: 11.28 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001371/1.369, allocations: 0.8739 MB / 1.297 GB, free: 11.17 MB / 1.014 GB Notification: Performance of sort global known variables: time 2.51e-07/1.369, allocations: 0 / 1.297 GB, free: 11.17 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001369/1.371, allocations: 315.5 kB / 1.297 GB, free: 11.15 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 3 (heaHigPow.T,cooLimPow.T,heaCooUnl.T) * 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 (82): * Single equations (assignments): 76 * 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.001477/1.372, allocations: 0.5375 MB / 1.297 GB, free: 10.96 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.003799/1.376, allocations: 1.329 MB / 1.299 GB, free: 10.93 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 6.503e-06/1.376, allocations: 0 / 1.299 GB, free: 10.93 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.001798/1.378, allocations: 0.6688 MB / 1.299 GB, free: 10.91 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004096/1.382, allocations: 0.5917 MB / 1.3 GB, free: 10.86 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005859/1.388, allocations: 3.13 MB / 1.303 GB, free: 9.359 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008835/1.389, allocations: 1.175 MB / 1.304 GB, free: 8.637 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006203/1.389, allocations: 126.6 kB / 1.304 GB, free: 8.629 MB / 1.014 GB Notification: Performance of SimCode: time 7.41e-07/1.389, allocations: 0 / 1.304 GB, free: 8.629 MB / 1.014 GB Notification: Performance of Templates: time 0.0349/1.424, allocations: 20.68 MB / 1.324 GB, free: 2.609 MB / 1.014 GB make -j1 -f Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.makefile (rm -f Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe >> ../files/Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.sim & ./Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches