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.001444/0.001444, allocations: 105.7 kB / 16.27 MB, free: 6.414 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.001407/0.001407, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.397/1.397, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.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.242/2.242, allocations: 390.3 MB / 0.6653 GB, free: 0.6992 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001452/0.001452, allocations: 66.45 kB / 0.8132 GB, free: 33.18 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2902/0.2917, allocations: 140.4 MB / 0.9503 GB, free: 8.895 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.03258/0.3243, allocations: 29.34 MB / 0.9789 GB, free: 11.45 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.01094/0.3353, allocations: 6.878 MB / 0.9856 GB, free: 4.547 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00142/0.3368, allocations: 51.69 kB / 0.9857 GB, free: 4.496 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.00181/0.3387, allocations: 0.6875 MB / 0.9863 GB, free: 3.805 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.003994/0.3427, allocations: 1.446 MB / 0.9878 GB, free: 2.352 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.003074/0.3458, allocations: 1.164 MB / 0.9889 GB, free: 1.195 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.003162/0.349, allocations: 2.458 MB / 0.9913 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001343/0.3503, allocations: 0.8023 MB / 0.9921 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001913/0.3523, allocations: 1.012 MB / 0.9931 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001419/0.3537, allocations: 0.8208 MB / 0.9939 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0002411/0.3539, allocations: 64 kB / 0.9939 GB, free: 12.01 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001908/0.3559, allocations: 0.8149 MB / 0.9947 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.000398/0.3563, allocations: 274.9 kB / 0.995 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0008273/0.3571, allocations: 0.5437 MB / 0.9955 GB, free: 10.38 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.00256/0.3597, allocations: 1.593 MB / 0.9971 GB, free: 8.781 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/0.3597, allocations: 0 / 0.9971 GB, free: 8.781 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.363e-06/0.3597, allocations: 4 kB / 0.9971 GB, free: 8.777 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.374e-05/0.3598, allocations: 0 / 0.9971 GB, free: 8.777 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.003073/0.3628, allocations: 1.562 MB / 0.9986 GB, free: 7.156 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.027e-05/0.3629, allocations: 12.03 kB / 0.9986 GB, free: 7.145 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003632/0.3665, allocations: 0.5845 MB / 0.9992 GB, free: 6.559 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001362/0.3679, allocations: 0.8056 MB / 1 GB, free: 5.699 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.53e-05/0.368, allocations: 58.36 kB / 1 GB, free: 5.641 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001491/0.3681, allocations: 75.94 kB / 1 GB, free: 5.566 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002548/0.3707, allocations: 1.099 MB / 1.001 GB, free: 4.387 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.986e-05/0.3707, allocations: 3.938 kB / 1.001 GB, free: 4.383 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.45e-05/0.3708, allocations: 28 kB / 1.001 GB, free: 4.355 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.694e-05/0.3708, allocations: 20 kB / 1.001 GB, free: 4.336 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003279/0.3741, allocations: 1.008 MB / 1.002 GB, free: 3.328 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.006026/0.3802, allocations: 4.959 MB / 1.007 GB, free: 14.08 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003013/0.3832, allocations: 0.9038 MB / 1.008 GB, free: 13.16 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001484/0.3847, allocations: 488.4 kB / 1.008 GB, free: 12.68 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001473/0.3862, allocations: 1.592 MB / 1.01 GB, free: 10.74 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001692/0.3879, allocations: 0.5728 MB / 1.011 GB, free: 10.16 MB / 0.795 GB Notification: Performance of pre-optimization done (n=61): time 3.096e-06/0.3879, allocations: 0 / 1.011 GB, free: 10.16 MB / 0.795 GB Notification: Performance of matching and sorting (n=61): time 0.004909/0.3928, allocations: 1.489 MB / 1.012 GB, free: 8.664 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.5e-05/0.3929, allocations: 59.91 kB / 1.012 GB, free: 8.594 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001471/0.3944, allocations: 1.116 MB / 1.013 GB, free: 7.465 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 7.881e-05/0.3944, allocations: 41.7 kB / 1.013 GB, free: 7.418 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004733/0.3949, allocations: 0.5434 MB / 1.014 GB, free: 6.867 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002168/0.3951, allocations: 213.1 kB / 1.014 GB, free: 6.656 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002681/0.3954, allocations: 158.5 kB / 1.014 GB, free: 6.496 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001391/0.3956, allocations: 338 kB / 1.014 GB, free: 6.16 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001488/0.3971, allocations: 449.6 kB / 1.015 GB, free: 5.719 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001676/0.3988, allocations: 0.7125 MB / 1.015 GB, free: 4.891 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003107/0.4019, allocations: 1.124 MB / 1.017 GB, free: 3.656 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.268e-06/0.4019, allocations: 4 kB / 1.017 GB, free: 3.652 MB / 0.795 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.003747/0.4056, allocations: 1.27 MB / 1.018 GB, free: 2.379 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.491e-05/0.4057, allocations: 8 kB / 1.018 GB, free: 2.371 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.498e-05/0.4057, allocations: 8 kB / 1.018 GB, free: 2.363 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.784e-05/0.4057, allocations: 12 kB / 1.018 GB, free: 2.352 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00124/0.407, allocations: 276.2 kB / 1.018 GB, free: 2.082 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.431e-05/0.407, allocations: 15.94 kB / 1.018 GB, free: 2.066 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001215/0.4082, allocations: 186.8 kB / 1.018 GB, free: 1.883 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001143/0.4084, allocations: 55.91 kB / 1.018 GB, free: 1.828 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.0005109/0.4089, allocations: 293.7 kB / 1.019 GB, free: 1.531 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002758/0.4092, allocations: 122.5 kB / 1.019 GB, free: 1.41 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004013/0.4132, allocations: 1.359 MB / 1.02 GB, free: 48 kB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.202e-05/0.4132, allocations: 15.98 kB / 1.02 GB, free: 32 kB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.522e-06/0.4133, allocations: 0 / 1.02 GB, free: 32 kB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.118e-05/0.4133, allocations: 3.984 kB / 1.02 GB, free: 28 kB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00543/0.4187, allocations: 2.382 MB / 1.022 GB, free: 13.57 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.326e-06/0.4187, allocations: 0 / 1.022 GB, free: 13.57 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001057/0.4198, allocations: 187.9 kB / 1.023 GB, free: 13.39 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.675e-05/0.4198, allocations: 4 kB / 1.023 GB, free: 13.38 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.011e-05/0.4199, allocations: 27.91 kB / 1.023 GB, free: 13.36 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.096e-06/0.4199, allocations: 4 kB / 1.023 GB, free: 13.35 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.89e-06/0.4199, allocations: 4 kB / 1.023 GB, free: 13.35 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005267/0.4252, allocations: 1.977 MB / 1.025 GB, free: 11.33 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005287/0.4258, allocations: 271.4 kB / 1.025 GB, free: 11.05 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002443/0.426, allocations: 16 kB / 1.025 GB, free: 11.03 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001005/0.427, allocations: 103.9 kB / 1.025 GB, free: 10.93 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001186/0.4272, allocations: 56.44 kB / 1.025 GB, free: 10.88 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.068e-05/0.4273, allocations: 32.06 kB / 1.025 GB, free: 10.84 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.001109/0.4284, allocations: 0.7638 MB / 1.026 GB, free: 10.07 MB / 0.8106 GB Notification: Performance of sort global known variables: time 4.31e-07/0.4284, allocations: 0 / 1.026 GB, free: 10.07 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.001238/0.4296, allocations: 347.6 kB / 1.026 GB, free: 9.734 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.001613/0.4313, allocations: 0.6538 MB / 1.027 GB, free: 9.238 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.003882/0.4352, allocations: 1.192 MB / 1.028 GB, free: 8.047 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 4.368e-06/0.4352, allocations: 7.875 kB / 1.028 GB, free: 8.039 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.001754/0.4369, allocations: 0.5736 MB / 1.028 GB, free: 7.469 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002343/0.4393, allocations: 459.7 kB / 1.029 GB, free: 7.035 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005321/0.4446, allocations: 2.398 MB / 1.031 GB, free: 4.582 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007562/0.4454, allocations: 1.104 MB / 1.032 GB, free: 3.449 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004397/0.4459, allocations: 123.4 kB / 1.032 GB, free: 3.328 MB / 0.8106 GB Notification: Performance of SimCode: time 4.81e-07/0.4459, allocations: 0 / 1.032 GB, free: 3.328 MB / 0.8106 GB Notification: Performance of Templates: time 0.03024/0.4761, allocations: 19 MB / 1.051 GB, free: 0.4961 MB / 0.8262 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