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.001551/0.001551, allocations: 100.1 kB / 15.88 MB, free: 12 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.001527/0.001527, allocations: 197.7 kB / 16.79 MB, free: 6.809 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.5 MB, free: 4.586 MB / 190.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.376/2.376, allocations: 390.2 MB / 0.6649 GB, free: 0.6172 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00158/0.00158, allocations: 63.91 kB / 0.8125 GB, free: 14.89 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7319/0.7335, allocations: 140.3 MB / 0.9496 GB, free: 9.168 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.02589/0.7594, allocations: 29.19 MB / 0.9781 GB, free: 1.77 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.01029/0.7697, allocations: 6.902 MB / 0.9848 GB, free: 12.18 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002021/0.7718, allocations: 43.09 kB / 0.9849 GB, free: 12.16 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.001717/0.7736, allocations: 0.5923 MB / 0.9854 GB, free: 11.74 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.004155/0.7778, allocations: 1.353 MB / 0.9868 GB, free: 10.7 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.002957/0.7807, allocations: 1.038 MB / 0.9878 GB, free: 9.953 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.003961/0.7847, allocations: 3.217 MB / 0.9909 GB, free: 7.695 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001102/0.7858, allocations: 0.7289 MB / 0.9916 GB, free: 6.953 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001786/0.7876, allocations: 0.9373 MB / 0.9925 GB, free: 6.012 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001005/0.7886, allocations: 0.8363 MB / 0.9934 GB, free: 5.172 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0001085/0.7888, allocations: 44 kB / 0.9934 GB, free: 5.129 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001908/0.7907, allocations: 0.76 MB / 0.9941 GB, free: 4.367 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0002598/0.7909, allocations: 258.9 kB / 0.9944 GB, free: 4.113 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0005332/0.7915, allocations: 0.5319 MB / 0.9949 GB, free: 3.578 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.001295/0.7928, allocations: 1.13 MB / 0.996 GB, free: 2.445 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.7928, allocations: 4 kB / 0.996 GB, free: 2.441 MB / 0.7481 GB Notification: Performance of FrontEnd: time 9.92e-07/0.7928, allocations: 0 / 0.996 GB, free: 2.441 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 1.086e-05/0.7928, allocations: 4 kB / 0.996 GB, free: 2.438 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.002574/0.7954, allocations: 1.558 MB / 0.9975 GB, free: 0.8203 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.911e-05/0.7955, allocations: 16.02 kB / 0.9976 GB, free: 0.8047 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003691/0.7992, allocations: 0.5807 MB / 0.9981 GB, free: 228 kB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001181/0.8004, allocations: 0.8017 MB / 0.9989 GB, free: 15.37 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.215e-05/0.8004, allocations: 58.38 kB / 0.999 GB, free: 15.31 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001273/0.8006, allocations: 83.83 kB / 0.999 GB, free: 15.23 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002357/0.8029, allocations: 1.099 MB / 1 GB, free: 14.05 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.007e-05/0.803, allocations: 3.984 kB / 1 GB, free: 14.04 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.977e-05/0.803, allocations: 32 kB / 1 GB, free: 14.01 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.806e-05/0.8031, allocations: 20 kB / 1 GB, free: 13.99 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002917/0.806, allocations: 1.004 MB / 1.001 GB, free: 12.98 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.005639/0.8116, allocations: 4.928 MB / 1.006 GB, free: 7.77 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002826/0.8145, allocations: 0.9087 MB / 1.007 GB, free: 6.855 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001403/0.8159, allocations: 486.5 kB / 1.007 GB, free: 6.375 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001346/0.8173, allocations: 1.587 MB / 1.009 GB, free: 4.438 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001623/0.8189, allocations: 0.5845 MB / 1.009 GB, free: 3.84 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=61): time 3.216e-06/0.8189, allocations: 0 / 1.009 GB, free: 3.84 MB / 0.7637 GB Notification: Performance of matching and sorting (n=61): time 0.004592/0.8235, allocations: 1.477 MB / 1.011 GB, free: 2.355 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.73e-05/0.8236, allocations: 63.97 kB / 1.011 GB, free: 2.281 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001316/0.8249, allocations: 1.116 MB / 1.012 GB, free: 1.152 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 7.473e-05/0.825, allocations: 41.64 kB / 1.012 GB, free: 1.105 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003998/0.8254, allocations: 0.5511 MB / 1.013 GB, free: 0.5469 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001847/0.8256, allocations: 201.2 kB / 1.013 GB, free: 356 kB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002474/0.8258, allocations: 166.5 kB / 1.013 GB, free: 184 kB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001291/0.826, allocations: 341.9 kB / 1.013 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001352/0.8273, allocations: 445.6 kB / 1.014 GB, free: 15.4 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001558/0.8289, allocations: 0.7164 MB / 1.014 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002776/0.8317, allocations: 1.124 MB / 1.016 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.3e-06/0.8317, allocations: 4 kB / 1.016 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.003366/0.8351, allocations: 1.27 MB / 1.017 GB, free: 12.06 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.669e-05/0.8351, allocations: 10.03 kB / 1.017 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.289e-05/0.8351, allocations: 8 kB / 1.017 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.439e-05/0.8352, allocations: 12 kB / 1.017 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001171/0.8364, allocations: 267.9 kB / 1.017 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.82e-05/0.8364, allocations: 15.92 kB / 1.017 GB, free: 11.76 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001228/0.8376, allocations: 214.9 kB / 1.017 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.535e-05/0.8377, allocations: 43.98 kB / 1.017 GB, free: 11.5 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.0004908/0.8382, allocations: 296.2 kB / 1.018 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001769/0.8384, allocations: 122.5 kB / 1.018 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00362/0.842, allocations: 1.367 MB / 1.019 GB, free: 9.711 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.9e-05/0.8421, allocations: 8 kB / 1.019 GB, free: 9.703 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.193e-06/0.8421, allocations: 3.984 kB / 1.019 GB, free: 9.699 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.832e-06/0.8421, allocations: 0 / 1.019 GB, free: 9.699 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004714/0.8468, allocations: 2.374 MB / 1.021 GB, free: 7.25 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.526e-06/0.8468, allocations: 3.984 kB / 1.021 GB, free: 7.246 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009715/0.8478, allocations: 191.9 kB / 1.022 GB, free: 7.059 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.905e-06/0.8478, allocations: 4 kB / 1.022 GB, free: 7.055 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.55e-05/0.8479, allocations: 27.97 kB / 1.022 GB, free: 7.027 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.744e-06/0.8479, allocations: 7.938 kB / 1.022 GB, free: 7.02 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.8479, allocations: 4 kB / 1.022 GB, free: 7.016 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004783/0.8527, allocations: 1.977 MB / 1.024 GB, free: 5.004 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004861/0.8532, allocations: 275.2 kB / 1.024 GB, free: 4.715 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001557/0.8534, allocations: 20 kB / 1.024 GB, free: 4.695 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009291/0.8543, allocations: 115.9 kB / 1.024 GB, free: 4.582 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001141/0.8544, allocations: 56.42 kB / 1.024 GB, free: 4.527 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.735e-05/0.8545, allocations: 31.97 kB / 1.024 GB, free: 4.496 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0009091/0.8554, allocations: 0.7677 MB / 1.025 GB, free: 3.723 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8554, allocations: 0 / 1.025 GB, free: 3.723 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.001091/0.8565, allocations: 343.6 kB / 1.025 GB, free: 3.387 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.001472/0.858, allocations: 0.6572 MB / 1.026 GB, free: 2.887 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.003279/0.8613, allocations: 1.107 MB / 1.027 GB, free: 1.777 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 4.088e-06/0.8613, allocations: 0 / 1.027 GB, free: 1.777 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.00159/0.8629, allocations: 0.5697 MB / 1.027 GB, free: 1.211 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001979/0.8649, allocations: 435.2 kB / 1.028 GB, free: 0.7852 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005025/0.8699, allocations: 2.771 MB / 1.03 GB, free: 13.96 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006201/0.8706, allocations: 1.1 MB / 1.032 GB, free: 12.83 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004602/0.8711, allocations: 115.3 kB / 1.032 GB, free: 12.72 MB / 0.795 GB Notification: Performance of SimCode: time 6.11e-07/0.8711, allocations: 0 / 1.032 GB, free: 12.72 MB / 0.795 GB Notification: Performance of Templates: time 0.0289/0.9, allocations: 19.01 MB / 1.05 GB, free: 9.883 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/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