Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001358/0.001358, allocations: 108 kB / 15.61 MB, free: 148 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.001303/0.001303, allocations: 195.3 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.374/1.374, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.471/2.471, allocations: 390.2 MB / 0.6646 GB, free: 420 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001433/0.001433, allocations: 71.88 kB / 0.8125 GB, free: 14.45 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7321/0.7336, allocations: 140.3 MB / 0.9496 GB, free: 9.207 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.03335/0.767, allocations: 29.33 MB / 0.9782 GB, free: 1.613 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.01158/0.7786, allocations: 6.882 MB / 0.9849 GB, free: 12.01 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001824/0.7805, allocations: 46.56 kB / 0.985 GB, free: 11.99 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.001836/0.7824, allocations: 0.6929 MB / 0.9857 GB, free: 11.47 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.004333/0.7867, allocations: 1.45 MB / 0.9871 GB, free: 10.35 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.003213/0.79, allocations: 1.148 MB / 0.9882 GB, free: 9.488 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.003624/0.7936, allocations: 2.466 MB / 0.9906 GB, free: 7.742 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00142/0.7951, allocations: 0.8001 MB / 0.9914 GB, free: 6.93 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002276/0.7973, allocations: 1.016 MB / 0.9924 GB, free: 5.91 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001256/0.7986, allocations: 0.8091 MB / 0.9932 GB, free: 5.098 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0001457/0.7988, allocations: 64 kB / 0.9932 GB, free: 5.035 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001962/0.8007, allocations: 0.8148 MB / 0.994 GB, free: 4.219 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0002894/0.801, allocations: 278.9 kB / 0.9943 GB, free: 3.945 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0006168/0.8017, allocations: 0.5476 MB / 0.9948 GB, free: 3.395 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.002377/0.804, allocations: 1.589 MB / 0.9964 GB, free: 1.801 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 7.373e-06/0.8041, allocations: 4 kB / 0.9964 GB, free: 1.797 MB / 0.7481 GB Notification: Performance of FrontEnd: time 2.114e-06/0.8041, allocations: 0 / 0.9964 GB, free: 1.797 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 1.599e-05/0.8041, allocations: 0 / 0.9964 GB, free: 1.797 MB / 0.7481 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.002751/0.8069, allocations: 1.57 MB / 0.9979 GB, free: 176 kB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.352e-05/0.8069, allocations: 12.03 kB / 0.9979 GB, free: 164 kB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003696/0.8106, allocations: 0.5846 MB / 0.9985 GB, free: 15.57 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00134/0.812, allocations: 0.8133 MB / 0.9993 GB, free: 14.71 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.477e-05/0.8121, allocations: 58.38 kB / 0.9993 GB, free: 14.65 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001296/0.8122, allocations: 79.84 kB / 0.9994 GB, free: 14.57 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002519/0.8147, allocations: 1.092 MB / 1 GB, free: 13.4 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.139e-05/0.8148, allocations: 3.938 kB / 1 GB, free: 13.39 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.09e-05/0.8148, allocations: 31.98 kB / 1.001 GB, free: 13.36 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.922e-05/0.8149, allocations: 24 kB / 1.001 GB, free: 13.34 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003178/0.8181, allocations: 0.9962 MB / 1.002 GB, free: 12.34 MB / 0.7637 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.006064/0.8241, allocations: 4.955 MB / 1.006 GB, free: 7.094 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003017/0.8272, allocations: 0.9028 MB / 1.007 GB, free: 6.184 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001488/0.8287, allocations: 489.5 kB / 1.008 GB, free: 5.703 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001482/0.8302, allocations: 1.595 MB / 1.009 GB, free: 3.758 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001752/0.8319, allocations: 0.5728 MB / 1.01 GB, free: 3.176 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=61): time 3.597e-06/0.8319, allocations: 0 / 1.01 GB, free: 3.176 MB / 0.7637 GB Notification: Performance of matching and sorting (n=61): time 0.005018/0.837, allocations: 1.481 MB / 1.011 GB, free: 1.688 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.43e-05/0.837, allocations: 63.97 kB / 1.011 GB, free: 1.613 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001334/0.8384, allocations: 1.116 MB / 1.012 GB, free: 496 kB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 8.158e-05/0.8385, allocations: 45.7 kB / 1.012 GB, free: 444 kB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004289/0.8389, allocations: 0.5473 MB / 1.013 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002063/0.8391, allocations: 205.1 kB / 1.013 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002579/0.8394, allocations: 162.5 kB / 1.013 GB, free: 15.51 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001345/0.8395, allocations: 337.9 kB / 1.014 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001509/0.841, allocations: 445.6 kB / 1.014 GB, free: 14.74 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001739/0.8428, allocations: 0.7203 MB / 1.015 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003086/0.8459, allocations: 1.117 MB / 1.016 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.892e-06/0.8459, allocations: 4 kB / 1.016 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.003785/0.8497, allocations: 1.274 MB / 1.017 GB, free: 11.4 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.686e-05/0.8498, allocations: 9.25 kB / 1.017 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.345e-05/0.8498, allocations: 12.09 kB / 1.017 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.953e-05/0.8498, allocations: 12 kB / 1.017 GB, free: 11.37 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001272/0.8511, allocations: 271.6 kB / 1.017 GB, free: 11.1 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.969e-05/0.8511, allocations: 19.94 kB / 1.017 GB, free: 11.08 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001262/0.8524, allocations: 175 kB / 1.018 GB, free: 10.91 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.883e-05/0.8525, allocations: 51.97 kB / 1.018 GB, free: 10.86 MB / 0.7794 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.0004678/0.853, allocations: 291.7 kB / 1.018 GB, free: 10.56 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001972/0.8532, allocations: 122.4 kB / 1.018 GB, free: 10.44 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003989/0.8572, allocations: 1.367 MB / 1.019 GB, free: 9.066 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.699e-05/0.8572, allocations: 8 kB / 1.019 GB, free: 9.059 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.8572, allocations: 96 / 1.019 GB, free: 9.059 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.968e-06/0.8572, allocations: 7.922 kB / 1.019 GB, free: 9.051 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005298/0.8625, allocations: 2.378 MB / 1.022 GB, free: 6.598 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.004e-05/0.8626, allocations: 4 kB / 1.022 GB, free: 6.594 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001066/0.8636, allocations: 183.8 kB / 1.022 GB, free: 6.414 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.143e-05/0.8637, allocations: 8 kB / 1.022 GB, free: 6.406 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.541e-05/0.8637, allocations: 23.97 kB / 1.022 GB, free: 6.383 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.602e-06/0.8637, allocations: 4 kB / 1.022 GB, free: 6.379 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.8638, allocations: 4 kB / 1.022 GB, free: 6.375 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005316/0.8691, allocations: 1.973 MB / 1.024 GB, free: 4.363 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005089/0.8696, allocations: 279.3 kB / 1.024 GB, free: 4.07 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001584/0.8698, allocations: 15.98 kB / 1.024 GB, free: 4.055 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009704/0.8708, allocations: 107.9 kB / 1.024 GB, free: 3.949 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001205/0.8709, allocations: 56.38 kB / 1.024 GB, free: 3.895 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.448e-05/0.871, allocations: 31.97 kB / 1.024 GB, free: 3.863 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0009881/0.872, allocations: 0.7677 MB / 1.025 GB, free: 3.09 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.4e-07/0.872, allocations: 0 / 1.025 GB, free: 3.09 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.001164/0.8731, allocations: 351.5 kB / 1.025 GB, free: 2.746 MB / 0.7794 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.001729/0.8749, allocations: 0.6641 MB / 1.026 GB, free: 2.242 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.003952/0.8788, allocations: 1.177 MB / 1.027 GB, free: 1.07 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 6.031e-06/0.8789, allocations: 0 / 1.027 GB, free: 1.07 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.001684/0.8805, allocations: 0.5774 MB / 1.028 GB, free: 0.4922 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002151/0.8827, allocations: 456.3 kB / 1.028 GB, free: 56 kB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005162/0.8879, allocations: 2.361 MB / 1.031 GB, free: 13.64 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007069/0.8886, allocations: 1.108 MB / 1.032 GB, free: 12.5 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.001084/0.8897, allocations: 244.6 kB / 1.032 GB, free: 12.26 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000308/0.89, allocations: 111.4 kB / 1.032 GB, free: 12.15 MB / 0.795 GB Notification: Performance of SimCode: time 1.062e-06/0.89, allocations: 0 / 1.032 GB, free: 12.15 MB / 0.795 GB Notification: Performance of Templates: time 0.03429/0.9243, allocations: 19.88 MB / 1.051 GB, free: 8.559 MB / 0.8106 GB make -j1 -f Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.makefile (rm -f Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; mkfifo Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe >> ../files/Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.sim & ./Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_Water.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches