Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater.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.MixingVolumes.Validation.CoupledVolumesWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.p|vol1.p|vol.T|vol1.T",fileNamePrefix="Buildings_9_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater") translateModel(Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.p|vol1.p|vol.T|vol1.T",fileNamePrefix="Buildings_9_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001554/0.001554, allocations: 116.2 kB / 16.37 MB, free: 6.004 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.001748/0.001748, allocations: 192.8 kB / 17.31 MB, free: 5.613 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.34/1.34, allocations: 222.9 MB / 241 MB, free: 15.15 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.194/2.194, allocations: 390.3 MB / 0.6655 GB, free: 0.5508 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001213/0.001213, allocations: 64 kB / 0.814 GB, free: 32.64 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2465/0.2477, allocations: 140.4 MB / 0.9511 GB, free: 8.062 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater): time 0.02716/0.2749, allocations: 26.28 MB / 0.9768 GB, free: 13.68 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.01023/0.2852, allocations: 7.135 MB / 0.9838 GB, free: 6.531 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001675/0.2869, allocations: 39.75 kB / 0.9838 GB, free: 6.492 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.001145/0.2881, allocations: 381.5 kB / 0.9842 GB, free: 6.117 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.003336/0.2914, allocations: 1.116 MB / 0.9852 GB, free: 4.996 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.002569/0.294, allocations: 0.9537 MB / 0.9862 GB, free: 4.051 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.002911/0.2969, allocations: 2.085 MB / 0.9882 GB, free: 1.957 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001036/0.298, allocations: 0.6137 MB / 0.9888 GB, free: 1.332 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002117/0.3001, allocations: 0.7271 MB / 0.9895 GB, free: 0.6094 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009866/0.3011, allocations: 0.5366 MB / 0.99 GB, free: 72 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 9.175e-05/0.3012, allocations: 56 kB / 0.9901 GB, free: 16 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001792/0.303, allocations: 0.811 MB / 0.9909 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.00019/0.3032, allocations: 175.4 kB / 0.9911 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.000366/0.3036, allocations: 374.2 kB / 0.9914 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.001445/0.3051, allocations: 1.207 MB / 0.9926 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.3051, allocations: 4 kB / 0.9926 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.633e-06/0.3051, allocations: 3.938 kB / 0.9926 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 9.528e-06/0.3051, allocations: 4 kB / 0.9926 GB, free: 13.44 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: 110 * Number of variables: 110 Notification: Performance of Generate backend data structure: time 0.001418/0.3065, allocations: 1.047 MB / 0.9936 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.535e-05/0.3066, allocations: 8.031 kB / 0.9936 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002922/0.3069, allocations: 91.98 kB / 0.9937 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001177/0.3081, allocations: 0.7374 MB / 0.9944 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.978e-05/0.3081, allocations: 40.88 kB / 0.9945 GB, free: 11.42 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.542e-05/0.3082, allocations: 47.98 kB / 0.9945 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007281/0.3089, allocations: 0.4962 MB / 0.995 GB, free: 10.85 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.835e-05/0.3089, allocations: 4 kB / 0.995 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.528e-05/0.309, allocations: 19.98 kB / 0.995 GB, free: 10.82 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.615e-05/0.309, allocations: 19.88 kB / 0.9951 GB, free: 10.8 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005005/0.3095, allocations: 319.8 kB / 0.9954 GB, free: 10.49 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.002651/0.3122, allocations: 2.756 MB / 0.9981 GB, free: 7.492 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000306/0.3125, allocations: 186.5 kB / 0.9982 GB, free: 7.301 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001406/0.3127, allocations: 100.8 kB / 0.9983 GB, free: 7.199 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002941/0.313, allocations: 340.4 kB / 0.9987 GB, free: 6.793 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.861e-05/0.313, allocations: 46.88 kB / 0.9987 GB, free: 6.738 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=22): time 1.964e-06/0.313, allocations: 0 / 0.9987 GB, free: 6.738 MB / 0.7794 GB Notification: Performance of matching and sorting (n=22): time 0.0005528/0.3136, allocations: 302.9 kB / 0.999 GB, free: 6.438 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.806e-05/0.3136, allocations: 55.41 kB / 0.999 GB, free: 6.371 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005572/0.3142, allocations: 0.5302 MB / 0.9996 GB, free: 5.832 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.063e-05/0.3142, allocations: 29.7 kB / 0.9996 GB, free: 5.797 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.000248/0.3145, allocations: 351.4 kB / 0.9999 GB, free: 5.445 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 7.243e-05/0.3146, allocations: 82.84 kB / 1 GB, free: 5.363 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001138/0.3147, allocations: 81.61 kB / 1 GB, free: 5.277 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001461/0.3148, allocations: 358.8 kB / 1 GB, free: 4.918 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001528/0.315, allocations: 104.7 kB / 1.001 GB, free: 4.812 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002379/0.3152, allocations: 222 kB / 1.001 GB, free: 4.531 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004086/0.3157, allocations: 352.9 kB / 1.001 GB, free: 4.133 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.3157, allocations: 0 / 1.001 GB, free: 4.133 MB / 0.7794 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.000571/0.3162, allocations: 392.4 kB / 1.001 GB, free: 3.742 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.711e-05/0.3163, allocations: 8.562 kB / 1.001 GB, free: 3.734 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.726e-06/0.3163, allocations: 4 kB / 1.001 GB, free: 3.73 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.816e-05/0.3163, allocations: 8 kB / 1.001 GB, free: 3.723 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002594/0.3166, allocations: 71.91 kB / 1.002 GB, free: 3.652 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.219e-05/0.3166, allocations: 11.94 kB / 1.002 GB, free: 3.641 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003266/0.3169, allocations: 39.67 kB / 1.002 GB, free: 3.602 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.256e-05/0.317, allocations: 20 kB / 1.002 GB, free: 3.582 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002914/0.3173, allocations: 244 kB / 1.002 GB, free: 3.34 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002313/0.3175, allocations: 238.6 kB / 1.002 GB, free: 3.043 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003682/0.3179, allocations: 340.8 kB / 1.002 GB, free: 2.652 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.813e-06/0.3179, allocations: 0 / 1.002 GB, free: 2.652 MB / 0.7794 GB Notification: Performance of matching and sorting (n=44) (initialization_lambda0): time 0.0005289/0.3184, allocations: 391.4 kB / 1.003 GB, free: 2.266 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 9.939e-06/0.3184, allocations: 8 kB / 1.003 GB, free: 2.258 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.3185, allocations: 4 kB / 1.003 GB, free: 2.254 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.721e-05/0.3185, allocations: 4 kB / 1.003 GB, free: 2.25 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002789/0.3188, allocations: 75.84 kB / 1.003 GB, free: 2.176 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.927e-06/0.3188, allocations: 15.88 kB / 1.003 GB, free: 2.16 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003/0.3191, allocations: 39.72 kB / 1.003 GB, free: 2.121 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.837e-05/0.3191, allocations: 20 kB / 1.003 GB, free: 2.102 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (44): * Single equations (assignments): 44 * 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.0001157/0.3192, allocations: 208.1 kB / 1.003 GB, free: 1.891 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.666e-05/0.3193, allocations: 55.42 kB / 1.003 GB, free: 1.836 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004476/0.3198, allocations: 278.6 kB / 1.003 GB, free: 1.555 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.001e-05/0.3198, allocations: 7.938 kB / 1.003 GB, free: 1.547 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.67e-06/0.3198, allocations: 4 kB / 1.003 GB, free: 1.543 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003189/0.3202, allocations: 379.4 kB / 1.004 GB, free: 1.125 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001339/0.3215, allocations: 1.065 MB / 1.005 GB, free: 15.95 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.44e-06/0.3215, allocations: 4 kB / 1.005 GB, free: 15.95 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001993/0.3217, allocations: 48.2 kB / 1.005 GB, free: 15.9 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.289e-06/0.3217, allocations: 8 kB / 1.005 GB, free: 15.89 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.224e-05/0.3218, allocations: 11.98 kB / 1.005 GB, free: 15.88 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.68e-06/0.3218, allocations: 7.938 kB / 1.005 GB, free: 15.88 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.724e-06/0.3218, allocations: 0 / 1.005 GB, free: 15.88 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005831/0.3224, allocations: 0.5235 MB / 1.005 GB, free: 15.31 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002269/0.3226, allocations: 172.3 kB / 1.006 GB, free: 15.12 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.891e-05/0.3227, allocations: 8 kB / 1.006 GB, free: 15.11 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003286/0.323, allocations: 20.05 kB / 1.006 GB, free: 15.09 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.869e-05/0.3231, allocations: 27.91 kB / 1.006 GB, free: 15.07 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.611e-05/0.3231, allocations: 11.98 kB / 1.006 GB, free: 15.05 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0004237/0.3235, allocations: 411.1 kB / 1.006 GB, free: 14.65 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3235, allocations: 0 / 1.006 GB, free: 14.65 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.000989/0.3245, allocations: 351.3 kB / 1.006 GB, free: 14.3 MB / 0.795 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 2 (vol.dynBal.U,vol1.dynBal.U) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * 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.0006161/0.3252, allocations: 314.5 kB / 1.007 GB, free: 14.01 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0006088/0.3258, allocations: 410.4 kB / 1.007 GB, free: 13.61 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.3258, allocations: 0 / 1.007 GB, free: 13.61 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0001471/0.3259, allocations: 109.4 kB / 1.007 GB, free: 13.5 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001533/0.3275, allocations: 372.6 kB / 1.008 GB, free: 13.15 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001539/0.329, allocations: 1.088 MB / 1.009 GB, free: 12.01 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004343/0.3295, allocations: 0.8941 MB / 1.009 GB, free: 11.09 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0004459/0.3299, allocations: 149.1 kB / 1.01 GB, free: 10.94 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001037/0.33, allocations: 55.42 kB / 1.01 GB, free: 10.89 MB / 0.795 GB Notification: Performance of SimCode: time 4.61e-07/0.33, allocations: 3.938 kB / 1.01 GB, free: 10.88 MB / 0.795 GB Notification: Performance of Templates: time 0.0208/0.3509, allocations: 12.88 MB / 1.022 GB, free: 14.2 MB / 0.8106 GB make -j1 -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater.makefile (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater.sim & ./Buildings_9_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_MixingVolumes_Validation_CoupledVolumesWater.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches