Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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_Water,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|heaHigPow.mWat_flow|cooLimPow.mWat_flow|heaCooUnl.mWat_flow|steSta.mWat_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water") translateModel(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water,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|heaHigPow.mWat_flow|cooLimPow.mWat_flow|heaCooUnl.mWat_flow|steSta.mWat_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00149/0.00149, allocations: 103.8 kB / 16.41 MB, free: 6.016 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.001449/0.001449, allocations: 192.3 kB / 17.34 MB, free: 5.609 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.396/1.396, 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 11.0.1-master/package.mo): time 2.657/2.657, allocations: 461.9 MB / 0.7354 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001526/0.001526, allocations: 60.36 kB / 1.055 GB, free: 7.625 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9518/0.9534, allocations: 157.4 MB / 1.208 GB, free: 13.55 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.02977/0.9832, allocations: 29.33 MB / 1.237 GB, free: 120 kB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.01136/0.9946, allocations: 6.881 MB / 1.244 GB, free: 9.219 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001715/0.9963, allocations: 47.69 kB / 1.244 GB, free: 9.172 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.001941/0.9983, allocations: 0.6914 MB / 1.245 GB, free: 8.477 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.004847/1.003, allocations: 1.458 MB / 1.246 GB, free: 7.012 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.003476/1.007, allocations: 1.155 MB / 1.247 GB, free: 5.863 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.003952/1.011, allocations: 2.481 MB / 1.25 GB, free: 3.379 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001223/1.012, allocations: 0.7902 MB / 1.25 GB, free: 2.574 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002102/1.014, allocations: 1.035 MB / 1.251 GB, free: 1.535 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001239/1.015, allocations: 0.8208 MB / 1.252 GB, free: 0.7109 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0001403/1.015, allocations: 64 kB / 1.252 GB, free: 0.6484 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002121/1.018, allocations: 0.8188 MB / 1.253 GB, free: 15.83 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0003362/1.018, allocations: 275 kB / 1.253 GB, free: 15.56 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0007392/1.019, allocations: 0.5553 MB / 1.254 GB, free: 15 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.002803/1.021, allocations: 1.61 MB / 1.255 GB, free: 13.39 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.192e-06/1.021, allocations: 0 / 1.255 GB, free: 13.39 MB / 0.9825 GB Notification: Performance of FrontEnd: time 3.326e-06/1.021, allocations: 0 / 1.255 GB, free: 13.39 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 2.637e-05/1.022, allocations: 0 / 1.255 GB, free: 13.39 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 176 * Number of variables: 176 Notification: Performance of Generate backend data structure: time 0.002761/1.024, allocations: 1.578 MB / 1.257 GB, free: 11.75 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.814e-05/1.024, allocations: 8.031 kB / 1.257 GB, free: 11.75 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003464/1.028, allocations: 0.5845 MB / 1.257 GB, free: 11.16 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001469/1.029, allocations: 0.868 MB / 1.258 GB, free: 10.24 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.568e-05/1.029, allocations: 58.3 kB / 1.258 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001321/1.029, allocations: 83.88 kB / 1.258 GB, free: 10.1 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002459/1.032, allocations: 1.099 MB / 1.26 GB, free: 8.918 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.563e-05/1.032, allocations: 3.938 kB / 1.26 GB, free: 8.914 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.249e-05/1.032, allocations: 31.94 kB / 1.26 GB, free: 8.883 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.989e-05/1.032, allocations: 20 kB / 1.26 GB, free: 8.863 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003008/1.035, allocations: 1 MB / 1.261 GB, free: 7.863 MB / 0.9825 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.005376/1.041, allocations: 4.935 MB / 1.265 GB, free: 2.637 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002984/1.044, allocations: 0.9092 MB / 1.266 GB, free: 1.723 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001498/1.045, allocations: 490.1 kB / 1.267 GB, free: 1.242 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001448/1.046, allocations: 1.592 MB / 1.268 GB, free: 15.3 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001695/1.048, allocations: 0.5728 MB / 1.269 GB, free: 14.71 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=61): time 2.655e-06/1.048, allocations: 0 / 1.269 GB, free: 14.71 MB / 0.9981 GB Notification: Performance of matching and sorting (n=61): time 0.004843/1.053, allocations: 1.489 MB / 1.27 GB, free: 13.22 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.15e-05/1.053, allocations: 55.97 kB / 1.27 GB, free: 13.15 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001314/1.054, allocations: 1.116 MB / 1.271 GB, free: 12.02 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 8.542e-05/1.055, allocations: 41.7 kB / 1.271 GB, free: 11.98 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004326/1.055, allocations: 0.5395 MB / 1.272 GB, free: 11.43 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001897/1.055, allocations: 221 kB / 1.272 GB, free: 11.21 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000245/1.055, allocations: 158.5 kB / 1.272 GB, free: 11.05 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001244/1.056, allocations: 338 kB / 1.273 GB, free: 10.71 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001462/1.057, allocations: 449.6 kB / 1.273 GB, free: 10.27 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00171/1.059, allocations: 0.7128 MB / 1.274 GB, free: 9.449 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003068/1.062, allocations: 1.12 MB / 1.275 GB, free: 8.219 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.253e-06/1.062, allocations: 4 kB / 1.275 GB, free: 8.215 MB / 0.9981 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.003679/1.066, allocations: 1.278 MB / 1.276 GB, free: 6.93 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.26e-05/1.066, allocations: 8 kB / 1.276 GB, free: 6.922 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.34e-05/1.066, allocations: 8 kB / 1.276 GB, free: 6.914 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.372e-05/1.066, allocations: 12 kB / 1.276 GB, free: 6.902 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001243/1.067, allocations: 267.9 kB / 1.276 GB, free: 6.641 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.08e-05/1.067, allocations: 15.94 kB / 1.276 GB, free: 6.625 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001209/1.068, allocations: 179 kB / 1.277 GB, free: 6.449 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.007e-05/1.068, allocations: 47.98 kB / 1.277 GB, free: 6.402 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * 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 (100): * Single equations (assignments): 100 * 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.0004826/1.069, allocations: 303.7 kB / 1.277 GB, free: 6.098 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001925/1.069, allocations: 122.4 kB / 1.277 GB, free: 5.977 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003761/1.073, allocations: 1.355 MB / 1.278 GB, free: 4.613 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.829e-05/1.073, allocations: 11.98 kB / 1.278 GB, free: 4.602 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.552e-06/1.073, allocations: 0 / 1.278 GB, free: 4.602 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.037e-05/1.073, allocations: 3.984 kB / 1.278 GB, free: 4.598 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004929/1.078, allocations: 2.374 MB / 1.281 GB, free: 2.156 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.901e-06/1.078, allocations: 0 / 1.281 GB, free: 2.156 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001044/1.079, allocations: 187.7 kB / 1.281 GB, free: 1.973 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.416e-06/1.079, allocations: 4.094 kB / 1.281 GB, free: 1.969 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.205e-05/1.079, allocations: 31.91 kB / 1.281 GB, free: 1.938 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.523e-06/1.079, allocations: 4 kB / 1.281 GB, free: 1.934 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/1.079, allocations: 4 kB / 1.281 GB, free: 1.93 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00514/1.084, allocations: 1.981 MB / 1.283 GB, free: 15.91 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004106/1.084, allocations: 271.3 kB / 1.283 GB, free: 15.63 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001589/1.085, allocations: 20 kB / 1.283 GB, free: 15.61 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009548/1.086, allocations: 107.9 kB / 1.283 GB, free: 15.5 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001209/1.086, allocations: 52.44 kB / 1.283 GB, free: 15.45 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.608e-05/1.086, allocations: 31.97 kB / 1.283 GB, free: 15.42 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0009579/1.087, allocations: 0.7638 MB / 1.284 GB, free: 14.65 MB / 1.014 GB Notification: Performance of sort global known variables: time 2.01e-07/1.087, allocations: 0 / 1.284 GB, free: 14.65 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001147/1.088, allocations: 351.6 kB / 1.284 GB, free: 14.3 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (70): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * 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.001573/1.089, allocations: 0.6619 MB / 1.285 GB, free: 13.8 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.003428/1.093, allocations: 1.107 MB / 1.286 GB, free: 12.7 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 4.058e-06/1.093, allocations: 0 / 1.286 GB, free: 12.7 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.001658/1.095, allocations: 0.5775 MB / 1.287 GB, free: 12.12 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002261/1.097, allocations: 448.4 kB / 1.287 GB, free: 11.69 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005309/1.102, allocations: 2.39 MB / 1.289 GB, free: 9.246 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007677/1.103, allocations: 1.1 MB / 1.291 GB, free: 8.109 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004968/1.103, allocations: 123.4 kB / 1.291 GB, free: 7.992 MB / 1.014 GB Notification: Performance of SimCode: time 1.042e-06/1.104, allocations: 0 / 1.291 GB, free: 7.992 MB / 1.014 GB Notification: Performance of Templates: time 0.02967/1.133, allocations: 19.13 MB / 1.309 GB, free: 5.023 MB / 1.029 GB make -j1 -f Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.makefile (rm -f Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe >> ../files/Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.sim & ./Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_Water.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches