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.001441/0.001441, 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.001756/0.001756, allocations: 191.5 kB / 16.14 MB, free: 6.719 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.377/1.377, allocations: 222.9 MB / 239.8 MB, free: 4.598 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.325/2.325, allocations: 390.2 MB / 0.6642 GB, free: 0.6055 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00219/0.00219, allocations: 59.91 kB / 0.8118 GB, free: 14.9 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8469/0.8491, allocations: 140.3 MB / 0.9489 GB, free: 9.176 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.02931/0.8784, allocations: 29.19 MB / 0.9774 GB, free: 1.777 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0107/0.8892, allocations: 6.894 MB / 0.9841 GB, free: 12.2 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001379/0.8906, allocations: 42.47 kB / 0.9842 GB, free: 12.18 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.001528/0.8922, allocations: 0.5965 MB / 0.9848 GB, free: 11.75 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.003048/0.8952, allocations: 1.353 MB / 0.9861 GB, free: 10.71 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.002562/0.8978, allocations: 1.036 MB / 0.9871 GB, free: 9.965 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.003337/0.9011, allocations: 3.218 MB / 0.9902 GB, free: 7.707 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001251/0.9024, allocations: 0.7211 MB / 0.9909 GB, free: 6.973 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001986/0.9044, allocations: 0.9373 MB / 0.9919 GB, free: 6.031 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001351/0.9058, allocations: 0.8402 MB / 0.9927 GB, free: 5.188 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0002162/0.906, allocations: 44 kB / 0.9927 GB, free: 5.145 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001916/0.9079, allocations: 0.7638 MB / 0.9935 GB, free: 4.379 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0003902/0.9083, allocations: 258.9 kB / 0.9937 GB, free: 4.125 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0008616/0.9092, allocations: 0.5359 MB / 0.9942 GB, free: 3.586 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.002463/0.9117, allocations: 1.565 MB / 0.9958 GB, free: 2.016 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 7.444e-06/0.9117, allocations: 4 kB / 0.9958 GB, free: 2.012 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.383e-06/0.9117, allocations: 4 kB / 0.9958 GB, free: 2.008 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 4.736e-05/0.9117, allocations: 0 / 0.9958 GB, free: 2.008 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.003028/0.9148, allocations: 1.566 MB / 0.9973 GB, free: 392 kB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.907e-05/0.9148, allocations: 12.03 kB / 0.9973 GB, free: 380 kB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003718/0.9186, allocations: 0.5846 MB / 0.9979 GB, free: 15.79 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001358/0.9199, allocations: 0.8017 MB / 0.9987 GB, free: 14.93 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.753e-05/0.92, allocations: 54.38 kB / 0.9987 GB, free: 14.88 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001413/0.9201, allocations: 87.83 kB / 0.9988 GB, free: 14.79 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002543/0.9227, allocations: 1.099 MB / 0.9999 GB, free: 13.61 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.782e-05/0.9227, allocations: 3.938 kB / 0.9999 GB, free: 13.61 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.124e-05/0.9228, allocations: 28 kB / 0.9999 GB, free: 13.58 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.133e-05/0.9229, allocations: 20 kB / 0.9999 GB, free: 13.56 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003164/0.926, allocations: 1 MB / 1.001 GB, free: 12.55 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.005851/0.9319, allocations: 4.935 MB / 1.006 GB, free: 7.332 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002915/0.9348, allocations: 0.9028 MB / 1.007 GB, free: 6.422 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001458/0.9363, allocations: 490.1 kB / 1.007 GB, free: 5.938 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00153/0.9378, allocations: 1.592 MB / 1.009 GB, free: 3.996 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001737/0.9396, allocations: 0.5806 MB / 1.009 GB, free: 3.402 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=61): time 2.876e-06/0.9396, allocations: 0 / 1.009 GB, free: 3.402 MB / 0.7637 GB Notification: Performance of matching and sorting (n=61): time 0.004778/0.9444, allocations: 1.481 MB / 1.011 GB, free: 1.914 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.788e-05/0.9444, allocations: 59.97 kB / 1.011 GB, free: 1.844 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001455/0.9459, allocations: 1.116 MB / 1.012 GB, free: 0.7148 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 7.359e-05/0.946, allocations: 41.7 kB / 1.012 GB, free: 0.668 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004886/0.9465, allocations: 0.5472 MB / 1.012 GB, free: 116 kB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.000202/0.9467, allocations: 205.4 kB / 1.013 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002694/0.947, allocations: 166.5 kB / 1.013 GB, free: 15.74 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001651/0.9471, allocations: 341.9 kB / 1.013 GB, free: 15.4 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001563/0.9487, allocations: 441.6 kB / 1.013 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001737/0.9505, allocations: 0.7242 MB / 1.014 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003133/0.9536, allocations: 1.12 MB / 1.015 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.245e-06/0.9536, allocations: 0 / 1.015 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.003637/0.9573, allocations: 1.274 MB / 1.017 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 3.066e-05/0.9573, allocations: 11.98 kB / 1.017 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.639e-05/0.9573, allocations: 8 kB / 1.017 GB, free: 11.6 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.241e-05/0.9574, allocations: 12 kB / 1.017 GB, free: 11.59 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001239/0.9586, allocations: 268 kB / 1.017 GB, free: 11.33 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.602e-05/0.9587, allocations: 19.92 kB / 1.017 GB, free: 11.31 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001256/0.9599, allocations: 198.9 kB / 1.017 GB, free: 11.11 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001044/0.96, allocations: 43.98 kB / 1.017 GB, free: 11.07 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.0004579/0.9605, allocations: 292.3 kB / 1.017 GB, free: 10.78 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002276/0.9607, allocations: 122.4 kB / 1.017 GB, free: 10.66 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003889/0.9646, allocations: 1.367 MB / 1.019 GB, free: 9.281 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.869e-05/0.9647, allocations: 8 kB / 1.019 GB, free: 9.273 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.447e-06/0.9647, allocations: 3.984 kB / 1.019 GB, free: 9.27 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.464e-06/0.9647, allocations: 0 / 1.019 GB, free: 9.27 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005195/0.9699, allocations: 2.381 MB / 1.021 GB, free: 6.816 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.178e-06/0.9699, allocations: 8.172 kB / 1.021 GB, free: 6.809 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001065/0.971, allocations: 183.8 kB / 1.021 GB, free: 6.629 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.425e-05/0.971, allocations: 4 kB / 1.021 GB, free: 6.625 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.862e-05/0.9711, allocations: 23.97 kB / 1.021 GB, free: 6.602 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.877e-06/0.9711, allocations: 8.031 kB / 1.021 GB, free: 6.594 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.178e-06/0.9711, allocations: 7.938 kB / 1.021 GB, free: 6.586 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00534/0.9765, allocations: 1.973 MB / 1.023 GB, free: 4.578 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005167/0.977, allocations: 283.2 kB / 1.024 GB, free: 4.281 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002404/0.9773, allocations: 16 kB / 1.024 GB, free: 4.266 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001089/0.9784, allocations: 119.8 kB / 1.024 GB, free: 4.148 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001157/0.9785, allocations: 56.42 kB / 1.024 GB, free: 4.094 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.517e-05/0.9786, allocations: 31.97 kB / 1.024 GB, free: 4.062 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.001075/0.9797, allocations: 0.7677 MB / 1.025 GB, free: 3.289 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9797, allocations: 0 / 1.025 GB, free: 3.289 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.001123/0.9808, allocations: 343.6 kB / 1.025 GB, free: 2.953 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.001724/0.9825, allocations: 0.662 MB / 1.025 GB, free: 2.449 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.003609/0.9862, allocations: 1.107 MB / 1.027 GB, free: 1.34 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.9862, allocations: 0 / 1.027 GB, free: 1.34 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.001759/0.988, allocations: 0.5775 MB / 1.027 GB, free: 0.7656 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002331/0.9903, allocations: 425.3 kB / 1.028 GB, free: 360 kB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005644/0.996, allocations: 2.726 MB / 1.03 GB, free: 13.58 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008548/0.9968, allocations: 1.104 MB / 1.031 GB, free: 12.45 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.001196/0.998, allocations: 244.6 kB / 1.032 GB, free: 12.2 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003633/0.9984, allocations: 103.4 kB / 1.032 GB, free: 12.1 MB / 0.795 GB Notification: Performance of SimCode: time 6.32e-07/0.9984, allocations: 3.938 kB / 1.032 GB, free: 12.1 MB / 0.795 GB Notification: Performance of Templates: time 0.03557/1.034, allocations: 19.07 MB / 1.05 GB, free: 9.301 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