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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001065/0.001065, allocations: 102.4 kB / 16.35 MB, free: 5.875 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.001119/0.001119, allocations: 191 kB / 17.29 MB, free: 5.516 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.324/1.324, allocations: 222.9 MB / 241 MB, free: 14.98 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.178/2.178, allocations: 390.3 MB / 0.6655 GB, free: 0.6094 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00127/0.00127, allocations: 64.94 kB / 0.814 GB, free: 32.54 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2748/0.2761, allocations: 140.4 MB / 0.9511 GB, free: 8.074 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.02953/0.3056, allocations: 29.34 MB / 0.9798 GB, free: 10.62 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.009928/0.3156, allocations: 6.87 MB / 0.9865 GB, free: 3.734 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001214/0.3168, allocations: 43.69 kB / 0.9865 GB, free: 3.691 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.00145/0.3184, allocations: 0.6992 MB / 0.9872 GB, free: 2.988 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.003285/0.3217, allocations: 1.45 MB / 0.9886 GB, free: 1.531 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.002652/0.3243, allocations: 1.156 MB / 0.9897 GB, free: 392 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.002804/0.3271, allocations: 2.473 MB / 0.9922 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009765/0.3281, allocations: 0.8059 MB / 0.9929 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001535/0.3297, allocations: 1.012 MB / 0.9939 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008755/0.3306, allocations: 0.8091 MB / 0.9947 GB, free: 11.25 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0001008/0.3307, allocations: 68 kB / 0.9948 GB, free: 11.19 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001636/0.3323, allocations: 0.8187 MB / 0.9956 GB, free: 10.37 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0002456/0.3326, allocations: 275 kB / 0.9958 GB, free: 10.1 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0004897/0.3331, allocations: 0.5515 MB / 0.9964 GB, free: 9.543 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.001774/0.3349, allocations: 1.616 MB / 0.998 GB, free: 7.922 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.3349, allocations: 0 / 0.998 GB, free: 7.922 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.272e-06/0.3349, allocations: 3.938 kB / 0.998 GB, free: 7.918 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.193e-05/0.3349, allocations: 0 / 0.998 GB, free: 7.918 MB / 0.7794 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.002399/0.3373, allocations: 1.567 MB / 0.9995 GB, free: 6.293 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.34e-05/0.3374, allocations: 12.03 kB / 0.9995 GB, free: 6.281 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003232/0.3406, allocations: 0.5845 MB / 1 GB, free: 5.695 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001404/0.342, allocations: 0.868 MB / 1.001 GB, free: 4.773 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.109e-05/0.3421, allocations: 62.36 kB / 1.001 GB, free: 4.711 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001261/0.3422, allocations: 75.94 kB / 1.001 GB, free: 4.637 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002279/0.3445, allocations: 1.096 MB / 1.002 GB, free: 3.461 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.186e-05/0.3445, allocations: 4 kB / 1.002 GB, free: 3.457 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.157e-05/0.3446, allocations: 35.98 kB / 1.002 GB, free: 3.422 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.983e-05/0.3446, allocations: 16 kB / 1.002 GB, free: 3.406 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002867/0.3475, allocations: 1.008 MB / 1.003 GB, free: 2.395 MB / 0.7794 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.005417/0.3529, allocations: 4.928 MB / 1.008 GB, free: 13.18 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002827/0.3558, allocations: 0.9043 MB / 1.009 GB, free: 12.26 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001383/0.3572, allocations: 494.2 kB / 1.009 GB, free: 11.78 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001327/0.3585, allocations: 1.587 MB / 1.011 GB, free: 9.84 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001587/0.3601, allocations: 0.5768 MB / 1.011 GB, free: 9.254 MB / 0.795 GB Notification: Performance of pre-optimization done (n=61): time 4.088e-06/0.3601, allocations: 0 / 1.011 GB, free: 9.254 MB / 0.795 GB Notification: Performance of matching and sorting (n=61): time 0.004523/0.3647, allocations: 1.489 MB / 1.013 GB, free: 7.758 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.591e-05/0.3647, allocations: 59.97 kB / 1.013 GB, free: 7.688 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001414/0.3661, allocations: 1.116 MB / 1.014 GB, free: 6.559 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 7.363e-05/0.3662, allocations: 41.64 kB / 1.014 GB, free: 6.512 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004202/0.3667, allocations: 0.5512 MB / 1.015 GB, free: 5.953 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001915/0.3669, allocations: 205.1 kB / 1.015 GB, free: 5.75 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002853/0.3671, allocations: 166.5 kB / 1.015 GB, free: 5.582 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001264/0.3673, allocations: 334 kB / 1.015 GB, free: 5.25 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001373/0.3687, allocations: 449.6 kB / 1.016 GB, free: 4.809 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001563/0.3702, allocations: 0.7164 MB / 1.016 GB, free: 3.98 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002846/0.3731, allocations: 1.117 MB / 1.018 GB, free: 2.754 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.967e-06/0.3731, allocations: 0 / 1.018 GB, free: 2.754 MB / 0.795 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.003427/0.3765, allocations: 1.282 MB / 1.019 GB, free: 1.469 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.295e-05/0.3766, allocations: 8 kB / 1.019 GB, free: 1.461 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.49e-05/0.3766, allocations: 8 kB / 1.019 GB, free: 1.453 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.905e-05/0.3766, allocations: 12 kB / 1.019 GB, free: 1.441 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001201/0.3778, allocations: 272.1 kB / 1.019 GB, free: 1.176 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.365e-05/0.3779, allocations: 15.94 kB / 1.019 GB, free: 1.16 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0012/0.3791, allocations: 186.8 kB / 1.019 GB, free: 0.9766 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001086/0.3792, allocations: 43.98 kB / 1.019 GB, free: 0.9336 MB / 0.795 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.00048/0.3797, allocations: 297.7 kB / 1.02 GB, free: 0.6328 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002272/0.3799, allocations: 118.5 kB / 1.02 GB, free: 0.5156 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003706/0.3836, allocations: 1.367 MB / 1.021 GB, free: 15.14 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.24e-05/0.3837, allocations: 15.98 kB / 1.021 GB, free: 15.13 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.592e-06/0.3837, allocations: 0 / 1.021 GB, free: 15.13 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.003e-05/0.3837, allocations: 3.984 kB / 1.021 GB, free: 15.12 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004988/0.3887, allocations: 2.374 MB / 1.023 GB, free: 12.68 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.123e-05/0.3887, allocations: 0 / 1.023 GB, free: 12.68 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001015/0.3897, allocations: 187.9 kB / 1.024 GB, free: 12.49 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.296e-05/0.3898, allocations: 4 kB / 1.024 GB, free: 12.49 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.439e-05/0.3898, allocations: 27.97 kB / 1.024 GB, free: 12.46 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.324e-06/0.3899, allocations: 8 kB / 1.024 GB, free: 12.45 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.3899, allocations: 3.938 kB / 1.024 GB, free: 12.45 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004861/0.3947, allocations: 1.973 MB / 1.026 GB, free: 10.44 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004614/0.3952, allocations: 267.4 kB / 1.026 GB, free: 10.16 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001916/0.3954, allocations: 20 kB / 1.026 GB, free: 10.14 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009655/0.3964, allocations: 107.9 kB / 1.026 GB, free: 10.03 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001166/0.3965, allocations: 56.38 kB / 1.026 GB, free: 9.977 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.909e-05/0.3966, allocations: 35.97 kB / 1.026 GB, free: 9.941 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.000993/0.3976, allocations: 0.7638 MB / 1.027 GB, free: 9.172 MB / 0.8106 GB Notification: Performance of sort global known variables: time 2.61e-07/0.3976, allocations: 0 / 1.027 GB, free: 9.172 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.00109/0.3987, allocations: 347.5 kB / 1.027 GB, free: 8.832 MB / 0.8106 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.00161/0.4003, allocations: 0.664 MB / 1.028 GB, free: 8.328 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.003286/0.4036, allocations: 1.11 MB / 1.029 GB, free: 7.219 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 4.047e-06/0.4036, allocations: 4 kB / 1.029 GB, free: 7.215 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.001582/0.4052, allocations: 0.5736 MB / 1.029 GB, free: 6.645 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002013/0.4072, allocations: 455.9 kB / 1.03 GB, free: 6.207 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004936/0.4122, allocations: 2.326 MB / 1.032 GB, free: 3.832 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007626/0.413, allocations: 1.108 MB / 1.033 GB, free: 2.695 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0009139/0.4139, allocations: 248.6 kB / 1.033 GB, free: 2.449 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003249/0.4142, allocations: 107.4 kB / 1.033 GB, free: 2.344 MB / 0.8106 GB Notification: Performance of SimCode: time 6.41e-07/0.4142, allocations: 0 / 1.033 GB, free: 2.344 MB / 0.8106 GB Notification: Performance of Templates: time 0.03521/0.4495, allocations: 19.86 MB / 1.053 GB, free: 14.77 MB / 0.8419 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 -s gbode -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/jenkins1/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