Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_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_10_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.001168/0.001168, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001165/0.001165, allocations: 195.4 kB / 16.14 MB, free: 6.711 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 / 239.8 MB, free: 4.625 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.723/2.723, allocations: 437 MB / 0.7099 GB, free: 5.336 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001615/0.001615, allocations: 67.91 kB / 0.8685 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8065/0.8081, allocations: 151.6 MB / 1.017 GB, free: 2.789 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.03198/0.8402, allocations: 29.18 MB / 1.045 GB, free: 5.5 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.01196/0.8522, allocations: 6.903 MB / 1.052 GB, free: 14.58 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001906/0.8542, allocations: 43.69 kB / 1.052 GB, free: 14.54 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.00206/0.8562, allocations: 0.5948 MB / 1.052 GB, free: 13.94 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.004468/0.8608, allocations: 1.346 MB / 1.054 GB, free: 12.59 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.003393/0.8642, allocations: 1.044 MB / 1.055 GB, free: 11.55 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.004791/0.869, allocations: 3.218 MB / 1.058 GB, free: 8.32 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002078/0.8711, allocations: 0.7211 MB / 1.059 GB, free: 7.59 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002806/0.8739, allocations: 0.9373 MB / 1.06 GB, free: 6.648 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002576/0.8765, allocations: 0.8286 MB / 1.06 GB, free: 5.816 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.0005675/0.8771, allocations: 40 kB / 1.06 GB, free: 5.777 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003489/0.8806, allocations: 0.7639 MB / 1.061 GB, free: 5.012 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0006939/0.8813, allocations: 266.8 kB / 1.061 GB, free: 4.75 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.001397/0.8827, allocations: 0.5358 MB / 1.062 GB, free: 4.211 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.003819/0.8865, allocations: 1.573 MB / 1.063 GB, free: 2.633 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 7.094e-06/0.8866, allocations: 0 / 1.063 GB, free: 2.633 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.162e-06/0.8866, allocations: 4 kB / 1.063 GB, free: 2.629 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 7.219e-05/0.8867, allocations: 0 / 1.063 GB, free: 2.629 MB / 0.8106 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.003443/0.8901, allocations: 1.562 MB / 1.065 GB, free: 1.012 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.987e-05/0.8902, allocations: 8.031 kB / 1.065 GB, free: 1.004 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003602/0.8938, allocations: 0.5923 MB / 1.066 GB, free: 420 kB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001518/0.8953, allocations: 0.8017 MB / 1.066 GB, free: 15.55 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.659e-05/0.8954, allocations: 54.38 kB / 1.066 GB, free: 15.5 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001366/0.8955, allocations: 83.94 kB / 1.067 GB, free: 15.42 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002469/0.898, allocations: 1.098 MB / 1.068 GB, free: 14.24 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.787e-05/0.898, allocations: 0 / 1.068 GB, free: 14.24 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.435e-05/0.8981, allocations: 39.98 kB / 1.068 GB, free: 14.2 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.063e-05/0.8981, allocations: 20 kB / 1.068 GB, free: 14.18 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003014/0.9012, allocations: 1 MB / 1.069 GB, free: 13.18 MB / 0.8262 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.006113/0.9073, allocations: 4.935 MB / 1.073 GB, free: 7.957 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003017/0.9103, allocations: 0.9036 MB / 1.074 GB, free: 7.047 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001481/0.9118, allocations: 490.4 kB / 1.075 GB, free: 6.562 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001705/0.9135, allocations: 1.587 MB / 1.076 GB, free: 4.625 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001798/0.9153, allocations: 0.5767 MB / 1.077 GB, free: 4.035 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=61): time 3.938e-06/0.9154, allocations: 4 kB / 1.077 GB, free: 4.031 MB / 0.8262 GB Notification: Performance of matching and sorting (n=61): time 0.00484/0.9202, allocations: 1.485 MB / 1.078 GB, free: 2.543 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.505e-05/0.9203, allocations: 59.97 kB / 1.078 GB, free: 2.473 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001455/0.9217, allocations: 1.112 MB / 1.079 GB, free: 1.348 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 7.669e-05/0.9218, allocations: 37.7 kB / 1.08 GB, free: 1.305 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004666/0.9223, allocations: 0.5511 MB / 1.08 GB, free: 0.7461 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002186/0.9225, allocations: 209.2 kB / 1.08 GB, free: 0.5391 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002768/0.9228, allocations: 166.4 kB / 1.08 GB, free: 380 kB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001509/0.923, allocations: 337.9 kB / 1.081 GB, free: 36 kB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001493/0.9245, allocations: 449.6 kB / 1.081 GB, free: 15.59 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001756/0.9262, allocations: 0.7125 MB / 1.082 GB, free: 14.77 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003063/0.9293, allocations: 1.124 MB / 1.083 GB, free: 13.53 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.686e-06/0.9293, allocations: 4 kB / 1.083 GB, free: 13.53 MB / 0.8419 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.003798/0.9331, allocations: 1.27 MB / 1.084 GB, free: 12.25 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.846e-05/0.9332, allocations: 8 kB / 1.084 GB, free: 12.24 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.815e-05/0.9332, allocations: 11.98 kB / 1.084 GB, free: 12.23 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.191e-05/0.9332, allocations: 12 kB / 1.084 GB, free: 12.22 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001313/0.9346, allocations: 272 kB / 1.084 GB, free: 11.95 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.666e-05/0.9346, allocations: 19.92 kB / 1.085 GB, free: 11.93 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001455/0.9361, allocations: 202.9 kB / 1.085 GB, free: 11.73 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001365/0.9362, allocations: 52.06 kB / 1.085 GB, free: 11.68 MB / 0.8419 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.0007084/0.9369, allocations: 287.7 kB / 1.085 GB, free: 11.39 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003482/0.9373, allocations: 126.4 kB / 1.085 GB, free: 11.27 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004167/0.9414, allocations: 1.359 MB / 1.086 GB, free: 9.902 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.403e-05/0.9415, allocations: 11.94 kB / 1.086 GB, free: 9.891 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.658e-06/0.9415, allocations: 0 / 1.086 GB, free: 9.891 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.181e-05/0.9415, allocations: 3.984 kB / 1.086 GB, free: 9.887 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006136/0.9477, allocations: 2.362 MB / 1.089 GB, free: 7.449 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.809e-06/0.9477, allocations: 8.188 kB / 1.089 GB, free: 7.441 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001046/0.9487, allocations: 187.7 kB / 1.089 GB, free: 7.258 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.722e-05/0.9488, allocations: 4 kB / 1.089 GB, free: 7.254 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.634e-05/0.9489, allocations: 31.97 kB / 1.089 GB, free: 7.223 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.074e-05/0.9489, allocations: 4 kB / 1.089 GB, free: 7.219 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.051e-06/0.9489, allocations: 3.938 kB / 1.089 GB, free: 7.215 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00556/0.9545, allocations: 1.977 MB / 1.091 GB, free: 5.203 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005666/0.955, allocations: 275.3 kB / 1.091 GB, free: 4.914 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000271/0.9553, allocations: 19.98 kB / 1.091 GB, free: 4.895 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001104/0.9564, allocations: 119.9 kB / 1.091 GB, free: 4.777 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001391/0.9566, allocations: 52.38 kB / 1.091 GB, free: 4.727 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.61e-05/0.9567, allocations: 35.97 kB / 1.091 GB, free: 4.691 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.001209/0.9579, allocations: 0.7716 MB / 1.092 GB, free: 3.914 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9579, allocations: 0 / 1.092 GB, free: 3.914 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.001413/0.9593, allocations: 339.6 kB / 1.093 GB, free: 3.582 MB / 0.8419 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.001882/0.9612, allocations: 0.6601 MB / 1.093 GB, free: 3.082 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.003649/0.9649, allocations: 1.099 MB / 1.094 GB, free: 1.984 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 7.494e-06/0.9649, allocations: 4 kB / 1.094 GB, free: 1.98 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.001724/0.9666, allocations: 0.5775 MB / 1.095 GB, free: 1.402 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002302/0.9689, allocations: 422.3 kB / 1.095 GB, free: 0.9883 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005526/0.9745, allocations: 2.73 MB / 1.098 GB, free: 14.21 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008436/0.9753, allocations: 1.104 MB / 1.099 GB, free: 13.08 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.001152/0.9765, allocations: 240.6 kB / 1.099 GB, free: 12.84 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003995/0.9769, allocations: 111.3 kB / 1.099 GB, free: 12.73 MB / 0.8575 GB Notification: Performance of SimCode: time 1.062e-06/0.9769, allocations: 0 / 1.099 GB, free: 12.73 MB / 0.8575 GB Notification: Performance of Templates: time 0.03653/1.013, allocations: 19.06 MB / 1.118 GB, free: 9.941 MB / 0.8731 GB make -j1 -f Buildings_10_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.makefile (rm -f Buildings_10_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; mkfifo Buildings_10_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe >> ../files/Buildings_10_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.sim & ./Buildings_10_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_Water.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches