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.001333/0.001333, allocations: 108 kB / 15.61 MB, free: 152 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.001332/0.001333, allocations: 195.8 kB / 16.53 MB, free: 6.664 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.448/1.448, allocations: 222.9 MB / 240.2 MB, free: 4.402 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.744/2.744, allocations: 437 MB / 0.7104 GB, free: 5.098 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002182/0.002182, allocations: 59.91 kB / 0.8692 GB, free: 4.684 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6703/0.6725, allocations: 151.6 MB / 1.017 GB, free: 2.566 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.0357/0.7083, allocations: 29.35 MB / 1.046 GB, free: 5.113 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.01244/0.7208, allocations: 6.879 MB / 1.053 GB, free: 14.22 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001697/0.7225, allocations: 47.69 kB / 1.053 GB, free: 14.17 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.00191/0.7244, allocations: 0.6914 MB / 1.053 GB, free: 13.48 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.004493/0.729, allocations: 1.458 MB / 1.055 GB, free: 12.01 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.003273/0.7323, allocations: 1.146 MB / 1.056 GB, free: 10.87 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.003805/0.7361, allocations: 2.477 MB / 1.058 GB, free: 8.383 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001312/0.7374, allocations: 0.7806 MB / 1.059 GB, free: 7.594 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002269/0.7397, allocations: 1.016 MB / 1.06 GB, free: 6.574 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00126/0.741, allocations: 0.813 MB / 1.061 GB, free: 5.758 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.0001386/0.7411, allocations: 68 kB / 1.061 GB, free: 5.691 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002291/0.7434, allocations: 0.8148 MB / 1.062 GB, free: 4.875 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0003608/0.7438, allocations: 275 kB / 1.062 GB, free: 4.605 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0007097/0.7445, allocations: 0.5475 MB / 1.063 GB, free: 4.055 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.002779/0.7473, allocations: 1.596 MB / 1.064 GB, free: 2.453 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.7473, allocations: 0 / 1.064 GB, free: 2.453 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.205e-06/0.7473, allocations: 0 / 1.064 GB, free: 2.453 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.627e-05/0.7473, allocations: 0 / 1.064 GB, free: 2.453 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.002887/0.7502, allocations: 1.558 MB / 1.066 GB, free: 0.8359 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.446e-05/0.7503, allocations: 12.03 kB / 1.066 GB, free: 0.8242 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003706/0.754, allocations: 0.5923 MB / 1.066 GB, free: 236 kB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001477/0.7555, allocations: 0.8055 MB / 1.067 GB, free: 15.37 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.574e-05/0.7556, allocations: 62.38 kB / 1.067 GB, free: 15.31 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001431/0.7557, allocations: 71.94 kB / 1.067 GB, free: 15.24 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002712/0.7584, allocations: 1.096 MB / 1.068 GB, free: 14.07 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.263e-05/0.7585, allocations: 7.938 kB / 1.068 GB, free: 14.06 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.513e-05/0.7586, allocations: 35.98 kB / 1.068 GB, free: 14.02 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.363e-05/0.7586, allocations: 16 kB / 1.068 GB, free: 14.01 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003303/0.7619, allocations: 1 MB / 1.069 GB, free: 13 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.006938/0.7689, allocations: 4.959 MB / 1.074 GB, free: 7.754 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003142/0.772, allocations: 0.8919 MB / 1.075 GB, free: 6.855 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001686/0.7737, allocations: 498.4 kB / 1.075 GB, free: 6.363 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00197/0.7757, allocations: 1.587 MB / 1.077 GB, free: 4.426 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00177/0.7775, allocations: 0.5766 MB / 1.078 GB, free: 3.84 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=61): time 3.065e-06/0.7775, allocations: 0 / 1.078 GB, free: 3.84 MB / 0.8262 GB Notification: Performance of matching and sorting (n=61): time 0.005229/0.7827, allocations: 1.481 MB / 1.079 GB, free: 2.352 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.896e-05/0.7828, allocations: 59.97 kB / 1.079 GB, free: 2.281 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001528/0.7843, allocations: 1.116 MB / 1.08 GB, free: 1.152 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 8.661e-05/0.7844, allocations: 45.69 kB / 1.08 GB, free: 1.102 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005284/0.785, allocations: 0.5472 MB / 1.081 GB, free: 0.5469 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002156/0.7852, allocations: 205.1 kB / 1.081 GB, free: 352 kB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002785/0.7855, allocations: 170.5 kB / 1.081 GB, free: 176 kB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0002733/0.7858, allocations: 337.9 kB / 1.081 GB, free: 15.84 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00152/0.7873, allocations: 445.6 kB / 1.082 GB, free: 15.4 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001804/0.7891, allocations: 0.7242 MB / 1.083 GB, free: 14.56 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003349/0.7925, allocations: 1.117 MB / 1.084 GB, free: 13.34 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.312e-06/0.7925, allocations: 3.938 kB / 1.084 GB, free: 13.33 MB / 0.8419 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.003864/0.7963, allocations: 1.271 MB / 1.085 GB, free: 12.06 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.368e-05/0.7964, allocations: 8.125 kB / 1.085 GB, free: 12.05 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.483e-05/0.7964, allocations: 12 kB / 1.085 GB, free: 12.04 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.102e-05/0.7964, allocations: 12 kB / 1.085 GB, free: 12.03 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001318/0.7978, allocations: 271.5 kB / 1.085 GB, free: 11.76 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.36e-05/0.7978, allocations: 19.92 kB / 1.085 GB, free: 11.74 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00123/0.799, allocations: 182.9 kB / 1.085 GB, free: 11.56 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001009/0.7991, allocations: 47.97 kB / 1.085 GB, free: 11.52 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.0004935/0.7996, allocations: 288.4 kB / 1.086 GB, free: 11.22 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001908/0.7998, allocations: 122.5 kB / 1.086 GB, free: 11.1 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004078/0.8039, allocations: 1.363 MB / 1.087 GB, free: 9.73 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.523e-05/0.804, allocations: 8 kB / 1.087 GB, free: 9.723 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.74e-06/0.804, allocations: 0 / 1.087 GB, free: 9.723 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.066e-05/0.804, allocations: 3.984 kB / 1.087 GB, free: 9.719 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005371/0.8094, allocations: 2.366 MB / 1.089 GB, free: 7.277 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.089e-05/0.8094, allocations: 4 kB / 1.089 GB, free: 7.273 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001111/0.8105, allocations: 191.8 kB / 1.09 GB, free: 7.086 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.027e-05/0.8105, allocations: 4 kB / 1.09 GB, free: 7.082 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.8e-05/0.8106, allocations: 27.97 kB / 1.09 GB, free: 7.055 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.633e-06/0.8106, allocations: 4 kB / 1.09 GB, free: 7.051 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.8106, allocations: 4 kB / 1.09 GB, free: 7.047 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005569/0.8162, allocations: 1.977 MB / 1.092 GB, free: 5.031 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004926/0.8167, allocations: 279.3 kB / 1.092 GB, free: 4.738 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001582/0.8169, allocations: 15.98 kB / 1.092 GB, free: 4.723 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009598/0.8178, allocations: 104 kB / 1.092 GB, free: 4.621 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001313/0.818, allocations: 56.42 kB / 1.092 GB, free: 4.566 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.472e-05/0.8181, allocations: 39.97 kB / 1.092 GB, free: 4.527 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.001048/0.8191, allocations: 0.7637 MB / 1.093 GB, free: 3.758 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8191, allocations: 8 kB / 1.093 GB, free: 3.75 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.001101/0.8202, allocations: 343.6 kB / 1.093 GB, free: 3.414 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.00208/0.8223, allocations: 0.655 MB / 1.094 GB, free: 2.918 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.003857/0.8262, allocations: 1.181 MB / 1.095 GB, free: 1.738 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 4.929e-06/0.8262, allocations: 4 kB / 1.095 GB, free: 1.734 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.001733/0.828, allocations: 0.5697 MB / 1.095 GB, free: 1.164 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002005/0.83, allocations: 459.7 kB / 1.096 GB, free: 0.7266 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005038/0.835, allocations: 2.353 MB / 1.098 GB, free: 14.32 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007828/0.8358, allocations: 1.111 MB / 1.099 GB, free: 13.18 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0009783/0.8368, allocations: 252.6 kB / 1.1 GB, free: 12.93 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003028/0.8371, allocations: 107.4 kB / 1.1 GB, free: 12.83 MB / 0.8575 GB Notification: Performance of SimCode: time 5.71e-07/0.8371, allocations: 0 / 1.1 GB, free: 12.83 MB / 0.8575 GB Notification: Performance of Templates: time 0.03896/0.8761, allocations: 19.9 MB / 1.119 GB, free: 9.211 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=400 -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