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.001452/0.001452, allocations: 108.7 kB / 15.99 MB, free: 6.359 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.001669/0.001669, allocations: 191.2 kB / 16.91 MB, free: 6.195 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.387/1.387, allocations: 222.9 MB / 240.6 MB, free: 15.43 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.235/2.235, allocations: 390.2 MB / 0.665 GB, free: 0.9297 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001292/0.001292, allocations: 68.53 kB / 0.8127 GB, free: 33.21 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2817/0.283, allocations: 140.4 MB / 0.9498 GB, free: 9.273 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.03339/0.3164, allocations: 29.12 MB / 0.9782 GB, free: 12.05 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.01062/0.3271, allocations: 6.839 MB / 0.9849 GB, free: 5.188 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001692/0.3289, allocations: 43.69 kB / 0.9849 GB, free: 5.145 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.001667/0.3306, allocations: 0.6105 MB / 0.9855 GB, free: 4.531 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.004296/0.3349, allocations: 1.365 MB / 0.9869 GB, free: 3.164 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.003109/0.338, allocations: 1.045 MB / 0.9879 GB, free: 2.125 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0033/0.3413, allocations: 2.492 MB / 0.9903 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001164/0.3425, allocations: 0.8138 MB / 0.9911 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001909/0.3444, allocations: 1.023 MB / 0.9921 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001122/0.3456, allocations: 0.852 MB / 0.9929 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.00012/0.3457, allocations: 68 kB / 0.993 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001883/0.3476, allocations: 0.8264 MB / 0.9938 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0002983/0.3479, allocations: 282.9 kB / 0.9941 GB, free: 11.74 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0006018/0.3485, allocations: 0.5553 MB / 0.9946 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.001652/0.3502, allocations: 1.15 MB / 0.9957 GB, free: 10.03 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/0.3502, allocations: 4 kB / 0.9957 GB, free: 10.03 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.194e-06/0.3502, allocations: 0 / 0.9957 GB, free: 10.03 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.801e-05/0.3502, allocations: 0 / 0.9957 GB, free: 10.03 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.002544/0.3528, allocations: 1.562 MB / 0.9973 GB, free: 8.406 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.701e-05/0.3528, allocations: 12.02 kB / 0.9973 GB, free: 8.395 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003427/0.3563, allocations: 0.5885 MB / 0.9979 GB, free: 7.805 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001235/0.3575, allocations: 0.8056 MB / 0.9986 GB, free: 6.945 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.405e-05/0.3576, allocations: 54.38 kB / 0.9987 GB, free: 6.891 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000135/0.3577, allocations: 83.92 kB / 0.9988 GB, free: 6.809 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002393/0.3601, allocations: 1.096 MB / 0.9998 GB, free: 5.633 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.145e-05/0.3602, allocations: 7.938 kB / 0.9998 GB, free: 5.625 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.718e-05/0.3602, allocations: 28 kB / 0.9999 GB, free: 5.598 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.915e-05/0.3603, allocations: 24 kB / 0.9999 GB, free: 5.574 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002864/0.3631, allocations: 0.9962 MB / 1.001 GB, free: 4.574 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.006171/0.3693, allocations: 4.939 MB / 1.006 GB, free: 15.34 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002993/0.3723, allocations: 0.9136 MB / 1.007 GB, free: 14.43 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001393/0.3737, allocations: 483.1 kB / 1.007 GB, free: 13.95 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001443/0.3752, allocations: 1.595 MB / 1.009 GB, free: 12 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001661/0.3769, allocations: 0.5728 MB / 1.009 GB, free: 11.42 MB / 0.795 GB Notification: Performance of pre-optimization done (n=61): time 3.035e-06/0.3769, allocations: 0 / 1.009 GB, free: 11.42 MB / 0.795 GB Notification: Performance of matching and sorting (n=61): time 0.004724/0.3816, allocations: 1.481 MB / 1.011 GB, free: 9.93 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.727e-05/0.3817, allocations: 55.97 kB / 1.011 GB, free: 9.863 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001559/0.3833, allocations: 1.124 MB / 1.012 GB, free: 8.727 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 9.839e-05/0.3834, allocations: 41.7 kB / 1.012 GB, free: 8.68 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004842/0.3839, allocations: 0.5434 MB / 1.012 GB, free: 8.129 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002143/0.3841, allocations: 209.1 kB / 1.013 GB, free: 7.922 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002883/0.3844, allocations: 158.5 kB / 1.013 GB, free: 7.762 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001243/0.3845, allocations: 341.9 kB / 1.013 GB, free: 7.422 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00142/0.3859, allocations: 445.6 kB / 1.013 GB, free: 6.984 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001673/0.3876, allocations: 0.7242 MB / 1.014 GB, free: 6.148 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002911/0.3905, allocations: 1.117 MB / 1.015 GB, free: 4.926 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-05/0.3906, allocations: 4 kB / 1.015 GB, free: 4.922 MB / 0.795 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.003809/0.3944, allocations: 1.282 MB / 1.016 GB, free: 3.633 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.894e-05/0.3944, allocations: 8 kB / 1.016 GB, free: 3.625 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.675e-05/0.3945, allocations: 8 kB / 1.017 GB, free: 3.617 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.933e-05/0.3945, allocations: 12 kB / 1.017 GB, free: 3.605 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001231/0.3957, allocations: 264 kB / 1.017 GB, free: 3.348 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.217e-05/0.3958, allocations: 19.92 kB / 1.017 GB, free: 3.328 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001631/0.3974, allocations: 202.9 kB / 1.017 GB, free: 3.129 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000127/0.3976, allocations: 43.98 kB / 1.017 GB, free: 3.086 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.0006616/0.3982, allocations: 299.6 kB / 1.017 GB, free: 2.781 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003364/0.3986, allocations: 118.5 kB / 1.017 GB, free: 2.664 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004012/0.4026, allocations: 1.367 MB / 1.019 GB, free: 1.289 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.106e-05/0.4026, allocations: 12 kB / 1.019 GB, free: 1.277 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.728e-06/0.4026, allocations: 3.984 kB / 1.019 GB, free: 1.273 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.067e-06/0.4027, allocations: 0 / 1.019 GB, free: 1.273 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005625/0.4083, allocations: 2.362 MB / 1.021 GB, free: 14.84 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.495e-05/0.4083, allocations: 12.02 kB / 1.021 GB, free: 14.82 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001047/0.4094, allocations: 179.8 kB / 1.021 GB, free: 14.65 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.352e-05/0.4094, allocations: 7.938 kB / 1.021 GB, free: 14.64 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.239e-05/0.4095, allocations: 31.97 kB / 1.021 GB, free: 14.61 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.037e-06/0.4095, allocations: 4 kB / 1.021 GB, free: 14.61 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.4095, allocations: 0 / 1.021 GB, free: 14.61 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005185/0.4147, allocations: 1.981 MB / 1.023 GB, free: 12.59 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006084/0.4153, allocations: 275.3 kB / 1.023 GB, free: 12.3 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002682/0.4156, allocations: 16 kB / 1.024 GB, free: 12.29 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001124/0.4168, allocations: 116 kB / 1.024 GB, free: 12.17 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000134/0.4169, allocations: 64.34 kB / 1.024 GB, free: 12.11 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.683e-05/0.417, allocations: 39.97 kB / 1.024 GB, free: 12.07 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.001244/0.4182, allocations: 0.7638 MB / 1.024 GB, free: 11.3 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.61e-07/0.4183, allocations: 3.938 kB / 1.024 GB, free: 11.3 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.001468/0.4197, allocations: 343.6 kB / 1.025 GB, free: 10.96 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.00185/0.4216, allocations: 0.6601 MB / 1.025 GB, free: 10.46 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.003794/0.4254, allocations: 1.177 MB / 1.027 GB, free: 9.285 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 5.561e-06/0.4254, allocations: 4.188 kB / 1.027 GB, free: 9.281 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.001721/0.4271, allocations: 0.5812 MB / 1.027 GB, free: 8.703 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002395/0.4296, allocations: 456.1 kB / 1.028 GB, free: 8.27 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005763/0.4353, allocations: 2.765 MB / 1.03 GB, free: 5.449 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008716/0.4362, allocations: 1.104 MB / 1.031 GB, free: 4.316 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004582/0.4367, allocations: 115.4 kB / 1.031 GB, free: 4.203 MB / 0.8106 GB Notification: Performance of SimCode: time 8.71e-07/0.4367, allocations: 0 / 1.031 GB, free: 4.203 MB / 0.8106 GB Notification: Performance of Templates: time 0.03171/0.4684, allocations: 19.01 MB / 1.05 GB, free: 1.359 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